FreeBSD Gateway, Crossover

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Dec 4 19:22:20 UTC 2011


On 04/12/2011 18:43, Matthias Apitz wrote:
>> I'd like to have the internal network be on 192.168.1.0/24. I have 2x
>> > 2-port NICs in the freebsd box.
>> > 
>> > em0 - Internet - 1.2.3.4
>> > em1 - System1 - 192.168.1.1
>> > em2 - System2 - 192.168.1.2

> if you connect the two other boxes directly to the NICs of FreeBSD you
> must use crossover cables and should assign to each connection a
> separate network; or you connect all three boxes via a HUB or switch in
> only one network;

Or create a bridge spanning em1 and em2 -- this will make your FreeBSD
box act pretty much like a network switch for the two client machines.

You can get away with standard cables if all the NICs involved support
auto-MDIX.  em(4) should, but it depends on your other kit.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111204/73f7b3f3/signature.pgp


More information about the freebsd-questions mailing list