LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-22-2003, 09:34 AM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Question Can you set Linux up on a Microsoft Home network?


I run 3 PC's at home all networked together using MS Windows XP. I'm really getting into Linux Mandrake & like it a lot. Can I setup a network using my main PC (dual boot) with ADSL as the gateway like it is when I boot into XP, but have the same setup when I boot into Linux without touching any setting on the other two PC's... Have I made sence? If so how do I di it?

Thanks in Advance

Steve
 
Old 06-22-2003, 09:40 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yes you should be able to. Just make sure you set Mandrake and XP on the machine with ADSL to have the same ip address (there can't be a conflict since only one will ever be on).

Once you have Mandrake running with internet access itself you can add iptables rules to masquerade packets for the other machines (this is the equivalent of ICS on XP).
 
Old 06-22-2003, 10:00 AM   #3
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
whooh... Thanks for the reply but that went well over this newbies head. Any chance of the "thick as pig S@#t" version of what you said.

Thanks again.

Steve
 
Old 06-22-2003, 10:07 AM   #4
nemesisza
Member
 
Registered: Apr 2003
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
Ok, let me attempt to provide some help here as I understoor what David_ross was saying.

1. Make sure that the IP address of the machine running Mandrake and sharing the ADSL connection are the same under both Operating Systems. If for instance your IP on Windows is 192.168.1.1, make sure it is that under mandrake as well.
What the user ment by there can be no conflict with IP is that you are only in one of the Operating Systems at any given time therefore that IP, 192.168.1.1, can not be in conflict.

2. If u are already sharing the ADSL connection between these 3 PCs at home, you are obviously using either "Internet Connection Sharing" or a third-party Proxy, NAT, Gateway. Linux comes with a powerful little tool called IPTables, which in its simplist form can share the ADSL connection with the rest of your home network. Check out http://www.iptables.org/ for more info on how to get that set up

Hey, if all else fails then just come back to the forum and ask more questions... That is what it is here for after all.

Good Luck.


Nemesis(ZA)
 
Old 06-22-2003, 10:18 AM   #5
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks Nemesis I try that
 
Old 06-22-2003, 10:18 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
No problem:
1)The machine with Mandrake and XP that is connected to ADSL:
1.a) Make sure that both Operating systems have the same IP address (since this is the gateway machine all other machines must know the IP - if they were different then the other machines would need to be changed when you changed OSs)
1.b) Make sure that Mandrake itself has internet access through adsl

2) Let your system forward ip packets edit /etc/sysctl.conf and change "net.ipc4.ip_forward=0" to "net.ipc4.ip_forward=1"

3) Set up your system to do masquerading:
3.a) The hard but proper way:
http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html
3.b) The easyier way (or so I'm told as I've never used it):
http://www.shorewall.net/

Depending on your version of Mandrake you may be able to use the "Internet Connection Sharing" Wizard in the Mandrake Control panel. This will replace the need for steps 2 & 3.

EDIT: I should really learn to touch type

Last edited by david_ross; 06-22-2003 at 10:21 AM.
 
Old 06-22-2003, 01:18 PM   #7
nemesisza
Member
 
Registered: Apr 2003
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
haha, there we go...
from the guru's mouth...
Good luck once again Stevetgn
Outie


Nemesis(ZA)
 
  


Reply



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
HowTo set up a home network purefan Linux - Networking 3 04-08-2005 11:39 AM
ok, how do i set up home network? grrr Niflheim Linux - Networking 6 04-01-2005 01:05 PM
Want to set up a home network Kaiyon Alatar Linux - Networking 4 09-22-2004 07:53 PM
connecting to a remote microsoft home network from linux? cybertek Linux - Newbie 5 03-29-2004 11:59 AM
Can a Linux print server be set up on a Microsoft server network? crenshawmarc Mandriva 3 09-29-2003 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 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
Open Source Consulting | Domain Registration