配置路由器为DHCP终极代理
- 在 R1 上使能 DHCP 功能
- 在 R1 的各个接口下使能 DHCP 中继功能,并配置 DHCP Server 的 IP 地址
网络拓扑图:
配置 R1 的接口参数:在上一篇文章DHCP Server(一)的前提下增加一个接口并且要删除在接口的DHCP功能的配置:
上一篇文章DHCP Server(一):
https://blog.csdn.net/qq_48111800/article/details/123964749?spm=1001.2014.3001.5501
[DHCP]sysn R1
[R1]int g0/0/3
[R1-GigabitEthernet0/0/3]ip add 172.10.1.2 24
[R1-GigabitEthernet0/0/3]quit
[R1-GigabitEthernet0/0/0]undo dhcp select global
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]undo dhcp select global
[R1-GigabitEthernet0/0/1]int g0/0/2
[R1-GigabitEthernet0/0/2]undo dhcp select global
[R1-GigabitEthernet0/0/2]quit
此时R1的接口状态:
[R1]dis ip int brief
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 6
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 6
Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 unassigned down down
Ethernet0/0/1 unassigned down down
GigabitEthernet0/0/0