how: 2 NIC cards - 1 subnet: needed NIC1 on WAN though ...

tom tomq at
Wed May 26 15:21:02 BST 2004

thanks. I had to have 2 NIC cards
(although I didn't explain why - sorry),
because the WAN NIC is going thru a
wireless ethernet bridge which seems to reset each time
it sees a different MAC address.


Tom McHugh
tel: 07740 096 862

-----Original Message-----
From: freebsd-users-admin at
[mailto:freebsd-users-admin at] On Behalf Of Matthew Seaman
Sent: 26 May 2004 12:58
To: tom
Cc: freebsd-users at
Subject: Re: how: 2 NIC cards - 1 subnet

On Wed, May 26, 2004 at 10:41:18AM +0100, tom wrote:
> (sorry if this is dumb, its my first on this list)
> I have freebsd box with 2 NIC cards:
> one for the WAN (ADSL);
> one for the LAN.
> I can:
> assign each NIC with a different subnet -
> NIC1 netmask
> NIC2 netmask
> I cant assign each within the same subnet -
> NIC2 netmask
> I can supply all the sysctl and rc.conf and kernel settings
> (ipfw is on, end enable gateway etc) but there might be a
> one liner that sends me on my way  ?
> many thanks
>  tom

If you're trying to setup your FreeBSD box as a "filtering bridge"
then actually, you only need one IP address which you assign to one of
your NICs, and leave the other one without an IP address.  You can
actually make the whole thing work without assigning any IP numbers to
the NICs on the machine at all.  (Although in that case, the box won't
be much use *except* as a filtering bridge).




Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

More information about the Ukfreebsd mailing list