Ubuntu 8.04 LTS gateway problems
8.04 LTS Default gateway problems
When my machine boots my route command looks like below, and I can ping my gateway, but not the Internet. Destination Gateway Genmask Flags Metric Ref Use Iface xxx.xxx.xxx.128 * 255.255.255.224 U 0 0 0 eth0 The only way i can get to the Internet is to manually run route add default gw xxx.xxx.xxx.129 after which my route looks like this. Destination Gateway Genmask Flags Metric Ref Use Iface 204.244.122.128 * 255.255.255.224 U 0 0 0 eth0 default 204.244.122.129 0.0.0.0 UG 0 0 0 eth0 However in my /etc/network/interfaces I clearly have my gateway defined as xxx.xxx.xxx.129 # The loopback network interface auto lo eth0 iface lo inet loopback # The primary network interface iface eth0 inet static address xxx.xxx.xxx.132 netmask 255.255.255.224 broadcast xxx.xxx.xxx.159 network xxx.xxx.xxx.128 gateway xxx.xxx.xxx.129 # up route add default gw 204.244.122.129 Also when i do a /etc/init.d/networking restart i get some errors but Internet access continues to work see below. * Reconfiguring network interfaces... Moving from lan,netstart to if-pre-up,eth0,lan SIOCADDRT: No such process Failed to bring up eth0. Please help as this machine is located in a datacenter so access is limited |
Quote:
A complete route output between code tags would help also. You only show two lines. Maybe two lines are all that you get. But it'd appear somewhat more complete and identifiable if your output at least included the first line header. Your /etc/network/interfaces configuration probably isn't being activated because you have a missing "auto eth0". That might be the only problem. -- L. James -- L. D. James ljames@apollo3.com www.apollo3.com/~ljames |
Thank you for your reply and advice about code tags too here are the additional infos in the format that you have requested.
This is the complete output of the route and ifconfig commands respectively these have not been truncated there are only 2 lines in my routing table. NOTE this is while the system is working after running the manual # add route default gw 204.244.122.129 command Code:
Kernel IP routing table Code:
th0 Link encap:Ethernet HWaddr 00:0b:db:93:30:1b Code:
Kernel IP routing table Code:
eth0 Link encap:Ethernet HWaddr 00:0b:db:93:30:1b Code:
# The loopback network interface |
I am still having gateway problems, and have tried messing with lots of settings including metrics. Nothing seems to work someone has to be able to help me out here? Please ?
Quote:
|
All times are GMT -5. The time now is 12:16 PM. |