[Wylug-help] system-config-network, DHCP and routes
Gary Stainburn
gary.stainburn at ringways.co.uk
Thu Apr 23 13:10:02 UTC 2009
On Thursday 23 April 2009 12:20:43 Jim Jackson wrote:
> On Wed, 22 Apr 2009, Gary Stainburn wrote:
> > Hi folks.
> >
> > My network has an FC9 box working as a gateway, with the network being
> > configured using system-config-network.
> >
> > As well as the LAN (eth0) I've got 2xADSL connections,
> >
> > one for normal internet traffic
> > eth1
> > static IP 192.168.1.1
> > default gw 192.168.1.254
> >
> > one for a VPN
> > eth2
> > DHCP 91.85.127.194
> > DHCP allocated gateway 212.104.130.193
> >
> > The problem is that when eth2 comes up, it overrides the 192.168.1.254
> > route and all traffic goes down that link.
> >
> > If I remove the DHCP and try adding the details statically, everything
> > works except the final route to the remote end of the VPN.
>
> The dhcp server is supplying a new default route, and the dhcp client is
> implementing it. Either re-configure the dhcp server to supply no default
> route, or use static.
>
You've hit the nail right on the head Jim.
However, two problems.
The DHCP server is built into the ADSL router and I cannot get it to not give
the default route.
When I try to do static routes I cannot add the route without getting the
error.
I can set the IP interface to eth2 no problem as 91.85.127.194
I can add the route to 212.104.130.193 on eth2, and can ping the IP address.
However, I cannot add a route to the remote site.
route add -net 77.86.27.0/26 gw 212.104.130.193
generates the error (From memory)
SIOC***: process does not exist
Gary
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
More information about the Wylug-help
mailing list