Re: Routing table problems

Catalin Marinas
2001-11-29T18:58:25Z

On Sat, 29 Dec 2001, Rajasekhar Inguva wrote:

> 4) ifconfig eth0 up
>
> After the the 4'th command, my interface is up and has it's IP address set
> correctly. But .....
>
> netstat -nr does not show my default gateway for network 0.0.0.0 !!.

ifconfig just brings the interface up, it does not set the routes. It is
not a kernel problem.

Usually, an interface is brought up by the /sbin/ifup (or
/etc/sysconfig/network-scripts/ifup) script which calls ifconfig and then
adds the default route by calling /sbin/route.

--
Catalin

_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit