早教吧 育儿知识 作业答案 考试题库 百科 知识分享

多个路由器启用DHCP时,分配IP的问题有两个4个LAN口,1个WAN口的无线路由器,一个A,一个B,还有PC一台。B的LAN口与A的LAN口经过网线连接,PC连接到B路由器。B路由器作为无线交换机使用

题目详情
多个路由器启用DHCP时,分配IP的问题
  有两个4个LAN口,1个WAN口的无线路由器,一个A,一个B,还有PC一台。B的LAN口与A的LAN口经过网线连接,PC连接到B路由器。B路由器作为无线交换机使用,且A和B的DHCP都要开启。
A路由器LAN口配置:
IP:192.168.11.1
子网掩码:255.255.0.0
B路由器LAN口配置:
IP:192.168.4.1
子网掩码:255.255.255.0
  当A和B连接好以后,PC再连接到B路由,就是从A路由获取的IP。如果A与B没有连接,则是从B路由获取的IP。
报文如下,如需详细报文,留下邮箱,我发过去。
7  3.989028  192.188.128.78  255.255.255.255 DHCP 342 DHCP Inform - Transaction ID 0xb1d1ae8d
12 10.642949 192.188.128.121 255.255.255.255 DHCP 342 DHCP Release - Transaction ID 0xd869e3ee
13 14.682633 0.0.0.0     255.255.255.255 DHCP 343 DHCP Discover - Transaction ID 0xd6990bff
14 14.683467 0.0.0.0    255.255.255.255 DHCP 343 DHCP Discover - Transaction ID 0x57de1530
18 15.220691 192.168.4.1   192.168.4.101  DHCP 590 DHCP Offer - Transaction ID 0xd6990bff
19 15.220767 192.168.11.1   192.168.11.101  DHCP 590 DHCP Offer - Transaction ID 0xd6990bff
20 15.221199 192.168.11.1   192.168.11.101  DHCP 590 DHCP Offer - Transaction ID 0x57de1530
21 15.221477 0.0.0.0     255.255.255.255 DHCP 375 DHCP Request - Transaction ID 0x57de1530
22 15.223794 192.168.11.1   192.168.11.101  DHCP 590 DHCP ACK - Transaction ID 0x57de1530
24 15.741172 192.168.4.1   255.255.255.255 DHCP 590 DHCP NAK - Transaction ID 0x57de1530
25 15.753886 192.168.4.1   192.168.4.101  DHCP 590 DHCP Offer - Transaction ID 0x57de1530
请问,在都启用DHCP的情况下,由A路由器分配IP的条件是什么?
▼优质解答
答案和解析
通常是看哪个路由器反应快了,电脑自然会用先收到的数据。