[techtalk] can't add default route.

Kristin Ziel zoop at sound.scc.net
Wed Nov 22 15:57:34 EST 2000


i was just reading over this again, and I am confused on one point.  YOu
are correct in that if my gateway is 194.200.10.xxx , then my eth0
interface should be 194.200.10.yyy, and it IS currently that way...well,
that's the intention, but it won't let me add the route for the
194.200.10.xxx

I am thinking that perhaps you think I've got something like gateway of
194.200.15.xxx and eth0 set at 194.200.10.yyy, which is not the case.

I'm working with the same subnet, and my IPs are one address apart.
Something like 194.200.10.80 and 194.200.10.81

I may have misunderstood your message, if I am not clear on this, please
let me know :)

Kristin

> > first delete any  default entry in ur routing table by
> >  route del default.
> > if it gives error message like "no such process" itis ok dont worry.
> > 
> > actually the network unreacable message is because the net id of ur
> > gateway  differs from the net id of eth0
> > 
> > suppose ur gateway IP is 194.200.10.XXX then eth0 should be 
> > something like 194.200.10.YYY. 
> > U cant access the network 194.200.10 from eth0. Check the IP of your
> > gateway(router or proxy?).
> > 
> > The required routing entry will be
> > 
> >    route add default gw 194.200.10.XXX eth0. Dont specify any netmask.
> > If the net id of eth0 is different then try other interfaces if u
> > have. Otherwise change the IP of eth0 using ifconfig.
> > 
> > route -n will show:>
> > 
> > destination     gateway        genmask   Flags metric  Iface
> >  0.0.0.0      194.200.10.XXX   0.0.0.0     UG    0      eth0
> > 
> > arindam c.
> > 
> > Get your own FREE E-mail address at http://www.linuxfreemail.com
> > Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!
> > 
> 
> 
> _______________________________________________
> techtalk mailing list
> techtalk at linuxchix.org
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 





More information about the Techtalk mailing list