I am trying to understand how toconfigure RouterOS routing.
I am reading https://help.mikrotik.com/docs/display/ ... figuration
The resume of their scripting is :
Code: Select all
# 1- clean router
/system reset-configuration no-defaults=yes skip-backup=yes
# 2- create bridge
/interface bridge add name=local
/interface bridge port add interface=ether2 bridge=local
/ip address add address=192.168.88.1/24 interface=local
# 3- setup DHCP server (ommited)
# 4- configure internet connection
/ip address add address=1.2.3.100/24 interface=ether1
/ip route add gateway=1.2.3.1
/ip dns set servers=8.8.8.8
# 5- route
/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade
1) why is it coding a "bridge" of just one interface ?
2) I see "out-interface" is specified tobe "ether1", but why "ether2" is not specified, neither "local" bridge ?
Thanks for your help or any URL or pointer.