DHCP配置步骤:
R1(config)#ip dhcp pool vlan10 #DHCP地址池名称
R1(dhcp-config)#network 192.168.1.0 255.255.255.0 #网段
R1(dhcp-config)#dns-server 202.96.134.33 202.96.134.133 #DNS
R1(dhcp-config)#default-router 192.168.1.1 #默认网关
R1(config)#ip dhcp excluded-address 192.168.1.10 192.168.1.20 #预留地址
时间: 2024-10-15 18:55:50