removing and adding route
Hi,
I use red hat. I have on the machine this routing table: [root@sns-jr-dmz root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * 255.255.255.255 UH 0 0 0 eth0 208.170.171.128 * 255.255.255.128 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo I want to remove the first line (default gateway ) and add a line which says the default gateway is 0.0.0.0 0.0.0.0 so that evey traffic will go throw eth0 (the netmask should be 0.0.0.0 right ?) beacuse the difault gateway which is here is not working... THANKS !! |
Easily done, sir:
route delete default route add default dev eth0 Ron W7HD Tucson, AZ |
All times are GMT -5. The time now is 05:59 AM. |