Różnice między wybraną wersją a wersją aktualną.
Poprzednia rewizja po obu stronachPoprzednia wersjaNowa wersja | Poprzednia wersjaOstatnia wersjaNastępna rewizja po obu stronach | ||
mikrotik-switche-vlany-router [2017/05/09 14:04] – kamil | mikrotik-switche-vlany-router [2017/05/09 14:40] – kamil | ||
---|---|---|---|
Linia 6: | Linia 6: | ||
{{: | {{: | ||
- | Do switchy podpinamy się za pomocą adresu MAC (program WinBox -> zakładka Neighbors). | + | Do switchy podpinamy się za pomocą adresu MAC (program WinBox -> zakładka Neighbors). |
Na każdym switchu sprawdzamy ustawienia master portu na interfejsach: | Na każdym switchu sprawdzamy ustawienia master portu na interfejsach: | ||
Linia 65: | Linia 65: | ||
</ | </ | ||
+ | VLAN do zarządzania switchem: | ||
+ | < | ||
+ | /interface vlan | ||
+ | add name=vlan99 vlan-id=99 interface=ether1 | ||
+ | /ip address | ||
+ | add address=192.168.101.2/ | ||
+ | /interface ethernet switch egress-vlan-tag | ||
+ | add tagged-ports=ether1, | ||
+ | /interface ethernet switch vlan | ||
+ | add ports=ether1, | ||
+ | </ | ||
===== CRS125-24G-1S-IN ===== | ===== CRS125-24G-1S-IN ===== | ||
Linia 88: | Linia 99: | ||
add ports=trunk-1-2, | add ports=trunk-1-2, | ||
add ports=trunk-1-2, | add ports=trunk-1-2, | ||
+ | </ | ||
+ | |||
+ | VLAN do zarządzania switchem: | ||
+ | < | ||
+ | /interface vlan | ||
+ | add name=vlan99 vlan-id=99 interface=ether1 | ||
+ | /ip address | ||
+ | add address=192.168.101.3/ | ||
+ | /interface ethernet switch egress-vlan-tag | ||
+ | add tagged-ports=ether1, | ||
+ | /interface ethernet switch vlan | ||
+ | add ports=ether1, | ||
</ | </ | ||
Linia 105: | Linia 128: | ||
add address=192.168.99.1/ | add address=192.168.99.1/ | ||
add address=192.168.100.1/ | add address=192.168.100.1/ | ||
+ | </ | ||
+ | |||
+ | VLAN do zarządzania routerem: | ||
+ | < | ||
+ | /interface vlan | ||
+ | add name=vlan99 vlan-id=99 interface=bonding1 | ||
+ | /ip address | ||
+ | add address=192.168.101.1/ | ||
</ | </ | ||