[plug] default route problems

Trent Lloyd trent at ucc.gu.uwa.edu.au
Thu Jan 30 16:30:11 WST 2003


route add default dev <device>

route add default gw <gateway>

or with iproute2

ip route add default dev <dev>
or route add default via <address>


On Thu, Jan 30, 2003 at 04:28:24PM +0800, Tim Bowden wrote:
> On Thu, 2003-01-30 at 16:12, Mike Holland wrote:
> > On 30 Jan 2003, Tim Bowden wrote:
> > 
> > > 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.
> > 
> > Thats sounds OK.
> > 
> > >  Where might this be set from?  I can't find it anywhere
> > 
> >  From DHCP, on the modem. I expect 192.168.0.254 is the modem's address?
> > 
> > Dont you want a default-route to the modem?
> 
> No.  The modem is in bridging mode.  I am using pppoe on the pc.  My
> default route needs to be set to the ppp interface.
> > 
> > -- 
> >  "I do not think we can hope for any better things now. We shall stick it out
> > to the end, but we are getting weaker, of course, and the end cannot be far.
> > It seems a pity, but I do not think I can write more." - RF Scott
> > 
> > 
> 
> Tim Bowden
> 
> 



More information about the plug mailing list