Recently, I've found Manual:Layer2 misconfiguration - VLAN in bridge with a physical interface https://wiki.mikrotik.com/wiki/Manual:L ... interfaces .
I have the same configuration and would like to make it better. However, the provided solution is not suitable in my case, because it's impossible to add an interface to more than one bridge.
I have 2 IPs from my ISP: one for my router (hAP ac2) and one for my home server.
I want my server to be connected to LAN as well as connected to the internet directly, using the IP from ISP.
There is only one Ethernet port on the server.
Currently, my working config is:
Code: Select all
/interface ethernet
set [ find default-name=ether1 ] name=ether1-wan
/interface vlan
add interface=ether2 name=vlan10 vlan-id=10
/interface bridge
add name=br-lan
add name=br-wan protocol-mode=none
/interface bridge port
add bridge=br-lan interface=wlan24
add bridge=br-lan interface=wlan50
add bridge=br-lan hw=no interface=ether2
add bridge=br-lan interface=ether3
add bridge=br-lan interface=ether4
add bridge=br-lan interface=ether5
add bridge=br-wan interface=ether1-wan
add bridge=br-wan interface=vlan10
add bridge=br-lan interface=wlan24.1
add bridge=br-lan interface=wlan50.1
/ip dhcp-client
add disabled=no interface=br-wan use-peer-dns=no use-peer-ntp=no
Code: Select all
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.253 netmask 255.255.255.0 broadcast 10.10.10.255
vlan10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 176.38.50.112 netmask 255.252.0.0 broadcast 176.39.255.255
default _gateway 0.0.0.0 UG 0 0 0 vlan10
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 enp2s0
One interesting thing I noted is that upload speed on the server is limited to ~170 Mbps, if HW offload is turned on on ether2. With HW offload turned off on ether2, the upload speed is as expected (700+ Mbps).
So, the question is: how to configure the same in the right way?