Review your favorite Linux distribution.
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 05-29-2004, 08:54 PM   #1
LQ Newbie
Registered: May 2004
Location: Tacoma WA
Distribution: mandrake 9.1
Posts: 2

Rep: Reputation: 0
Why won't internet connection sharing work?

Another Linux newbe with a question.

First a short description of my system: I am running a dual boot system with windows XP and Mandrake 9.1 as the operating systems. I have a windows network set up with a router and three computers connected. On the second NIC card in my computer I am connected to a cable modem. All three computers share this internet connection.

I am trying to set up the same connection when I boot into linux so my children can still go on-line while I am exploring the new operating system. When I first set up the system I couldn't even go on-line in linux until I scrapped the onboard nvidia card. I installed a PCI NEC card and now I can access the internet fine. I also have the windows network reconfigured for the new card. The problem is when I boot into linux the connection sharing is lost. I have tried the mandrake control panel several times and can't seem to get it set up.

Any help you can give would be greatly appreciated.
Old 05-29-2004, 11:06 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I'm a bit confused about the specifics of your configuration.

I'm assuming:
1. You have a public address (e.g. 62.xx.xx.xx) on the NIC that's
attached to the broadband router.

2. Your other NIC, and all of your other PCs, have different,
non-routable private addresses (e.g.

3. You have firewall software running in both Linux as well as
XP modes (personally, I'd consider enabling Microsoft "Personal
Firewall on *all* internet-accessible connections - Ethernet or
dial-up, on *all* your PCs).

4. All of your internal, private addresses are static addresses.

5. The static address for your Internet-connected host is the same
under Linux as it is under XP.

6. All of the PCs are configured to use that static address (the
*private*, e.g. "192.168" address) as their TCP/IP gateway.

7. All of the PCs are configured to use your ISP's DNS server
(on some public address, e.g. "62...").

If that's true, I'm not even sure you NEED Microsoft's "connection
sharing". And everything should work under both Linux and Windows.

Here are a couple of links that might help:

'Hope that helps .. PSM
Old 05-30-2004, 05:36 AM   #3
Registered: Jan 2003
Distribution: LFS
Posts: 64

Rep: Reputation: 15
You need to setup IP masquerading. There are plenty of howtos around for help.
Old 05-30-2004, 11:13 AM   #4
LQ Newbie
Registered: May 2004
Location: Tacoma WA
Distribution: mandrake 9.1
Posts: 2

Original Poster
Rep: Reputation: 0
A little more information for Paulsm4 and then I will go look into IP masquerading.

My dual boot comp. is the computer hooked to the Internet. When booted into windows everything works fine. When booted into linux none of the other computers can access the Internet.

Under windows my network connections are set up as follows.
connection to cable modem: Obtain IP automatically
connection to router:
all other computers on network: Obtain IP automatically

I set the linux system up the same way.

I will go check out IP masquerading now as that may well be the key. I am trying to keep the setup for the other computers connected to the hub the same so they don't have to be swapped for each operating system.

Thanks again for the help,


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 VyRuZ Linux - Networking 4 06-05-2005 04:31 AM
Internet connection sharing mark_booze Linux - Newbie 22 01-02-2004 12:37 AM
can't get internet connection sharing to work? powerchord81 Linux - Networking 2 10-18-2003 04:39 PM
internet connection sharing OrganicX General 16 02-28-2003 04:30 PM
Interesting TCP/IP Problem? PosgreSQL and Internet Connection Sharing Don't Work iaypaa Linux - Networking 3 11-04-2002 05:23 AM > Forums > Linux Forums > Linux - Networking

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