The way I've done it is to have your linux box contain two NICs. Eth0 (NIC#1) connects to your cable modem. Eth1 (NIC#2) connects to your Windows Box's NIC via a cross-over cat5 cable. Then activate connection sharing in your Linux box by assigning Eth0 to your internet IP address and Eth1 to your local IP address (192.168.0.1) which will be the gateway for your Windows box. On your Windows box, set your ip address to 192.168.0.2 and your gateway address to 192.168.0.1 and netmask 255.255.255.0. For DNS, use the same settings as your Linux box. Also, connection sharing in your linux box might end up running a DHCPd in which case, you could just set your Windows box to DHCP. This path eliminates the need for a hub or switch. If down the road you want to get more PCs then you'll need that hub/switch.

Lee Flier wrote:
I will soon have a similar situation... I have two computers at home. One is the one I'm using now which is currently dual boot RH9/Windows 98. It's connected to the Internet via cable modem (RCA) and has a static IP address.

What I would like to do is install RH9 on a second computer, have a private LAN with the two machines, so that files/printers can be shared. I would also like them to share my Internet connection without having to obtain a second static IP address from my ISP. I am not a network guru by any means, so I've been reading up on the subject, and it seems there are several different ways this could be done. What I am thinking would be the simplest way is this:

1) Establish the LAN using private IP addresses and a hub.

2) Connect the hub to the cable modem.

3) Connect to the Internet directly from the Linux box, then configure the Windoze box to use the Linux box as a proxy server so I can surf the web from the Windoze box (all my email etc. will go to the Linux box).

Is this workable? Is it the simplest way to do what I want or is there a better way?

Also, if I want to share my printer between the two machines, in you guys' experience is it better/simpler to hang the printer off the Windows box or the Linux box?

Thanks,
Lee




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to