4.5.2 Lab – Implement Inter-VLAN Routing


-ˏˋ⋆ ᴡ ᴇ ʟ ᴄ ᴏ ᴍ ᴇ ⋆ˊˎ-


𝔟𝔞𝔠𝔨 𝔞𝔤𝔞𝔦𝔫 𝔴𝔦𝔱𝔥 𝔪𝔢𝔟𝔞𝔠𝔨 𝔞𝔤𝔞𝔦𝔫 𝔴𝔦𝔱𝔥 𝔪𝔢 𝔞𝔷𝔷𝔞𝔥𝔯𝔞 𝔫𝔲𝔯𝔞𝔦𝔫𝔦 𝔣𝔞𝔡𝔦𝔩𝔞𝔥 
𝕏𝕀 𝕋𝕁𝕂𝕋𝔹

✩ ♬ ₊˚.🎧⋆˚。𖦹 ⋆。°🎸⋆⁺₊✧⁺₊  




LANGKAH-LANGKAH :

- tambahkan 1 buah router , 2 buah switch dan 2 buah pc . sabungkan memakai kabel straight seperti yang ada di topology

1. ke router ke CLI , ketikan :

router> enable
router# config terminal
router(config)# hostname R1
R1(config)# no ip domain lookup
R1(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# service password-encryption
R1(config)# banner motd # Authorized Users Only! #
R1(config)# exit
R1# copy running-config startup-config


2. klik S1 dan S2 >CLI >ketik perintah berikut:

switch(config)# hostname S1

switch(config)# hostname S2

S1(config)# no ip domain-lookup

S2(config)# no ip domain-lookup

S1(config)# enable secret class

S2(config)# enable secret class

S1(config)# line console 0

S1(config-line)# password cisco

S1(config-line)# login

S2(config)# line console 0

S2(config-line)# password cisco

S2(config-line)# login

S1(config)# service password-encryption

S2(config)# service password-encryption

S1(config)# banner motd $ Authorized Users Only! $

S2(config)# exit

S2(config)# banner motd $ Authorized Users Only! $

S2(config)# exit

S1# clock set 15:30:00 21 sept 2024

S2# clock set 15:30:00 21 sept 2024

S1# copy running-config startup-config

S2# copy running-config startup-config

S1(config)# vlan 10

S1(config-vlan)# name Management

S1(config-vlan)# vlan 20

S1(config-vlan)# name Sales

S1(config-vlan)# vlan 30

S1(config-vlan)# name Operations

S1(config-vlan)# vlan 999

S1(config-vlan)# name Parking_Lot

S1(config-vlan)# vlan 1000

S1(config-vlan)# name Native

S1(config-vlan)# exit

S2(config)# vlan 10

S2(config-vlan)# name Management

S2(config-vlan)# vlan 20

S2(config-vlan)# name Sales

S2(config-vlan)# vlan 30

S2(config-vlan)# name Operations

S2(config-vlan)# vlan 999

S2(config-vlan)# name Parking_Lot

S2(config-vlan)# vlan 1000

S2(config-vlan)# name Native

S2(config-vlan)# exit

S1(config)# interface vlan 10

S1(config-if)# ip address 192.168.10.11 255.255.255.0

S1(config-if)# no shutdown

S1(config-if)# exit

S1(config)# ip default-gateway 192.168.10.1

S2(config)# interface vlan 10

S2(config-if)# ip address 192.168.10.12 255.255.255.0

S2(config-if)# no shutdown

S2(config-if)# exit

S2(config)# ip default-gateway 192.168.10.1

S1(config)# interface range f0/2 - 4 , f0/7 - 24 , g0/1 - 2

S1(config-if-range)# switchport mode access

S1(config-if-range)# switchport access vlan 999

S1(config-if-range)# shutdown

S2(config)# interface range f0/2 - 17 , f0/19 - 24 , g0/1 - 2

S2(config-if-range)# switchport mode access

S2(config-if-range)# switchport access vlan 999

S2(config-if-range)# shutdown

S1(config)# interface f0/6

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 20

S2(config)# interface f0/18

S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 30

S1# show vlan brief

S1(config)# interface f0/1

S1(config-if)# switchport mode trunk

S2(config)# interface f0/1

S2(config-if)# switchport mode trunk

S1(config-if)# switchport trunk native vlan 1000

S2(config-if)# switchport trunk native vlan 1000

S1(config-if)# switchport trunk allowed vlan 10,20,30,1000

S2(config-if)# switchport trunk allowed vlan 10,20,30,1000

S1# show interfaces trunk

S1(config)# interface f0/5

S1(config-if)# switchport mode trunk

S1(config-if)# switchport trunk native vlan 1000

S1(config-if)# switchport trunk allowed vlan 10,20,30,1000

S1# copy running-config startup-config

S2# copy running-config startup-config

3. klik R1 >CLI

R1(config)# interface g0/0/1

R1(config-if)# no shutdown

R1(config-if)# exit

R1(config)# interface g0/0/1.10

R1(config-subif)# encapsulation dot1q 10

R1(config-subif)# description Management Network

R1(config-subif)# ip address 192.168.10.1 255.255.255.0

R1(config-subif)# interface g0/0/1.20

R1(config-subif)# encapsulation dot1q 20

R1(config-subif)# description Sales Network

R1(config-subif)# ip address 192.168.20.1 255.255.255.0

R1(config-subif)# interface g0/0/1.30

R1(config-subif)# encapsulation dot1q 30

R1(config-subif)# description Operations Network

R1(config-subif)# ip address 192.168.30.1 255.255.255.0

R1(config-subif)# interface g0/0/1.1000

R1(config-subif)# encapsulation dot1q 1000 native

R1(config-subif)# description Native VLAN

R1# show ip interface brief


NAH UNTUK 4.5.2 CONFIGAN NYA SEPERTI INI YAA TEMAN TEMAN ૮꒰ ˶• × •˶꒱🌷ა !!

jika kalian belum mengerti , silahkan kunjungi link di bawah :

https://drive.google.com/drive/folders/132xUK6h_mfBVLF9A2XrBMHd-_w3QM0ZV?usp=sharing


. . . . . ╰──╮𝘴𝘦𝘦 𝘺𝘰𝘶 𝘪𝘯 𝘵𝘩𝘦 𝘯𝘦𝘹𝘵 𝘣𝘭𝘰𝘨╭──╯ . . . . .

⋯ ┄───┄  ۪  ᭠ ⸼ ┄───┄ ⋯


Komentar