Oke kali ini saya akan mempraktekan inter vlan routing dan begini topologi dan kasus nya
Topologi
router config
enable
conf t
interface g0/0
no shutdown
interface g0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
interface g0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
Router
switch config
enable
conf t
vlan 10
name VLAN10
vlan 20
name VLAN20
interface range fa0/1 - 2
switchport mode access
switchport access vlan 10
interface range fa0/3 - 4
switchport mode access
switchport access vlan 20
interface fa0/24
switchport mode trunk
exit
switch
ping pc on vlan 10 → pca vlan 20
kebalikan