* RJ45 <[email protected]> [2009-04-16 17:52]: > Hello I have a soekris device net 5501 with OpenBSD 4.5 snapshot > installed on it. > the hardware is well supported but I fail to reach the optimal > configuration. I hae a big problem. > > > actually I have one uplink port vr0 > > and I have 3 internal net ports vr1 vr2 vr3 > > > i planned to attach to v1 and vr2 and vr3 three different WiFi access > points with 2 different SSIDs and so with 2 different VLANS, one vlan > for each SSID. > > so I set up the ports because I want to ahve the possibility to sue up to > 3 access points. > > actually everything works on port vr1. on vr1 I have 3 diferent VLANS, > the default NIC vlan NATIVE that is untagged, the vlan100 and vlan101. > Everything works. What I need is this to work at the same time also to > the other two ports vr2 and vr3 so that I can attach up to 3 WiFi Access > Points. > > this is my configuration > > ifconfig vr1 172.16.1.254 netmask 255.255.255.0 > ifconfig vlan100 172.16.100.254 netmask 255.255.255.0 vlan 100 vlandev vr1 > ifconfig vlan101 172.16.101.254 netmask 255.255.255.0 vlan 101 vlandev vr1 > > so everything works here but I want to replicate the same configuration > to vr2 and vr3 so that I have vlan100 and vlan101 also on the other > ports. > > The problem is that I tried in dozen of ways without being successful, on > the other ports only the default NIC native vlan works... > > I tryed to do this configuration to have a multi port vlan forwarding > like if I had a switch: > > ifconfig vr1 172.16.1.254 netmask 255.255.255.0 > ifconfig vr2 up > ifconfig vr3 up > > ifconfig bridge0 create > brconfig bridge0 add vr1 add vr2 add vr3 up > > ifconfig vlan100 172.16.100.254 netmask 255.255.255.0 vlan 100 vlandev vr1 > ifconfig vlan101 172.16.101.254 netmask 255.255.255.0 vlan 101 vlandev vr1 > > > but in this way it works only for ACcess point plugged on port vr1. > > If i plug it on vr2 or vr3 it does not work... > > Basically I need to implement a 3 port network switch and on every port I > need to forward vlan100 and vlan101.
you need to create vlan interfaces on vr2 and vr3 with vlan 100 and 101 as well and make them part of the bridge. -- Henning Brauer, [email protected], [email protected] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

