Networking problems with gateway - no internet
Greetings O_O :)
I have a home server ( red hat 9 - 192.168.20.3 ) and a PC ( WinXP and slack 9.1 - 192.168.20.1 ). The server has internet - 512k LAN - and shares the net to my PC with this line in /etc/rc.d/rc.local iptables -t nat -A POSTROUTING -s 192.168.20.1 -j MASQUERADE In the WinXP options, I only type my IP, Netmask, Gateway(192.168.20.3) and DNS servers from my ISP and I have net. With slack, I can ping the server, and I see that in ifconfig they are connected, but I dont have internet. Thats it, peace |
Hi Belize
Im guessing that your XP might be connecting via PPPoe of some sort. Check if you ISP uses PPPoe and what brand/model of DSL modem you have. Check out the following free PPPoe client software: Roaring Penguin PPPoe If ISP does not use PPPoe then I would check your nameserver entries in /etc/resolv.conf on the slack machine. Hope this helps. |
Hey,
thanks for the fast reply. My connection is 512 k LAN and the server is connected to the ISP with cable. Again, the server is connected to the PC with LAN /etc/resolv.conf contains : search cancun.cubanet.cc ( which is irrelevant and not working for now ) nameserver 192.168.20.3 ( IP of linux server - gateway ) I think I should change something in this file, but dunno what exactly peace |
I would try removing the search line, it could cause long DNS hangs if it can't find any working DNS servers in that domain.
|
I commented the "search" line and for nameservers I wrote the 2 DNS'es assigned by my ISP, and it worx :D
|
All times are GMT -5. The time now is 04:02 PM. |