Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-29-2004, 05:31 AM   #1
Registered: Aug 2004
Posts: 69

Rep: Reputation: 15
Question linux internet connection sharing

Please first see that post of mine so you can see whats happning,
My answer is that the modem is present on both the systems but I will connect to internet from linux system. Now I hope you can help me.
Old 10-29-2004, 06:48 AM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
#1 You should have posted this in the same thread. Now there are two threads with by you asking the same thing.

#2 - My understanding is that the modem is physically connected to the linux box and you have network cards in both the linux and Windows box.

#3 - I'm assuming you have the two computers connected with a crossover cable and that you are able to ping them from each other.

Since you state that the modem is present in both, I (and likely anyone who would answer) would like yes or no answers to #2 and #3.

When we know that, we can help more. POST IT IN THIS THREAD. Do not make new posts for the same question
Old 10-29-2004, 11:19 AM   #3
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
I make new post because i noticed that people mostly dont answer posts that already answered.
Old 10-29-2004, 11:27 AM   #4
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
On your Linux box (which has a modem connected to the Internet) you can either run a proxy server such as squid or setup Network Address Translation (NAT). Running DHCP is optional, if you want to emulate the windows "connection sharing" then you should run DHCP, however manually configured IP would do. Note that on your windows machine you have to specify the default gateway as the IP address of your Linux box. To setup NAT on your Linux box visit , if you prefer running a proxy server (which would require some configuration on your windows client, such as specifying proxy settings for your browser) then run Squid.


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
Linux internet sharing connection with XP des33 Linux - Networking 2 03-10-2005 07:05 AM
Internet Connection Sharing through Linux 9 unmesh vaidya Linux - Newbie 1 11-25-2003 07:32 AM
Sharing Internet connection via Linux 8.0 troyzeng Linux - Networking 1 09-20-2003 02:41 PM
Internet connection sharing between XP and linux kidicarus Linux - Networking 16 09-16-2003 07:05 PM
internet connection sharing in linux anwar_lpk Linux - Networking 2 05-06-2003 01:10 PM

All times are GMT -5. The time now is 09:09 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