If I'm interpreting what you said correctly ...

First set up the linux gateway to receive its Internet connection (from campus) on
eth0.  Once you've tested that and ensured that your Internet connection is working
on the Linux gateway, then set up eth1 to be some virtual ip address.  For example,
in my network, I have eth0 set up as the IP address given to me from a cable modem
connection, and then eth1 is set to 192.168.0.1

The other computers in my network, which get their Internet connection through the
linux gateway are 192.16.8.0.2 - 102.168.0.5.   Of course, you'll have to make sure
that these other  have the gateway specified as 192.168.0.1 so that they know to
look at the linux gateway for their Internet access.  As well, you'll have to set
up IP Masquerading on the linux gateway.

Mark.


Valjean wrote:

>    A quick question folks:
> I want to setup my network as diagrammed:
>
> [Ethernet]        [Computer A]           [switching]
> [hookup]--------> [Mandrake-Linux 7]----> [hub]------> [Computer B]
> [to campus]      [Acting as gateway]         |           [Windows 95]
>                                              |
>                                              |
>                                           [Computer C]
>                                            [some other os]
>
> I do this so all three computers won't need their own IP addresses (for a
> multitude of reasons).  I have two NICs in Computer A obviously..both the
> same kind.  I am doing a fresh install of Mandrake and I am at the LAN
> setup point.  I know eth0 is the NIC that will be going to the switch and
> that eth1 will be the NIC connected to the ethernet network.  I can let
> DHCP assign the IP for eth1 (the IP of computer A)..but what do I fill in
> for the IP address slot for eth0?  It won't let me enter nothing and if I
> fill check "Automatic IP, for DHCP/Bootp" it will fail out because it's
> simply wired to the switch.
> Valjean

Reply via email to