I have an hAP lite an I want to set it as an wireless AP for 2 networks. I am pugged in ether port 2 coming from a switch with 3 vlans: 10, 20 & 99. I have managed to make it work (2 wifi interfaces giving the correct ips), but I can't manage to put an management ip on ether2. Here is my configuration:
Code: Select all
# mar/08/1970 19:45:02 by RouterOS 6.45.9
# software id = 1GQP-YJB5
#
# model = RB941-2nD
# serial number = D1130DD62216
/interface bridge
add admin-mac=08:55:31:17:2D:21 auto-mac=no comment=defconf name=bridge
add fast-forward=no name=vlan_bridge vlan-filtering=yes
/interface vlan
add interface=vlan_bridge name=VLAN99 vlan-id=99
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
country=no_country_set disabled=no distance=indoors frequency=auto \
hide-ssid=yes installation=indoor mode=ap-bridge name=multimedia_ap \
security-profile=multimedia_sec ssid=multimedia vlan-id=10 \
wireless-protocol=802.11
add disabled=no hide-ssid=yes keepalive-frames=disabled mac-address=\
0A:55:31:17:2D:25 master-interface=multimedia_ap multicast-buffering=\
disabled name=bce_ap security-profile=bce_sec ssid=bce vlan-id=20 \
wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
/interface bridge port
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=pwr-line1
add bridge=vlan_bridge ingress-filtering=yes interface=ether2
add bridge=vlan_bridge interface=multimedia_ap pvid=10
add bridge=vlan_bridge interface=bce_ap pvid=20
/interface bridge vlan
add bridge=vlan_bridge tagged=ether2 untagged=multimedia_ap vlan-ids=10
add bridge=vlan_bridge tagged=ether2 untagged=bce_ap vlan-ids=20
add bridge=vlan_bridge tagged=ether2,vlan_bridge vlan-ids=99
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=10.0.99.6/24 interface=VLAN99 network=10.0.99.0