default gateway issue
I've got defined the default gateway in drakconf, but when i start my
computer, the default gateway does not show up:
[root@localhost ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.6.0 * 255.255.255.0 U 10 0 0 eth0
169.254.0.0 * 255.255.0.0 U 10 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
I've got to manually add the route so it appears and i can get my
computer on the network.
[root@localhost ~]# route add default gw 192.168.6.1 dev eth0
[root@localhost ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.6.0 * 255.255.255.0 U 10 0 0 eth0
169.254.0.0 * 255.255.0.0 U 10 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.6.1 0.0.0.0 UG 0 0 0 eth0
I've grepp'ed the gateway IP and it appears in /etc/sysconfig/network
[root@localhost etc]# grep -R 192.168.6.1 *
sysconfig/network:GATEWAY=192.168.6.1
How can i get this to show up correctly upon start. May it be a mandriva
2007 bug?
alex.
|