I'm a little bit lost. I have to configure RB3011UiAS running ROS 6.44. I'm trying to configure it with a switch and use hardware offloading.
I need to configure:
ether1 - gateway (internet)
ether5 - hybrid port - tagged VLAN 20,30 + untagged VLAN 1
ether6 - untagged VLAN 1
ether7 - untagged VLAN 1
ether8 - untagged VLAN 1
ether9 - untagged VLAN 1
On port ether5 there is a Ubiquiti switch and APs. I need to have there tagged VLANs for guests and untagged VLAN 1 for management.
On other ports there is a computer on ether9, where I have UniFi controller and WinBox for configuring RB and switch + APs.
Here is my configuration:
Code: Select all
/interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=ether5 hw=yes
add bridge=bridge1 interface=ether6 hw=yes
add bridge=bridge1 interface=ether7 hw=yes
add bridge=bridge1 interface=ether8 hw=yes
add bridge=bridge1 interface=ether9 hw=yes
/interface ethernet switch vlan
add ports=ether5 switch=switch2 vlan-id=20
add ports=ether5 switch=switch2 vlan-id=30
/interface ethernet switch port
set ether5 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
set ether6 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
set ether7 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
set ether8 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
set ether9 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
/ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1
/ip address add address=192.168.1.253/255.255.255.0 interface=bridge1 disabled=no
/ip pool add name=pool1 ranges=192.168.1.100-192.168.1.200
/ip dhcp-server add name=server1 interface=bridge1 address-pool=pool1
/ip dhcp-server enable server1
/ip dhcp-server network add address=192.168.1.0/255.255.255.0 gateway=192.168.1.253 netmask=255.255.255.0 dns-server=8.8.8.8
Where to put switch2-cpu? I need to put it somewhere to be able to manage RB from untagged VLAN 1 am I right?
Also I'm a little bit confused in case of vlan-mode and vlan-header options :-/
Any help would be greatly appreciated! Thank you!