Hi guys and gals.
Yes, I’m also a Cisco, Juniper and hpe guy, where world of VLANs is quite simple. You create vlans, assign membership of a switch port in vlans, set port as trunk and choose /or not a vlan as native (if not native vlan is always 1) Then, you create a l3 interface, assign an ip to it and, in case of juniper, assign l-3 interface to a vlan. From the hpe switches I’m also familiar with the PVID and multiple untagged vlans on port concept so this part on RouterOS/SwitchOS is not new for me.
I’d like to do the same thing on my RB750G Ge3 and also on my hAP ac^˘2.
I thought I got stuff figured out, but it doesn’t work as I thought it would.
At the moment, I have set up RB750G Gr3 as gateway, and a hAP ac^2 as a switch (later will be using two of them for wireless bridge). There will be cisco switch between the RB750 (ether5) and a (ether1) hAP, There will also be some Cisco APs and other devices using vlan 1 as native , so native vlan 1 is a must.
Current setup is:
Trunk with pvid=1 on ether5 on RB750 and on ether1&2 on hAP . Test PCs is connected to ether4 on 750 and on ether5 on hAP. RB750 and hAP are connected ether5 - ether1
I set up an infrastructure l-3 interface on default bridge and assigned it an /24 address. I did the same on RB750 and hAP. For other vlans I’ve just created l3- interfaces on default bridge onlyon RB750 and assigned them addresses. I haven’t created all vlans on hAP yet, just vlan 5 and 10 for testing.
Both pc’s access the internet, both can ping all gateway ips and both can ping gateway infrastructure ip.
Neither pc can ping hAP’s infrastructure ip.
Neither Mikrotik can ping each other’s infrastructure ips, hAP also can not access internet, which is logical, since can’t reach it’s gateway
Please advise me, what am I doing wrong?
RB750G Gr3:config
# nov/11/2020 22:02:10 by RouterOS 6.47.7
# model = RouterBOARD 750G r3
/interface bridge
add name=bridge vlan-filtering=yes
add name=services pvid=250 vlan-filtering=yes
/interface vlan
add interface=bridge name=closed vlan-id=2
add interface=ether1 name=data vlan-id=999
add interface=bridge name=dmz vlan-id=15
add interface=bridge name=infrastructure vlan-id=1
add interface=bridge name=public vlan-id=10
add interface=services name=service vlan-id=250
add interface=bridge name=surveilance vlan-id=20
add interface=bridge name=wlan vlan-id=5
/interface bridge port
add bridge=bridge interface=ether2 pvid=2
add bridge=bridge interface=ether3 pvid=2
add bridge=bridge interface=ether4 pvid=5
add bridge=bridge interface=ether5
/interface bridge vlan
add bridge=bridge tagged=bridge,ether5 untagged=ether1 vlan-ids=999
add bridge=bridge tagged=bridge,ether5 untagged=ether2,ether3 vlan-ids=2
add bridge=bridge tagged=ether5,bridge vlan-ids=10
add bridge=bridge tagged=bridge,ether5 untagged=ether4 vlan-ids=5
add bridge=bridge tagged=ether1,bridge,ether5 vlan-ids=3998,3999
add bridge=bridge tagged=bridge,ether5 vlan-ids=20
add bridge=services vlan-ids=250
add bridge=bridge untagged=ether5,bridge vlan-ids=1
/ip address
add address=172.20.0.1/24 interface=closed network=172.20.0.0
add address=172.20.5.1/25 interface=wlan network=172.20.5.0
add address=172.30.5.1/26 interface=public network=172.30.5.0
add address=172.55.0.1/28 interface=dmz network=172.55.0.0
add address=172.40.0.1/27 interface=surveilance network=172.40.0.0
add address=172.0.0.1 interface=services network=172.0.0.1
add address=10.0.0.1/24 interface=infrastructure network=10.0.0.0
hAP ac^2 config:
# nov/11/2020 22:39:13 by RouterOS 6.47.7
# model = RBD52G-5HacD2HnD
/interface bridge
add name=bridge vlan-filtering=yes
/interface vlan
add interface=bridge name=infrastructure vlan-id=1
add interface=bridge name=public vlan-id=10
add interface=bridge name=wlan vlan-id=5
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3 pvid=10
add bridge=bridge interface=ether5 pvid=5
/interface bridge vlan
add bridge=bridge tagged=ether1,bridge untagged=ether3
add bridge=bridge untagged=ether1,ether2 vlan-ids=1
add bridge=bridge tagged=bridge,ether1 untagged=ether5
/ip address
add address=10.0.0.201/24 interface=infrastructure network=10.0.0.0
add address=172.30.5.2/26 disabled=yes interface=public network=172.30.5.0
/ip route
add distance=1 gateway=10.0.0.1