I have a setup with a CRS125-24G-1S and a HAPac 962UiGS-5HacT2HnT. I have two vlans I am sharing between the two devices using a trunk port.
vlan20 - 172.18.8.0/28
vlan21 - 172.18.9.0/26
As an example for the trunk port config I looked at the VLAN Example 1 (Trunk and Access Ports) part of this example config. For the wireless tagged traffic I looked at the VLAN mode usage part of this example configuration.
On the CRS i have a IP address assigned to VLAN21 -> 172.18.9.1 which I use to access the webfig env. I configured the HAPac according to the beneatch config but i am unable to successfully connect to the HAPac using the IP adress 172.18.9.2. From the crs125 i am unable to ping 172.18.9.2 and from the HAPac i am unable to ping 172.18.9.1. Strange thing is, the trunk is working fine and because I receive an IP on the HAPac ether2 from the DHCP server on vlan20 from CRS125. I would like to bridge the whole thing together but until now I am running into this issue :-/
Config CRS125:
Code: Select all
/interface ethernet
set [ find default-name=ether3 ] master-port=ether2
/interface vlan
add interface=ether2 name=lantrusted vlan-id=20
add interface=ether2 name=wlantrusted vlan-id=21
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether3,switch1-cpu vlan-id=20
add tagged-ports=ether3,switch1-cpu vlan-id=21
/interface ethernet switch vlan
add ports=ether3,switch1-cpu vlan-id=20
add ports=ether3,switch1-cpu vlan-id=21
/ip address
add address=172.18.8.1/28 interface=lantrusted network=172.18.8.0
add address=172.18.9.1/26 interface=wlantrusted network=172.18.9.0
Code: Select all
/interface bridge
add name=bridge_trunk protocol-mode=none
add name=bridge_wlan
/interface ethernet
set [ find default-name=ether2 ] master-port=ether1
set [ find default-name=ether3 ] master-port=ether1
set [ find default-name=ether4 ] master-port=ether1
set [ find default-name=ether5 ] master-port=ether1
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Nowyouseeme vlan-id=21 vlan-mode=use-tag wireless-protocol=802.11 wps-mode=disabled
/interface vlan
add interface=ether1 name=vlan21-ether1 vlan-id=21
add interface=wlan2 name=vlan21-wlan2 vlan-id=21
/interface ethernet switch port
set 0 vlan-header=add-if-missing vlan-mode=secure
set 1 default-vlan-id=20 vlan-header=always-strip vlan-mode=secure
/interface bridge port
add bridge=bridge_trunk interface=ether1
add bridge=bridge_wlan interface=vlan21-ether1
add bridge=bridge_wlan interface=vlan21-wlan2
/interface ethernet switch vlan
add independent-learning=yes ports=ether1,ether2 switch=switch1 vlan-id=20
add independent-learning=yes ports=ether1 switch=switch1 vlan-id=21
/ip address
add address=172.18.9.2/26 interface=vlan21-ether1 network=172.18.9.0