Phil’s Diary - [Blog @ http://www.philsdiary.net/]
Tuesday February 4, 2003
Getting Access

A reinstall didn’t sort the Internet problem. This suggests that there’s something particular about my network setting breaking things. Pinging anything (name or IP address) gives “Network is unreachable”. That sets me wondering about gateways. /etc/sysconfig/network lists GATEWAY=10.0.0.2 which is correct. So I search around the internet a lot, and find nothing specific, but two useful bits.

First route -n gives 0.0.0.0 for eht0’s gatway.
So I first add GATEWAYDEV = “eth0” to /etc/sysconfig/network

This adds and extra line to route -n destination and gateway = 0.0.0.0
But still no gateway. The last piece of the puzzle was route add default gw 10.0.0.2 which modified route -n to add an extra line 0.0.0.0 as destination, and the gateway correctly as 10.0.0.2

Now pinging works, as does net access. A struggle, but I’m there. I did try the X tools to setup the network, but that, while making changes to itself didn’t seem to reflect them in either route -n or the machine behaviour.

Now onto all the other odds and ends I need to get working.

Posted by Phil on February 04, 2003 09:31 PM | Categories: Linux

Nice blog

Posted by: ip address at May 4, 2003 8:43 AM