[plug] network routing -- cannot see outside world

John Usher (Maptek) John.Usher at perth.maptek.com.au
Mon Sep 16 17:26:25 WST 2002


G'day...
 
Your problem stems from your route add command below, which is largely either wrong or redundant.

	

	> route add default gw X.Y.Z.1 netmask 255.255.255.0 eth0
	

You should just do a: 'route add default gw X.Y.Z.1' plain and simple.
 
The routing can figure out that its on eth0 because its must be a host you already have a route to, and your netmask of 255.255.255.0 is actually only allowing it to route addresses from 0.0.0.0-0.0.0.255.
 
The actual netmask for the default route (if you _REALLY_ feel you must put it in) is 0.0.0.0, which means 'no bits in the address have to match' which is what you want for a default route!
 
...John...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020916/6c34bfc3/attachment.html>


More information about the plug mailing list