[plug] default route problems

ryan at is.as.geeky.as ryan at is.as.geeky.as
Thu Jan 30 17:01:30 WST 2003


On Thu, 2003-01-30 at 15:50, Tim Bowden wrote:
> Hi all,
> 
> This should be a simple problem but I can't seem to find a solution.  On
> my rh8 box I have 2 nic's. eth1 has a static ip on subnet .1.0 while
> eth0 is set to use dhcp from the attached dlink 300+ cable modem.  It
> gets set to .0.2. Ok so far. Problem: the default route is being set to
> 192.168.0.254.  Where might this be set from?  I can't find it anywhere
> in /etc/sysconfig/*.  I have tried redhat-config-network but this only
> seems to allow ppp* devices to set a default route.  Any suggestions?

I'm probably completely missing the point here, however doesn't one normally
configure the DSL interface on the linux box to have no IP?   Then the PPPoE
client creates PPP0 and adds the correct default route for you, the DSL eth
interface *never* obtains an IP.

Trimmed from route:
-------------------
172.x.x.x   *               255.255.255.255 UH    0      0        0 ppp0
default         172.x.x.x   0.0.0.0         UG    0      0        0 ppp0

Nothing on my box assignes an IP to the DSL etho interface that's what makes
me wonder why you are trying to set it as if your modem is acting as a gateway
when you said it is in bridged mode.

So can turning off DHCP on the eth0 interface achieve anything?

Ryan



More information about the plug mailing list