Please note I'd recommend a local hub. Hubs can be had for under $50.
Borrow one first to make sure there are no connectivity issues -- in
large networks there can be.
The gateway solution you propose has a problem. DHCP will not function
across a gateway(router) without a relay on the gateway. You'll have to
support DHCP relay or use NAT on the gateway for the other two nodes to
get IP addresses.
DHCP works using broadcasts. Broadcasts normally stop a
routers/gateways.
Regards
Tom
> On Mon, 31 Aug 1998 09:39:00 -0500, "Daniel Lange (CS/MATH stud.)"
> > I'm about to begin a major undertaking. I have, at my university, a
> >single ethernet connection to connect my 3 computers to. So, I'm setting
> >up my PC with 3 ethernet cards, one to communicate with the network, and
> >the other two will connect directly to the two other computers in my
> >room via crossover ethernet cables.
> It would be much easier if you put the other two machines on either a hub
> or a coax. Not only would they be able to network with each other without
> going through the server, but you would only have to worry about
> configuring two networks cards in the server (one less IRQ, simpler
> firewall scripting, etc.).
> > Now for the tricky part: the network leases IPs on an hourly basis via
> >DHCP, and they use WINS for something that I'm not sure of. To my
> >knowledge linux doesn't support these protocols.
> Yes, it does. There are packages to allow Linux to act as either a DHCP
> server or client (I'm running both, one on each interface), and the Samba
> suite includes WINS support. WINS is basically a type of DNS for Win95/NT
> machines using NETBIOS names instead of domain names. It is included in
> Samba because Samba provides Win95/98/NT networking services such as print
> and file sharing.
> > Anyone know where I can get at least DHCP support for linux? Or know
> >where I can get info/help on setting up the IP masquerading? Thanks in
> >advance for the help.
> Everything you need to read is at:
> <ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO>
> The actual DHCP/Samba packages should be obtained from the www site
> serving your distribution of Linux, assuming you don't want to compile
> them yourself.