how: 2 NIC cards - 1 subnet

Martin Hepworth martinh at solid-state-logic.com
Wed May 26 10:59:03 BST 2004


Tom
Looking into something like this myself right now..but combining two 
interfaces into on logical ip-address...

I think you simply define the second interface with a netmask of /32 
(255.255.255.255) to keep the ip-addresses separate.

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


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 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
> 
> 
> 
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 


-- 

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************





More information about the Ukfreebsd mailing list