目录
一、实验目标
- 掌握DHCP全局地址池的配置方法;
- 掌握在交换机端口启用DHCP发现功能和IP地址分配的功能;
二、实验拓扑图
三、配置基本环境
注:这里是首先要关闭R1上的G0/0/1接口,和R2上的G0/0/1接口。
R1:
<R1>system-view
Enter system view, return user view with Ctrl+Z.
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.1.12.1 24
[R1-GigabitEthernet0/0/0]q
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip address 10.1.13.2 24
[R1-GigabitEthernet0/0/1]shutdown
Mar 23 2022 11:49:25-08:00 R1 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern
et0/0/1 has turned into DOWN state.
[R1-GigabitEthernet0/0/1]
[R1-GigabitEthernet0/0/1]q
[R1]
R2:
<R2>system-view
Enter system view, return user view with Ctrl+Z.
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip address 10.1.13.2 24
[R2-GigabitEthernet0/0/0]q
[R2]int g0/0/1
[R2-GigabitEthernet0/0/1]ip address 10.1.12.2 24
[R2-GigabitEthernet0/0/1]shutdown
Mar 23 2022 11:53:51-08:00 R2 %%01IFPDT/4/IF_STATE(l)[0]:I