Translate

MikroTik Inter-VLAN Routing


Keterangan:
1. VLAN Gateway disetting sebagai gateway dari VLAN
2. Switch-1 ether1 & ether5 Trunking VLAN-10 & VLAN-20
3. Switch-2 ether5 Trunking VLAN-10 & VLAN-20
4. Switch-1 ether2 Access Port VLAN-10 & ether3 Access Port VLAN-20
5. Switch-2 ether2 Access Port VLAN-10 & ether3 Access Port VLAN-20
6. mohon maaf karena menggunakan bahasa cisco switching hehehe

VLAN Gateway
/system identity set name=VLAN-Gateway
/interface vlan
add interface=ether1 name=vlan10 vlan-id=10
add interface=ether1 name=vlan20 vlan-id=20
/ip address
add address=192.168.10.1/24 interface=vlan10
add address=192.168.20.1/24 interface=vlan20

Switch-1
/system identity set name=Switch-1
/interface bridge
add name=TRUNK
add name=VLAN-10
add name=VLAN-20
/interface vlan
add interface=TRUNK name=vlan10 vlan-id=10
add interface=TRUNK name=vlan20 vlan-id=20
/interface bridge port
add bridge=TRUNK interface=ether1
add bridge=TRUNK interface=ether5
add bridge=VLAN-10 interface=ether2
add bridge=VLAN-10 interface=vlan10
add bridge=VLAN-20 interface=ether3
add bridge=VLAN-20 interface=vlan20

Switch-2
/system identity set name=Switch-2
/interface bridge
add name=VLAN-10
add name=VLAN-20
/interface vlan
add interface=ether5 name=vlan10 vlan-id=10
add interface=ether5 name=vlan20 vlan-id=20
/interface bridge port
add bridge=VLAN-10 interface=vlan10
add bridge=VLAN-20 interface=vlan20
add bridge=VLAN-10 interface=ether2
add bridge=VLAN-20 interface=ether3

0 Comment:

Post a Comment