알고 싶은 점


과정


1. VLAN설정

Switch0 설정

vlan 10
exit
vlan 20
exit
int f0/3
switchport mode trunk
int f0/1
switchport mode access
switchport access vlan 10
int f0/2
switchport mode access
switchport access vlan 20
do sh vlan

Untitled

Untitled

Router0 설정

int f0/0
no sh

int f0/0.10
encapsulation dot1q 10
ip add 192.168.100.100 255.255.255.128
no sh

int f0/0.20
encapsulation dot1q 20
ip add 192.168.100.130 255.255.255.224
no sh