da bracco64 » dom 30 apr 2017, 22:51
Ciao Xanio,
questa è la configurazione delle 2 routerboard.
/interface ethernet
set [ find default-name=ether2 ] name=ether2
set [ find default-name=ether3 ] master-port=ether2 name=\
ether3
set [ find default-name=ether4 ] master-port=ether2 name=\
ether4
set [ find default-name=ether5 ] master-port=ether2 name=\
ether5
/interface vlan
add interface=ether2 name=vlan10 vlan-id=10
/interface ethernet
set [ find default-name=ether1 ] master-port=ether2 name=\
ether1
/interface ethernet switch port
set 0 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 1 vlan-header=add-if-missing vlan-mode=secure
set 2 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=20 vlan-header=always-strip vlan-mode=secure
set 5 vlan-mode=secure
/interface ethernet switch vlan
add ports="ether2,ether1,ether3,ether4\
,switch1-cpu" switch=switch1 vlan-id=10
add ports=ether2,ether5 switch=switch1 vlan-id=20
/ip address
add address=10.10.20.51/24 interface=vlan10 network=10.10.20.0
/ip route
add distance=1 gateway=10.10.20.1 pref-src=10.10.20.51
/system ntp client
set enabled=yes primary-ntp=193.204.114.232
/system clock
set time-zone-name=Europe/Rome