YDL & router -- progress, maybe
Ron McCall
yellowdog-general@lists.terrasoftsolutions.com
Sat Mar 29 11:15:01 2003
On Fri, Mar 28, 2003 at 08:28:00PM -0800, Beartooth wrote:
[snip]
> So I try to shoot the trouble by doing netstat -rn (which gives
> three lines with 0.0.0.0 under Gateway (one for eth1, one for eth0, and
> then the one for eth1 again) -- and nothing else, btw.
>
> All three have 127.0.0.1 under Destination and 255.0.0.0 under
> Genmask; in fact, all are identical across the board except for the
> labels eth1 and eth0.
[snip]
Do you have a line like GATEWAY=192.168.1.1 in /etc/sysconfig/network?
That should provide your default route. There may also have been a line
like GATEWAYDEV=eth0 (or similar) line in the same file for YDL 2.3. It
is not present in YDL 3.0.
My netstat -rn output is as follows (MSS, Windows and irtt columns
omitted):
[root@bender network-scripts]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags Iface
192.168.2.0 0.0.0.0 255.255.255.0 U eth1
192.168.1.0 0.0.0.0 255.255.255.0 U eth0
127.0.0.0 0.0.0.0 255.0.0.0 U lo
0.0.0.0 192.168.1.1 0.0.0.0 UG eth0
Ron