我一直在尝试让 PC2 通过 DHCP 获取其 IP,并且池位于 MKTI 路由器上。我所做的是在 MKTI 路由器上创建 3 个 DHCP 池,但是,第三个总是搞砸了。
我输入这些命令:
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.10.65
ip dhcp excluded-address 192.168.10.105
ip dhcp pool VLAN-POOL-10
net 192.168.10.0 255.255.255.192
default-router 192.168.10.1
ip dhcp pool VLAN-POOL-20
net 192.168.10.64 255.255.255.224
default-router 192.168.10.65
ip dhcp pool POOL-QC
net 192.168.10.104 255.255.255.192
default-router 192.168.10.105
但是把它作为输出:
ip dhcp pool VLAN-POOL-10
network 192.168.10.0 255.255.255.192
default-router 192.168.10.1
ip dhcp pool VLAN-POOL-20
network 192.168.10.64 255.255.255.224
default-router 192.168.10.65
ip dhcp pool POOL-QC
network 192.168.10.64 255.255.255.192
default-router 192.168.10.105
QC 注册为 .64 而不是 .104 有什么原因吗?这是否与我的 VLSM 上的任何内容有关,因为我仅将 /24 地址空间用于 3 个子网?
编辑(基于第一个响应):我们被要求在 192.168.10.0 /24 的地址空间下为网络创建 4 个子网。网络分别需要 40、20、3 和 50 台主机,所以我必须为每个网络创建一个子网……如果我正确使用 VLSM,那么网络地址应该是 10.0、10.64、10.96 和 10.104
现在我明白它是不正确的,因为 192.168.10.104 被认为是主机地址..但我做了子网划分,从我了解到的情况下,它应该是基于我所做的子网划分的下一个网络地址......
