LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2003, 03:25 AM   #1
Belize
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
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
 
Old 12-17-2003, 03:58 AM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
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.
 
Old 12-17-2003, 05:24 AM   #3
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
Old 12-17-2003, 06:07 AM   #4
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
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.
 
Old 12-17-2003, 11:39 AM   #5
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
I commented the "search" line and for nameservers I wrote the 2 DNS'es assigned by my ISP, and it worx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking problems with firewall/gateway Doctor Doom Slackware 1 10-03-2005 11:12 AM
Going to the Internet by a gateway Jose Santos Linux - Newbie 1 05-26-2005 11:43 AM
Slackware Networking/Gateway problems Terra Niux Slackware 1 11-29-2004 07:46 AM
internet gateway problems (iptables configuration) woranl Linux - Networking 11 08-27-2003 11:41 PM
networking xp through redhat gateway linker Linux - Networking 1 07-17-2003 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration