Router 4331 = 1
en
conf t
int g0/0/0
no shut
ex
int g0/0/0.10
encapsulation dot1Q 10
ip add 192.168.10.1 255.255.255.0
ex
int g0/0/0.20
encapsulation dot1Q 20
ip add 192.168.20.1 255.255.255.0
ex
ip dhcp pool vlan10
net 192.168.10.0 255.255.255.0
default-router 192.168.10.1
ip dhcp pool vlan20
net 192.168.20.0 255.255.255.0
default-router 192.168.20.1
SW 2960 = 2
SW 1
en
conf t
int g0/2
sw mode trunk
do wr
SW 2
en
conf t
int g0/1
sw mode trunk
do wr
PC = 6
PC 1 -> SW 1 DHCP
PC 2 -> SW 1 DHCP
PC 3 -> SW 1 DHCP
PC 4 -> SW 1 DHCP
PC 5 -> SW 2 STATIC
PC 6 -> SW 2 STATIC
Kamis, 19 Januari 2023
Home »
» INTERVLAN
0 komentar:
Posting Komentar