LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-08-2003, 10:00 PM   #1
Keys
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
Internet Connection Sharing


Hi, I'm a complete Linux n00b, and I'm trying to set up my network. I have a dual boot with both Red Hat Linux and Windows XP, and I'm trying to set it up so that when I'm using either OS, a second computer running on my network has the internet. Under XP, I have ICS running, so that's not a problem. I just need to know how to set it up in Linux so that it works.

My network is set up so that the cable modem is connected to this PC, the one I'm trying to set up, and then through a second network card, this PC is connected to a second computer running Windows XP.

Any help would be excellent! Thanks a lot.

Last edited by Keys; 03-08-2003 at 10:05 PM.
 
Old 03-08-2003, 10:24 PM   #2
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
You need to set up Ip masquerading. This should help

http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/
 
Old 03-08-2003, 10:31 PM   #3
Keys
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, now if I have the client machine set up with ICS, will I still have to make the changes to the client's settings that the HOWTO tells me to do? Or will the settings for ICS be the same, since it's just pointing to my computer?
 
Old 03-08-2003, 10:38 PM   #4
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
The settings should be the same. Just post again if you have any problems.
 
Old 03-08-2003, 11:26 PM   #5
Keys
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I've looked at that how-to, and it looks to me like it's setting up a firewall along with the MASQ. Now, I don't really want a firewall, is neither of these computers have anything important on them, and firewalls have gotten in my way before. Now, is there a way to not have a firewall in place, but still have MASQing, or perhaps, is this firewall's default security low, so it might not bother me?

[EDIT]

Ok, now, I think I have another issue. This is with Linux seeing my actual hardware. I have it set up so eth1 is the card that is connected to my modem, and eth0 is the card connected to the second computer. The problem is, for whatever reason, Linux cannot activate eth0. I put in the address for the network, 192.168.0.1, and then the subnet mask. Well, if you can help anymore, that would be great. Thanks.

Last edited by Keys; 03-09-2003 at 08:37 AM.
 
Old 03-09-2003, 04:48 PM   #6
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
This is all you need
http://www.tldp.org/HOWTO/IP-Masquer...FIREWALL-2.4.X

It sets the default policies to accept for the input and output chain it will not block anything.

About the nic what is the output when you issue the command /sbin/ifconfig eth0 And what distro are you running?
 
  


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
sharing my internet connection berrance Linux - Networking 1 02-25-2005 12:33 PM
SHaring internet connection bart59 Linux - Networking 1 01-27-2005 08:24 AM
Internet Connection Sharing geekbyday Linux - Networking 9 11-19-2004 11:59 PM
Internet connection sharing mark_booze Linux - Newbie 22 01-02-2004 01:37 AM
Internet Connection Sharing Chijtska Linux - Networking 7 09-02-2002 12:50 PM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
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