Quote:
Originally Posted by aarav2306
hi
My setup is as follows
ISP - Modem(192.168.1.1) - Ubuntu desktop 9.04(external interface eth0 192.168.1.21 & internal interface eth1 192.168.0.1) - switch - LAN (comprising of Ubtuntu 9.04, 9.10, 10.4 & XP machines with IP 192.168.0.2 - 8 and gateway of 192.168.0.1) Aarav
|
OK. Modem on 192.168.1.1 is doing dhcp? If it's on pppoe it's not inclined to change the external IP. I really don't like that all your network is 192.168.
0.nn, whereas your internet is on 192.168.
1.nn. I'd make mistakes with that sort of thing.
for the record, run(on box with the internet, & 192.168.1.1)
cat /proc/sys/net/ipv4/ip_forward
It will say 0 or 1. If it says 0, try
echo 1 > /proc/sys/net/ipv4/ip_forward, and put that in rc.local.
Then I would go for the laziest of options. On 192.168.1.1 & 192.168.1.21, make an entry in /etc/hosts describing the other. These are 'known hosts' that your box may try in it's search path. If that doesn't sort it, post resolv.conf files from 192.168.1.1 & 1.21