LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-21-2008, 01:53 PM   #1
belcanm
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Unhappy trouble sharing my internet connection


Hello. I'm not an actual newbie to Linux, but I stumbled upon a problem that I cannot find an answer for.
I installed Ubuntu 8.04 Server to an old PC in order to make a small router and torrent box out of it. I use Webmin and PuTTy in order to manage the server. I connect to the internet using PPPoE over eth0, and eth1 connects to a switch where my 2 desktops (mine and my parents') are also plugged in. I have DHCP server enabled for the local network and I've also set up NAT so that I can have internet on the 2 desktops.
The problem is that I cannot make the 2 desktops access internet simultaneously. Whenever one is used to surf the web (just surfing and Yahoo! Messenger, not necessarily heavy downloads or torrents) the other one cannot open anything related to internet (browser, messenger, antivirus updates, etc). So they can only take turns in using the internet, which is very annoying, as you can guess.
My questions are why is this happening and what can I do to make things work as expected.
Thanks in advance for your answers.
 
Old 09-22-2008, 10:38 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,082

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by belcanm View Post
Hello. I'm not an actual newbie to Linux, but I stumbled upon a problem that I cannot find an answer for.
I installed Ubuntu 8.04 Server to an old PC in order to make a small router and torrent box out of it. I use Webmin and PuTTy in order to manage the server. I connect to the internet using PPPoE over eth0, and eth1 connects to a switch where my 2 desktops (mine and my parents') are also plugged in. I have DHCP server enabled for the local network and I've also set up NAT so that I can have internet on the 2 desktops.
The problem is that I cannot make the 2 desktops access internet simultaneously. Whenever one is used to surf the web (just surfing and Yahoo! Messenger, not necessarily heavy downloads or torrents) the other one cannot open anything related to internet (browser, messenger, antivirus updates, etc). So they can only take turns in using the internet, which is very annoying, as you can guess.
My questions are why is this happening and what can I do to make things work as expected.
Thanks in advance for your answers.
Hmm...not sure of the details of how you have things configured, but try to install Squid, which would easily let multiple systems share a single internet connection.

But that may be overkill. You could always configure that box to forward any DNS requests to your ISP's name servers (just edit /etc/resolv.conf to point to whatever your ISP tells you), and set a route for your internal network to your internal NIC, and route everything else out your ISP interface.
 
  


Reply

Tags
net, server, sharing


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
Trouble with Internet connection sharing between Windows XP and Linux DownloadTHIS Linux - Networking 1 08-28-2005 08:45 PM
Internet Connection Sharing mimithebrain Linux - Networking 7 08-15-2005 08:55 PM
Internet sharing and dhcp trouble iceaway Mandriva 2 03-12-2004 04:50 PM
Still having trouble with Connection Sharing... Volcom Linux - Networking 3 09-28-2003 09:24 AM
internet connection sharing trouble futard Linux - Networking 8 06-19-2001 03:28 PM


All times are GMT -5. The time now is 11:07 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration