Hi list,

What is the advised way to assign an IP address to a bridge(4)
interface?  I have the following:

% # ifconfig bridge0
% bridge0: flags=41<UP,RUNNING>
%         groups: bridge
%         priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
%         designated: id 00:00:00:00:00:00 priority 0
%         vr3 flags=3<LEARNING,DISCOVER>
%                 port 4 ifpriority 0 ifcost 0
%         vr2 flags=3<LEARNING,DISCOVER>
%                 port 3 ifpriority 0 ifcost 0
%         vr1 flags=3<LEARNING,DISCOVER>
%                 port 2 ifpriority 0 ifcost 0
%         vr0 flags=3<LEARNING,DISCOVER>
%                 port 1 ifpriority 0 ifcost 0
%         Addresses (max cache: 100, timeout: 240):
%                 3c:62:00:67:6f:e1 vr0 1 flags=0<>
%                 00:15:af:7f:89:94 vr0 0 flags=0<>

I glanced at bridge(4) and ifconfig(8) manpages without luck.  The FAQ
doesn't seem to document this as well.

My feeling is that I should add my IP address to each physical interface
belonging to the bridge.  I came to that conclusion because if you want
serve IP addresses with dhcpd(8) on that bridge, you have to tell
dhcpd(8) to listen on each of these physical interfaces but it will
refuse to start if it is there is no IP address assigned to an interface
it should listen on.  Maybe this setup is not supported?

Last thing: if it was documented, where should it be?  I might spare
some time to submit a documentation patch.

Thanks for your help.
-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.

Reply via email to