Hi Guys, Does any one tried before to route L2 bridge packet? Sounds strange but I`m far from my office and need to know possibility before test it on my office few weeks later. This is something like in below.
- Make routerOS as transparent bridge
/interface bridge add name=bridge1;
/interface bridge port add interface=ether1 bridge=bridge1;
/interface bridge port add interface=ether2 bridge=bridge1;
- Put ip address on bridge interface to make router possible to comminicate with next hop.
/ip address add address=192.168.2.2/24 interface=bridge1
- Then make bridge packets pass through IP firewall (use-ip-firewall=yes)
/interface bridge settings set use-ip-firewall=yes
- Mark those packets with new routing-mark
/ip firewall mangle add chain=prerouting src-address=192.168.1.1 action=mark-routing new-routing-mark=mark1
- Finally route those packets
/ip route add dst-address=0.0.0.0/0 routing-mark=mark1 gateway=192.168.2.1