Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2004, 06:12 AM   #1
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
What is the best way to make two computers use the same internet connection?

I'm not sure how to do this, I have one computer that has an internet connection, just an ethernet card connected to a router.

I also have this other computer, which does not have internet access and it has an ethernet card.

Now I also own a switcher and two cables. Is it possible to get an internet connection running on both computers with this stuff? Or do I need to buy some more stuff to get it working like another ethernet card?
Old 07-12-2004, 08:17 AM   #2
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
If you have a router and it has more than on port you can just plug it in there.

Otherwise you will need to do IP masquerading.

Do a google search to find out how to do this.
Old 07-12-2004, 09:08 AM   #3
LQ Newbie
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
You could also try using the squid proxy program instead of ip masquerade that usually comes with redhat.
Old 07-12-2004, 09:14 AM   #4
LQ Newbie
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
i think, using a squid proxy is a better option than ip masquerading.
squid proxy is a powerful gives u a lot of control over u r connection.
search for information on squid.really good software..
Old 07-12-2004, 10:39 AM   #5
LQ Newbie
Registered: Jun 2004
Location: England
Distribution: Gentoo 2004.2 (2.6.8-gentoo-r3)
Posts: 11

Rep: Reputation: 0
I found IP masquerading to be nice and simple but I haven't tried Squid so I can't compare it. Have a look at this howto for setting it up.


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
internet connection sharing between two computers using crossover cable farnell_mark Debian 1 06-04-2005 05:44 PM
How to make a log to keep track internet connection? yktang Linux - Newbie 1 12-19-2003 06:47 PM
internet connection sharing with two red hat computers. brucedjones Linux - Networking 32 08-18-2003 04:12 PM
I can't make a Internet connection Manuel Tejada Linux - Networking 2 06-08-2002 12:29 PM
linux mandrake 8.2 need to make internet connection james Harvey Linux - Newbie 6 05-28-2002 05:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 AM.

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