how: 2 NIC cards - 1 subnet

tom tomq at myrealbox.com
Wed May 26 10:41:18 BST 2004


(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 192.168.1.1 netmask 255.255.255.0
NIC2 10.0.1.1 netmask 255.255.255.0

I cant assign each within the same subnet -
NIC2 192.168.1.2 netmask 255.255.255.0

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







More information about the Ukfreebsd mailing list