Information from netstat -rn
ipv4 route table:
network dest netmask gateway interface
0.0.0.0 0.0.0.0 192.168.40.101 192.168.40.111
127.0.0.0 255.0.0.0 on-link 127.0.0.1
127.0.0.1 255.255.255.255 on-link 127.0.0.1
127.255.255.255 255.255.255.255 on-link 127.0.0.1
192.168.40.0 255.255.255.0 on-link 192.168.40.111
192.168.40.111 255.255.255.255 on-link 192.168.40.111
192.168.40.255 255.255.255.255 on-link 192.168.40.111
18.104.22.168 240.0.0.0 on-link 127.0.0.1
22.214.171.124 240.0.0.0 on-link 192.168.40.111
255.255.255.255 255.255.255.255 on-link 127.0.0.1
255.255.255.255 255.255.255.255 on-link 192.168.40.111
net add: 0.0.0.0
gateway add: 192.168.40.101
Hope this helps.
Originally Posted by Nermal
Might be your default route on the windows box.
if you do the following from the cmd prompt in windows:
and post here I can tell.
What we need to do is walk through the network connection to find out where the problem is.
Windows box IP 192.168.0.2/255.255.255.0
Linux box internal IP 192.168.0.1/255.255.255.0
Linux box external IP 192.168.2.10/255.255.255.0
Router internal IP address 192.168.2.1/255.255.255.0
You have stated that the Linux Box can see the internet. So we know that the DHCP has worked off the router.
The windows box can see the Linux box thus that bit is right.
If the windows box does not know where to send the off network packets then you need to add the Linux box Internal IP address as the default route on the windows box. Also you need to set the dns server address to the router on the windows box.
if you have done the two above and it is still not working then the problem will be in the iptables on the linux box.