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 http://www.messagelabs.com/stats.asp
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:35 EST