Hi i am getting the following message when i try to connect to the internet (or even ping an IP address).
ping 212.28.224.56
connect: Network is unreachable
I can ping from my Linux box to my XP box on my internal network fine.
I can ping my router fine.
My XP box can connect to the internet (its how i am writting this post).
From a few searches people have asked for this information
route -n
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
and ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:0C:6E:2F:8B:44
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:693 errors:0 dropped:0 overruns:0 frame:0
TX packets:498 errors:0 dropped:0 overruns:0 carrier:0
collisions:6 txqueuelen:100
RX bytes:54630 (53.3 Kb) TX bytes:52352 (51.1 Kb)
Interrupt:11 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)
my router is configured as 192.168.0.1
From the above route table i presume it says that my network card (eth0) can access the following paths 192.168.0.0 and 169.254.0.0. I have no real idea how the 169.254.0.0 got in there (but thats not the issue here i think). Do i have to specify a specific IP for the router in that table and if so is the command to do it
route add -net 192.168.0.1 netmask 255.255.255.0 dev eth0
Am i on the right track?