Code: Select all
[admin@MikroTik] > export compact
# jan/25/1970 14:34:25 by RouterOS 5.14
# software id = FP7P-M89C
#
/interface bridge
add name=bridge-phones
add name=bridge-san
add l2mtu=1598 name=bridge-network
add name=bridge-workstations
add name=bridge-lab
add l2mtu=1598 name=bridge-public
add name=bridge-misc
/interface vlan
add interface=bridge-phones l2mtu=65531 name=vlan-10-phones vlan-id=10
add interface=bridge-san l2mtu=65531 name=vlan-20-san vlan-id=20
add interface=bridge-network l2mtu=1594 name=vlan-21-network vlan-id=21
add interface=bridge-workstations l2mtu=65531 name=vlan-30-workstations vlan-id=30
add interface=bridge-lab l2mtu=65531 name=vlan-40-lab vlan-id=40
add interface=bridge-public l2mtu=1594 name=vlan-50-public vlan-id=50
add interface=bridge-misc l2mtu=65531 name=vlan-60-misc vlan-id=60
/interface bridge port
add bridge=bridge-network interface=ether1
add bridge=bridge-network interface=ether2
add bridge=bridge-network interface=ether3
add bridge=bridge-network interface=ether4
add bridge=bridge-network interface=ether5
add bridge=bridge-network interface=ether6
add bridge=bridge-public interface=ether7
add bridge=bridge-public interface=ether8
add bridge=bridge-network interface=ether9
add bridge=bridge-network interface=ether10
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=ether1
add address=10.105.10.254/24 interface=bridge-phones
add address=10.105.20.254/24 interface=bridge-san
add address=10.105.21.251/24 interface=bridge-network
add address=10.105.30.254/24 interface=bridge-workstations
add address=10.105.40.254/24 interface=bridge-lab
add address=10.105.50.254/24 interface=bridge-public
add address=10.105.60.254/24 interface=bridge-misc
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/system health
set use-fan=auxiliary
[admin@MikroTik] >