有个问题想请教一下各位大佬,我在交换机上起了一个dhcp地址池,192.168.20.0/22,想要保留一下192.168.21-23.0;192.168.21-23.255;这几个ip不被终端获取到,保留地址如果ip dhcp excluded-address 192.168.21.0
ip dhcp excluded-address 192.168.21.255,这样的写法是交换机会不会认为是保留的是整个网段的?
配置如下:
ip dhcp excluded-address 192.168.21.0
ip dhcp excluded-address 192.168.21.255
ip dhcp excluded-address 192.168.22.0
ip dhcp excluded-address 192.168.22.255
ip dhcp excluded-address 192.168.23.0
ip dhcp excluded-address 192.168.23.255
ip dhcp pool vlan20
network 192.168.20.0 255.255.252.0
default-router 192.168.20.1
dns-server 10.128.0.1 10.20.20.12
lease 0 4