我们有两个子网configuration如下:
subnet 10.162.146.64 netmask 255.255.255.192 { option routers 10.162.146.65; option subnet-mask 255.255.255.192; option broadcast-address 10.162.146.127; default-lease-time 43200; class "Cisco AP c3800" { match if option vendor-class-identifier = "Cisco AP c3800"; option vendor-class-identifier "Cisco AP c3800"; vendor-option-space Cisco_LWAPP_AP; option Cisco_LWAPP_AP.server-address 10.32.40.34; } pool { failover peer "te-failover"; deny dynamic bootp clients; range 10.162.146.70 10.162.146.125; } } subnet 10.162.146.128 netmask 255.255.255.224 { option routers 10.162.146.129; option subnet-mask 255.255.255.224; option broadcast-address 10.162.146.159; default-lease-time 43200; class "Cisco AP c3800" { match if option vendor-class-identifier = "Cisco AP c3800"; option vendor-class-identifier "Cisco AP c3800"; vendor-option-space Cisco_LWAPP_AP; option Cisco_LWAPP_AP.server-address 10.32.40.34; } pool { failover peer "te-failover"; deny dynamic bootp clients; range 10.162.146.130 10.162.146.157; } }
当我们连接下面的子网10.162.146.128/27中的CISCO WLAN设备(AP)时,AP发送一个正确的发现数据包,但是在从DHCP响应时发送上面提到的子网10.162.146.64/26的参数。
如果我们更改订单,它正在工作。 所以它只适用于第一块中提到的子网。