
I’m trying to get the most minimal configuration possible working. I just have PC, hEX S router & CRS113 switch, setting aside the Audience & wAP AC for now.
On the router & switch, I have default configuration (I can do this part manually and at least feel comfortable with basic configuration, but I’ve reset enough times that I’m just sticking with default.)
On the router, I disabled all firewall rules, added a new bridge and moved ether3 to it, made it a trunk port, and connected it to my switch.
# Just the changes; complete export below
/interface bridge
add name=bridge-trunks vlan-filtering=yes
/interface bridge port
add bridge=bridge-trunks interface=ether3
/interface bridge vlan
add bridge=bridge-trunks tagged=bridge-trunks,ether3 vlan-ids=99
add bridge=bridge-trunks tagged=bridge-trunks,ether3 vlan-ids=101
add bridge=bridge-trunks tagged=bridge-trunks,ether3 vlan-ids=107
/interface vlan
add interface=bridge-trunks name=vlan99-base vlan-id=99
add interface=bridge-trunks name=vlan101-guest vlan-id=101
add interface=bridge-trunks name=vlan107-iot vlan-id=107
/ip address
add address=192.168.99.1/24 interface=vlan99-base network=192.168.99.0
add address=192.168.101.1/24 interface=vlan101-guest network=192.168.101.0
add address=192.168.107.1/24 interface=vlan107-iot network=192.168.107.0
/ip pool
add name=pool-base ranges=192.168.99.2-192.168.99.254
add name=pool-guest ranges=192.168.101.2-192.168.101.254
add name=pool-iot ranges=192.168.107.2-192.168.107.254
/ip dhcp-server
add address-pool=pool-base disabled=no interface=vlan99-base name=dhcp-base
add address-pool=pool-guest disabled=no interface=vlan101-guest name=dhcp-guest
add address-pool=pool-iot disabled=no interface=vlan107-iot name=dhcp3-iot
/ip dhcp-server network
add address=192.168.99.0/24 dns-server=8.8.8.8 gateway=192.168.99.1
add address=192.168.101.0/24 dns-server=8.8.8.8 gateway=192.168.101.1
add address=192.168.107.0/24 dns-server=8.8.8.8 gateway=192.168.107.1
/ip neighbor discovery-settings
set discover-interface-list=all
/tool mac-server
set allowed-interface-list=all
On the switch, I added a new bridge and moved ether1 & 2 to it, made them trunk ports, and connected it to my router.
# Just the changes; complete export below
/interface bridge
add name=bridge-trunks vlan-filtering=yes
/interface vlan
add interface=bridge-trunks name=vlan99-base vlan-id=99
add interface=bridge-trunks name=vlan101-guest vlan-id=101
add interface=bridge-trunks name=vlan107-iot vlan-id=107
/interface bridge port
add bridge=bridge-trunks interface=ether1
add bridge=bridge-trunks interface=ether2
/interface bridge vlan
add bridge=bridge-trunks tagged=bridge-trunks,ether1,ether2 vlan-ids=99
add bridge=bridge-trunks tagged=bridge-trunks,ether1,ether2 vlan-ids=101
add bridge=bridge-trunks tagged=bridge-trunks,ether1,ether2 vlan-ids=107
/ip neighbor discovery-settings
set discover-interface-list=all
/tool mac-server
set allowed-interface-list=all
With my PC plugged in to the router, ether2, I can access the router, but loose connection to the switch when I enable bridge filtering. What am I doing wrong?
hEx S Complete
https://gist.github.com/simsrw73/0ca645becbe0a2605caa05ab7397153e
CRS112 Complete
https://gist.github.com/simsrw73/5b397883f831fa5ba690331a85f68a45