Silahkan dibentuk topologi diatas dengan Packet Tracer
# TKJ-DS1
Switch>enable
Switch#conf t
Switch(config)#hostname TKJ-DS1
TKJ-DS1(config)#vlan 100
TKJ-DS1(config-vlan)#name DATA
TKJ-DS1(config-vlan)#vlan 200
TKJ-DS1(config-vlan)#name VOICE
TKJ-DS1(config-vlan)#int fa0/24
TKJ-DS1(config-if)#switchport mode access
TKJ-DS1(config-if)#switchport access vlan 100
Switch#conf t
Switch(config)#hostname TKJ-DS1
TKJ-DS1(config)#vlan 100
TKJ-DS1(config-vlan)#name DATA
TKJ-DS1(config-vlan)#vlan 200
TKJ-DS1(config-vlan)#name VOICE
TKJ-DS1(config-vlan)#int fa0/24
TKJ-DS1(config-if)#switchport mode access
TKJ-DS1(config-if)#switchport access vlan 100
#TKJ-DS2
Switch>en
Switch#conf t
Switch(config)#hostname TKJ-DS2
TKJ-DS2(config)#vlan 100
TKJ-DS2(config-vlan)#name DATA
TKJ-DS2(config-vlan)#vlan 200
TKJ-DS2(config-vlan)#name VOICE
TKJ-DS2(config-vlan)#int fa0/24
TKJ-DS2(config-if)#switchport mode access
TKJ-DS2(config-if)#switchport access vlan 100
Switch#conf t
Switch(config)#hostname TKJ-DS2
TKJ-DS2(config)#vlan 100
TKJ-DS2(config-vlan)#name DATA
TKJ-DS2(config-vlan)#vlan 200
TKJ-DS2(config-vlan)#name VOICE
TKJ-DS2(config-vlan)#int fa0/24
TKJ-DS2(config-if)#switchport mode access
TKJ-DS2(config-if)#switchport access vlan 100
#TKJ-AS1
Switch>enable
Switch#conf t
Switch(config)#hostname TKJ-AS1
TKJ-AS1(config)#vlan 100
TKJ-AS1(config-vlan)#name DATA
TKJ-AS1(config-vlan)#vlan 200
TKJ-AS1(config-vlan)#name VOICE
TKJ-AS1(config-vlan)#int fa0/23
TKJ-AS1(config-if)#switchport access vlan 100
TKJ-AS1(config-if)#int fa0/24
TKJ-AS1(config-if)#switchport access vlan 200
TKJ-AS1(config-if)#
Switch#conf t
Switch(config)#hostname TKJ-AS1
TKJ-AS1(config)#vlan 100
TKJ-AS1(config-vlan)#name DATA
TKJ-AS1(config-vlan)#vlan 200
TKJ-AS1(config-vlan)#name VOICE
TKJ-AS1(config-vlan)#int fa0/23
TKJ-AS1(config-if)#switchport access vlan 100
TKJ-AS1(config-if)#int fa0/24
TKJ-AS1(config-if)#switchport access vlan 200
TKJ-AS1(config-if)#
#TKJ-AS2
Switch>en
Switch#conf t
Switch(config)#hostname TKJ-AS2
TKJ-AS2(config)#vlan 100
TKJ-AS2(config-vlan)#name DATA
TKJ-AS2(config-vlan)#vlan 200
TKJ-AS2(config-vlan)#name VOICE
TKJ-AS2(config-vlan)#int fa0/23
TKJ-AS2(config-if)#switchport access vlan 100
TKJ-AS2(config-if)#int fa0/24
TKJ-AS2(config-if)#switchport access vlan 200
TKJ-AS2(config-if)#
Switch#conf t
Switch(config)#hostname TKJ-AS2
TKJ-AS2(config)#vlan 100
TKJ-AS2(config-vlan)#name DATA
TKJ-AS2(config-vlan)#vlan 200
TKJ-AS2(config-vlan)#name VOICE
TKJ-AS2(config-vlan)#int fa0/23
TKJ-AS2(config-if)#switchport access vlan 100
TKJ-AS2(config-if)#int fa0/24
TKJ-AS2(config-if)#switchport access vlan 200
TKJ-AS2(config-if)#
———————————————————————————-
#TKJ-DS1
TKJ-DS1(config)#int fa0/1
TKJ-DS1(config-if)#switchport trunk encapsulation dot1q
TKJ-DS1(config-if)#switchport mode trunk
TKJ-DS1(config)#int Gig0/1
TKJ-DS1(config-if)#switchport trunk encapsulation dot1q
TKJ-DS1(config-if)#switchport mode trunk
TKJ-DS1(config-if)#switchport trunk encapsulation dot1q
TKJ-DS1(config-if)#switchport mode trunk
TKJ-DS1(config)#int Gig0/1
TKJ-DS1(config-if)#switchport trunk encapsulation dot1q
TKJ-DS1(config-if)#switchport mode trunk
#TKJ-DS2
TKJ-DS2(config)#int fa0/1
TKJ-DS2(config-if)#switchport trunk encapsulation dot1q
TKJ-DS2(config-if)#switchport mode trunk
TKJ-DS2(config-if)#switchport trunk encapsulation dot1q
TKJ-DS2(config-if)#switchport mode trunk
#ROUTER
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#no shutdown
Router(config-if)#int fa0/1.100
Router(config-subif)#encapsulation dot1Q 100
Router(config-subif)#ip address 192.168.100.254 255.255.255.0
Router(config-subif)#int fa0/1.200
Router(config-subif)#encapsulation dot1Q 200
Router(config-subif)#ip address 192.168.200.254 255.255.255.0
Router(config-subif)#exit
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#no shutdown
Router(config-if)#int fa0/1.100
Router(config-subif)#encapsulation dot1Q 100
Router(config-subif)#ip address 192.168.100.254 255.255.255.0
Router(config-subif)#int fa0/1.200
Router(config-subif)#encapsulation dot1Q 200
Router(config-subif)#ip address 192.168.200.254 255.255.255.0
Router(config-subif)#exit
0 Komentar untuk "Latihan 3 Konfigurasi Vlan Dan Intervlan Routing"