Условие:
Какие изменения надо внести в текущую конфигурацию, чтобы соответствовало требованию "Компьютер автоматически будет использовать сеть 10.10.10.0/24 , если она на нем настроена. Нужно чтобы коммутатор связал ее с правильным L2-доменом."
/interface bridge\nadd frame-types=admit-only-vlan-tagged name=bridge1 vlan-filtering=yes
/interface vlan\nadd interface=bridge1 name=vlan10 vlan-id=10
/interface bonding\nadd mode=802.3ad name=bonding-gw slaves=ether1,ether2 transmit-hash-policy=layer-3-and-4
/port\nset 0 name=serial0
/interface bridge port\nadd bridge=bridge1 comment="PC1 ether1" interface=ether3 pvid=30\nadd bridge=bridge1 comment="PC2 ether1" interface=ether4 pvid=40\nadd bridge=bridge1 comment="GW bonding1" frame-types=admit-only-vlan-tagged interface=bonding-gw\nadd bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged interface=ether5 pvid=50
/interface bridge vlan\nadd bridge=bridge1 tagged=bonding-gw untagged=ether3 vlan-ids=30\nadd bridge=bridge1 tagged=bonding-gw untagged=ether4 vlan-ids=40\nadd bridge=bridge1 tagged=bonding-gw,ether3,ether4 vlan-ids=50\nadd bridge=bridge1 tagged=bonding-gw untagged=ether3,ether4 vlan-ids=20\nadd bridge=bridge1 tagged=bridge1,bonding-gw untagged=ether3 vlan-ids=10
/interface ethernet switch rule\nadd new-vlan-id=20 ports=ether3,ether4 src-mac-address=84:A9:3E:53:B4:4F/FF:FF:FF:00:00:00 switch=switch1\nadd dst-address=10.10.10.0/255.255.255.0 mac-protocol=arp ports=ether3 src-address=10.10.30.0/255.255.255.0 switch=switch1\nadd dst-address=10.10.10.0/255.255.255.0 mac-protocol=ip ports=ether3 src-address=10.10.30.0/255.255.255.0 switch=switch1
/ip address\nadd address=10.10.10.111/24 interface=vlan10 network=10.10.10.0
/system identity\nset name=SW

