" Problem Description ": A university wireless network launched two signals, one for teacher, the other for student, the pre-deployment phase of all normal, after the students back to school, began to have some students to reflect the connection student signal can not access the Internet, the specific performance of, The wireless signal can be connected, but the wireless terminals (including mobile phones and notebooks) get no address, assigning 169.254.175.149 directly, while connecting teacher signals is normal.
" Troubleshooting ":
1, the synthesis of these days of failure to declare the time of observation, there is no fixed time period, basically the whole day will have a chance of failure phenomenon;
2, to troubleshoot the teacher and student the two signals of the policy settings, and so on, basically the same;
3, just started to suspect that the DHCP address pool is not enough, but for student, we allocated 4 22-bit address pool, available address about 4088, that is, 4088 devices can be online at the same time, but in the event of recurrence, the total online device is 1915, under normal circumstances, the address pool will not be exhausted.
4, in the event of failure, the capture packet observation, and under normal circumstances also carried out to observe the comparison.
【Normal situation】:
1, the PC first send a broadcast packet, asked to assign the address of the person where? (DHCP Discover discovers where the DHCP server is);
2, the DHCP received the PC broadcast packet, will respond to a, said I am here, my home address is xxxx. (The DHCP offer message will contain the IP address of the DHCP server);
3. After receiving the DHCP offer message, the PC will send a request packet to the DHCP server IP provided in this message, saying "I am a student who is just reporting, please give me a student ID, assign a school number to me." (DHCP request, requesting the server to assign an IP address);
4, the DHCP server receives the request, will give the "student" assigned a "school number", will send a message to him said "This is your study number and validity period, you put the study number into your student card." (DHCP ACK will have assigned IP address information, DNS information, lease information, etc.);
5, the PC receives the assigned number and the lease period, it will automatically bind the information with the network card used, you can start the normal communication.
650) this.width=650; "height=" "src=" http://a4.qpic.cn/psb?/v10oxolq2mwqff/hbg9* ejcvzgzlhj2rzbhb8oajfapjvuhk7e0hjprtyg!/b/dddrrhysqqaa&ek=1&kp=1&pt=0&bo=mgncaaaaaaafapg!& T=5&su=0240972609&sce=0-12-12&rf=2-9 "width=" 870 "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:800px;height:58px; "Alt=" dddrrhysqqaa&ek=1&kp=1&pt=0 &bo=mgncaaaaa "/>
Figure one IP request process
650) this.width=650; "alt=" Picture "src=" http://a1.qpic.cn/psb?/V10oXOlQ3N4eKJ/ 1ttwhsf4ueuhp47uvnxxzeme8d8stwoofsfyithxsvg!/b/dexmrhfwjgaa&ek=1&kp=1&pt=0&bo=kapuaqaaaaafagu! &t=5&su=065030129&sce=0-12-12&rf=2-9 "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:500px;height:257px; "/>
Figure 2 DHCP Discover Package
650) this.width=650; "alt=" Picture "src=" http://a1.qpic.cn/psb?/v10oxolq3n4ekj/czshtdo6vsetnqe4p* r9vfndtcfwwkavrjnnhtybxmo!/b/dinhq3ftjgaa&ek=1&kp=1&pt=0&bo=kal.aqaaaaafae4!&t=5&su= 01878945&sce=0-12-12&rf=2-9 "style=" margin:0px;padding:0px;border-width:0px;border-style:none; vertical-align:top;width:500px;height:389px; "/>
Figure 3 DHCP offer
650) this.width=650; "alt=" Picture "src=" http://a1.qpic.cn/psb?/V10oXOlQ3N4eKJ/ znb2cee4zvi0ristxxisz5pvrpthdc7k6y1aomnabks!/b/dgbdgnauiaaa&ek=1&kp=1&pt=0&bo=egkqaqaaaaafapa! &t=5&su=0236771873&sce=0-12-12&rf=2-9 "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:500px;height:336px; "/>
Figure 4 DHCP Request
650) this.width=650; "alt=" Picture "src=" http://a1.qpic.cn/psb?/V10oXOlQ3N4eKJ/ eel3f.ix3qb4bn9je347bu2z1rwjpdmzpmndeppiiba!/b/dbxiqhcrjwaa&ek=1&kp=1&pt=0&bo=kaicagaaaaafale! &t=5&su=0158918929&sce=0-12-12&rf=2-9 "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:500px;height:392px; "/>
Figure 5 DHCP ACK
While we are in the process of recurrence, grasping the package to see that this is not normal, it is the problem of the DHCP server, in order to further confirm, we also call up the address allocation records to view.
Pick up
" Troubleshooting "
5, view the address assignment record, through the sorting to see the discovery rule: each paragraph address is from 10. X.x.3 started, and ended with 10.x.x.254, and did not continue to assign IP addresses, equivalent to the DHCP server only to student this signal to the user assigned a 4 segment 24-bit address, than originally envisaged allocation of less than 75% of the address. Therefore, the reason for this fault is that the address pool is full;
6. Check the DHCP server settings again, and find that the start address is set to 10 on a policy setting. X.x.3, to 10. The end of the x.x.254, equivalent to the address pool is allocated 4 22-bit address pool, but the policy is limited to 4 segment 24-bit address, the end address of this policy is modified to the correct end address, the symptom disappears.
-------------------------------------------------------------------------------------------
Ps:
1, in the implementation phase, each step of the setup must be carefully examined;
2, some problems only when the user is large enough to find, even if the pre-test to be careful, the test of the user base does not go, some problems will not be exposed, the implementation of the project, it is best to have one months on-line test time (public test), which is why many large-scale games, The site before the normal use of a "public test", no problem, and then fully online reasons.
I am it small white, if there are errors, welcome point!
Let's learn progress together!
This article is from the "Siberian Wolf 026" blog, make sure to keep this source http://1429223.blog.51cto.com/1419223/1629902
Troubleshooting a campus wireless network