[techtalk] can't add default route.

arindamc at linuxfreemail.com arindamc at linuxfreemail.com
Thu Nov 23 04:52:33 EST 2000


At Wed, 22 Nov 2000 13:08:42 -0800 (PST) , Eric Richard Turner <turnere at cc.wwu.edu> wrote: 

>On Wed, 22 Nov 2000, Kristin Ziel wrote:
>
>> 
>> 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 haven't been following this thread, but I think you need to first add
>your gateway as a host in your routing table before the route command will
>allow you add it as the default route. I'm not on a Linux box right now,
>so I can't try it. I'll give it a try when I get home tonight.
>
>Eric
>
>BTW, this behavior may have been "fixed" in more recent versions of route.
>
>--
>My public OpenPGP key can be found at
>http://www.wwu.edu/~turnere/turnere.asc
>
>
>_______________________________________________
>techtalk mailing list
>techtalk at linuxchix.org
>http://www.linux.org.uk/mailman/listinfo/techtalk
>

hi kristin,

 i think your problem is something different. make sure that your eth0
is UP using "ifconfig eth0 up". check the output to make sure that it
is not rejecting packets. can u ping to your gateway? make sure u can.
actually the problem is in the link between your eth0 and the gateway.

if ur eth0 IP is 198.6.5.3 and gate way IP is 198.6.5.4 then your
routing table should look something like that:>

destination     gateway      mask            flags  metric  interface
198.6.5.3        0.0.0.0   255.255.255.255    UH      0         eth0
198.6.5.0        0.0.0.0   255.255.255.0      U       0         eth0  
0.0.0.0         198.6.5.4  0.0.0.0            UG      0         eth0
127.0.0.0        0.0.0.0   255.0.0.0          U       0         eth0

try and let me know.:)


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!




More information about the Techtalk mailing list