-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Grant wrote:
I think it would be smarter for me to buy a $15 switch from NewEgg
instead of trying to configure my Gentoo router to use its extra NICs
this way. Is there any reason I wouldn't want to do that?
Academic exercises aside, the only reasons I can think of to use a
general-purpose computing device for this purpose instead of a simple
switch would be a) cost, or b) to do something that the switch can't do,
such as firewall. If you really just want a switch, and the money isn't
a big deal, go with the switch.
That said ... strictly speaking, what you're asking for is a bridge,
which may not be the easiest way to accomplish your ends, nor the most
flexible configuration. Maybe consider this easy approach:
- - create a separate network for each NIC (maybe 192.168.2.0 and
192.168.1.0), and give each an appropriate IP address (maybe 2.1 and
1.1 respectively).
- - enable IP forwarding, and NAT if appropriate for outbound traffic
(sounds like you already know how to do that).
- - Make sure your DHCP server listens on each of those networks and has
an address pool for each. I run mine right on the gateway, and ensure
that it doesn't listen to the public address.
That's basically it. A big advantage of this is that if you want, now
you can easily isolate one of those segments to create a DMZ for a web
server or a playstation or something else fun.
Cheers -d
- --
David Talkington
PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFJsJ95FKhdwBLj4sRAsW7AKCgfMIGU/wuOSR2dWGfnBJuWiROEwCcDzhN
bQ75d9ixEQCCFemWRkAQcX4=
=GRZ8
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list