DHCP—组网实验—思科模拟器(实现)
1 设备准备
2 实验开始
2.1 接口配置
2.1.1 交换机的配置
- 左交换机的配置
en
conf t
vl 10
vl 20
in f0/1
sw mo ac
sw ac v 10
in f0/2
sw mo ac
sw ac v 20
in f0/3
sw mo tr
sw tr all v all
- 右交换机的配置
2.1.2 三层交换机的配置
en
conf t
vl 10
vl 20
in f0/1
sw tr en d
sw mo tr
sw tr all v all
in f0/2
sw tr en d
sw mo tr
sw tr all v all
in f0/3
ip add 3.3.3.1 255.255.255.0
no sh
in vlan 10
ip add 1.1.1.1 255.0.0.0
no sh
in vlan 20
ip add 2.2.2.1 255.0.0.0
no sh
2.1.3 路由器的配置
en
ocnf t
in g0/0
ip add 3.3.3.2 255.0.0.0
no sh