Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 11:07:18 -0600
From:      "Bob" <bob@starblanket.ca>
To:        <freebsd-net@freebsd.org>
Cc:        'Bryce Edwards' <bryce@bryce.net>
Subject:   RE: Multiple Interfaces
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAtnXXFo3aIE6g1Rg4C0EjUsKAAAAQAAAA8d8LIn5QSkS9Nnwln+C00gEAAAAA@starblanket.ca>
In-Reply-To: <01a801c35782$8886b380$6501010a@gis2.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Greets 

> I have two interfaces and the following info in rc.conf.  The 
> first one is
> setup properly but the second one never gets configured.
 
I just went through this process myself.

The word I have is that FreeBSD cannot run two NICs on
the same subnet, which is what your included config shows.
So try as you may it will not work. I also tested 4.7, 5.0 
and 5.1 with similar results. 

Here is a snippet of an email I received on this topic:

Begin

Well, as long as I can tell, one can't have 2 ifaces on the same subnet 
on FreeBSD. This seems to be regarded as a feature by the guys who have 
written the code. "It's arguable that it should be done any other way, 
since it will put questions like  what interface will be used for 
outgoing segments to the subnet ? etc. which will require to manually  
assign the arp table as log as you have the rest of the nodes of the 
subnet connected throu some kind of switches or to still have all 
outgoing connections throu a preferred interface which will require a 
SRC (IP+MAC) addresses of the other interface and will unnecessary 
complicated the hole thing". So the result will be a gain in the speed 
of incoming segments but more load on the system.

END

>What am I missing?

All you are missing is the fact FreeBSD cannot handle
two NICs the same subnet. OpenBSD does, NetBSD does and Linux does.

Regards

Bob D



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAtnXXFo3aIE6g1Rg4C0EjUsKAAAAQAAAA8d8LIn5QSkS9Nnwln+C00gEAAAAA>