Subject: Design of bridge(4)
To: None <tech-net@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 06/09/2003 16:17:40
	Hello,

in the light of PR kern/21831:
Am I the only one who dislikes the basic design of bridge(4)? Right now
the IP address is assigned to one of the interface belonging to a
bridge like this:

ifconfig wm0 inet 10.0.0.1 up
ifconfig bridge0 create
brconfig bridge0 add wm0
brconfig bridge0 add wi0

So it's not easy too see for an adminstrator how things are configured.
IMHO the IP address should be assigned to the bridge interface itself
like this:

ifconfig bridge0 create
brconfig bridge0 add wm0
brconfig bridge0 add wi0
ifconfig bridge0 inet 10.0.0.1 up

This would also match the behavior of vlan(4).

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/