Default gateway

laura

Member
Joined
Sep 12, 2005
Messages
24
Reaction score
0
Location
Cape Town
On mandrake Limited Edition 2005, how does the OS determine that the default gateway is without having one specified in /etc/sysconfig/network? Will the puter broadcast to each node on the LAN to determine which node on the is the default gateway?
 
On mandrake Limited Edition 2005, how does the OS determine that the default gateway is without having one specified in /etc/sysconfig/network? Will the puter broadcast to each node on the LAN to determine which node on the is the default gateway?

From my understanding not unless there is a dhcp server on the network, and you are running a dhcp client /

Mayb this link will assist you: http://linux.omnipotent.net/article.php?article_id=11201
 
Last edited:
The PC sends out a DHCP Discover broadcast for an IP and whichever DHCP server on the network is the quickest will respond, in your case a router which is also the default gateway which will give this detail to your Mandrake box, along with an IP from the scope of IP's available.
 
From my understanding not unless there is a dhcp server on the network, and you are running a dhcp client /

Mayb this link will assist you: http://linux.omnipotent.net/article.php?article_id=11201
Hi w1z4rd,

The server is assigned a static address. Personally as to how the puter was able to send traffic from 10.0.0.0 to 196.x.x.x What i have forgotten to mention is that there is a gateway device specified of eth0 in /etc/sysconfig/network.
 
To see what is going on i will do a tcp dump and see what type of network traffic is going out via eth0. the main concern is that there is some sort of multicasting happening i will have block the out going multicast traffic. That will have to wait till next year when i get back to the office.
 
On mandrake Limited Edition 2005, how does the OS determine that the default gateway is without having one specified in /etc/sysconfig/network? Will the puter broadcast to each node on the LAN to determine which node on the is the default gateway?

Hello,

You better try
$traceroute [any-website/IP Address]
will give you detail about routing.

cheers
 
Top
Sign up to the MyBroadband newsletter
X