Click to See Complete Forum and Search --> : Internet Sharing in Linux


Quyet
06-04-2003, 04:13 AM
i'm problem with Internet Connect Sharing in OS Linux

Kai99
06-04-2003, 12:21 PM
Hey Quyet,

This should get you started :)

http://www.justlinux.com/nhf/Networks/Easy_Internet_Sharing.html

GL Kai

tcarradine
06-04-2003, 12:34 PM
try mandrake 9.0 (download from LinuxISO.org)

it has built in internet connection sharing setup from the main system configuration utility that uses DHCP to auto assign IP addresses.

its very easy to setup, and fairly secure.

Timothy Carradine

deanrantala
06-05-2003, 11:57 AM
I agree:) I'm a mandrake junkie and the "internet conection wizzard" is excelent. Otherwise you will have to set up masqarading (did I spell that right?) wic is not hard but not easy.:rolleyes:

JustinS
06-13-2003, 03:05 AM
I'm pretty new to this Linux thing really. I have Red Hat 8 and Mandrake 9.0 (faster then RH IMHO) right now, and have tried the internet connection sharing with both distros but can't get it them work.

Is there a step by step on how to use it? I've got 2 nic cards, not of the same brand, and the network card (eth0) never passes in boot up (ip failure), and although I can use the internet with the Linux box, I've never been able to get it with the XP boxes through the Linux box.

I'm espesioly network unsavy, and get lost about the time is asks for ip addresses and domain names/host names what ever.

(cable connection, three computers (Linux connected to 2 XP machines via hub). If eth1 (My internet nic) is in good shape do I only have to mess with eth0 (my network card)? And when dealing with eth0, what are some good settings? (The XP machines are running dhcp under MSHOME).

Thanks a LOT,
Justin

deanrantala
06-13-2003, 02:55 PM
To set up internet conection sharing - the manual but sure shot way - you need to set up what is called IP masqurading. There are many threads on this forum wich can walk you throiugh it better than I can. Basically, your NIC that is hooked to the high speed modem, should be set for DHCP (for automatic assignment of IP address) and your second NIC should be set at something like 192.168.1.100 with a subnet mask 255.255.255.0

Then make sure on the other computer that the NIC is configured something like this: IP 192.168.1.101 subnet mask 255.255.255.0 default gateway 192.168.1.100 (the address of the routing PC's NIC)

the only thing you will have to do then is configure the small script for the masqurading and reboot.

Note: You might have the router (the PC that is sharing the connection) set up right : check to make shure 1) that the client PC has been set for DHCP, and 2) that you are using a crosswired cat 5 cable if you are running directly from NIC one to NIC two. (if you are using straight wired, you will need a hub)

JustinS
06-13-2003, 03:03 PM
I think that may have been the best reply for this that I have ever got! The only thing I need to know, is it also asks stuff about a local host? right now I think it's something like localhost.domain or something to that effect (default) ..

So I need to make sure that is the same on all comps (Right now I think it's MSHOME).

I do have a hub connecting the two computers to the internet conected one.

Thanks a TON again,
Off to dink with my Linux box again .. lol ..

Justin