国产亚洲精品福利在线无卡一,国产精久久一区二区三区,亚洲精品无码国模,精品久久久久久无码专区不卡

當(dāng)前位置: 首頁(yè) > news >正文

樣板網(wǎng)站百度推廣開(kāi)戶多少錢

樣板網(wǎng)站,百度推廣開(kāi)戶多少錢,做網(wǎng)站注冊(cè)什么公司好,尋找網(wǎng)站建設(shè) 網(wǎng)站外包dhcp池里ac地址配錯(cuò),導(dǎo)致ap無(wú)法上線問(wèn)題排查過(guò)程 問(wèn)題:ap手動(dòng)設(shè)置ac的ip正常注冊(cè)在線,但dhcp獲得ip和ac地址發(fā)現(xiàn)無(wú)法在ac上注冊(cè)成功。 組網(wǎng): ac旁路結(jié)構(gòu),路由器lan口地址172.16.1.1,開(kāi)dhcp服務(wù)&#xff0…

dhcp池里ac地址配錯(cuò),導(dǎo)致ap無(wú)法上線問(wèn)題排查過(guò)程

問(wèn)題:ap手動(dòng)設(shè)置ac的ip正常注冊(cè)在線,但dhcp獲得ip和ac地址發(fā)現(xiàn)無(wú)法在ac上注冊(cè)成功。

組網(wǎng):

ac旁路結(jié)構(gòu),路由器lan口地址172.16.1.1,開(kāi)dhcp服務(wù),option43提供ac的地址172.16.1.206,地址池172.16.100-200,網(wǎng)關(guān)ip172.16.1.1。

解決過(guò)程:

如上圖,路由器上開(kāi)dhcp服務(wù),給ap提供dhcp服務(wù),dhcp池設(shè)置ip范圍是172.16.1.100-172.16.1.200,掩碼24,gw是172.16.1.1,ac的地址是172.16.1.206

ap1上電后,查看dhcp分配情況,發(fā)現(xiàn)分配地址是172.16.1.200,但在ac172.16.1.206上看不到ap1上線

路由器上

ac上

ap1 ping正常

登錄ap,設(shè)置ac地址為手動(dòng)配置172.16.1.206,并在路由器4口抓包

發(fā)現(xiàn)ac上,看到ap上線了

抓包tcpdump? -i eth4?? -nnev? udp port? 5246? -c 20 抓ap的capwap消息,udp port是5246,并抓20包自動(dòng)退出-c 20,-nnev是關(guān)閉dns查詢,數(shù)字化顯示,顯示mac地址,并顯示詳情

tcpdump: listening on eth4, link-type EN10MB (Ethernet), capture size 262144 bytes

17:29:35.427300 6c:ef:c6:65:ab:c0 > 64:c3:41:b2:18:21, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 43379, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 172.16.1.206.5246: UDP, length 525

17:29:35.427579 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.206.5246 > 172.16.1.200.5246: UDP, length 235

17:29:40.429262 6c:ef:c6:65:ab:c0 > 64:c3:41:b2:18:21, ethertype IPv4 (0x0800), length 825: (tos 0x7,CE, ttl 64, id 43559, offset 0, flags [DF], proto UDP (17), length 811)

??? 172.16.1.200.5246 > 172.16.1.206.5246: UDP, length 783

17:29:40.429650 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.206.5246 > 172.16.1.200.5246: UDP, length 235

17:29:40.431498 6c:ef:c6:65:ab:c0 > 64:c3:41:b2:18:21, ethertype IPv4 (0x0800), length 603: (tos 0x7,CE, ttl 64, id 43560, offset 0, flags [DF], proto UDP (17), length 589)

??? 172.16.1.200.5246 > 172.16.1.206.5246: UDP, length 561

17:29:40.432161 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 1050: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 1036)

??? 172.16.1.206.5246 > 172.16.1.200.5246: UDP, length 1008

17:29:40.616124 6c:ef:c6:65:ab:c0 > 64:c3:41:b2:18:21, ethertype IPv4 (0x0800), length 80: (tos 0x7,CE, ttl 64, id 43564, offset 0, flags [DF], proto UDP (17), length 66)

??? 172.16.1.200.5246 > 172.16.1.206.5246: UDP, length 38

17:29:40.616458 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 60: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 44)

???

發(fā)現(xiàn)ap的mac是6c:ef:c6:65:ab:c0,ip是172.16.1.200,ac的ip是172.168.1.206,mac地址是64:c3:41:b2:18:21,2毫秒后,開(kāi)始有響應(yīng)。

root@IIIoT:~# arp? -n?? ap上執(zhí)行命令arp -n
IP address?????? HW type???? Flags?????? HW address??????????? Mask???? Device
172.16.1.1?????? 0x1???????? 0x2???????? 20:1f:54:f5:36:61???? *??????? br-wan
172.16.1.206???? 0x1???????? 0x2???????? 64:c3:41:b2:18:21???? *??????? br-wan

ap的banner顯示mac地址

NAME:?????????? WAP6240-IE
?MAC:??????????? 6c:ef:c6:65:ab:c0

奇怪,刪除ap上手動(dòng)配置ac地址,改成從dhcp的option43里獲取ac地址,重啟ap,在路由器上再次抓包

~ # tcpdump? -i eth4? -nnev? udp port? 5246? -c 20

tcpdump: listening on eth4, link-type EN10MB (Ethernet), capture size 262144 bytes

17:58:51.777366 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 52870, offset 0, flags [DF], proto UDP (17), length 553)發(fā)給了這個(gè)mac地址

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525? 發(fā)出的目的ip 是17.16.1.206,好像ip錯(cuò)了,正確的ip是172.16.1.206,ip第一段錯(cuò)了

17:58:58.793246 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 53510, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525? 沒(méi)有響應(yīng),在重發(fā)

17:59:22.803515 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 54484, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525 沒(méi)有響應(yīng),在重發(fā)

17:59:52.823960 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 56270, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525? 沒(méi)有響應(yīng),在重發(fā)

18:00:18.835629 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 57090, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525? 沒(méi)有響應(yīng),在重發(fā)

18:00:20.843741 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 57274, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 17.16.1.206.5246: UDP, length 525? 沒(méi)有響應(yīng),在重發(fā)

18:00:39.874509 6c:ef:c6:65:ab:c0 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 567: (tos 0x7,CE, ttl 64, id 18424, offset 0, flags [DF], proto UDP (17), length 553)

??? 172.16.1.200.5246 > 255.255.255.255.5246: UDP, length 525? 發(fā)出二層廣播和三層廣播發(fā)現(xiàn)消息

18:00:39.875037 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.206.5246 > 172.16.1.200.5246: UDP, length 235? 有ac的響應(yīng)

18:00:39.875166 20:1f:54:f5:36:61 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 53519, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.1.5246 > 172.16.1.200.5246: UDP, length 235? 有另一個(gè)ac的響應(yīng)

18:00:44.876971 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 825: (tos 0x7,CE, ttl 64, id 46801, offset 0, flags [DF], proto UDP (17), length 811)

172.16.1.200.5246 > 172.16.1.1.5246: UDP, length 783? 選擇向這個(gè)ac的響應(yīng)

18:00:44.877689 20:1f:54:f5:36:61 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 54647, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.1.5246 > 172.16.1.200.5246: UDP, length 235

18:00:44.879582 6c:ef:c6:65:ab:c0 > 20:1f:54:f5:36:61, ethertype IPv4 (0x0800), length 603: (tos 0x7,CE, ttl 64, id 46802, offset 0, flags [DF], proto UDP (17), length 589)

? 發(fā)現(xiàn)最初ap發(fā)出的ip錯(cuò)誤,mac地址發(fā)給20:1f:54:f5:36:61查詢發(fā)現(xiàn)是路由器lan口地址,重發(fā)幾次后,發(fā)出廣播消息,所有的ac都會(huì)響應(yīng)。

XOS#show? ip arp
?? IP Address?????? MAC Address???? Interface? Type
?? 172.16.1.187? c0:a6:6d:45:06:80? vlan1.3???? ether
? 172.16.81.205? 00:0f:c9:24:10:b1? vlan1.1???? ether
???? 172.16.1.1? 20:1f:54:f5:36:61? vlan1.3???? ether?? 發(fā)現(xiàn)這是路由器lan口地址對(duì)應(yīng)mac是20:1f:54:f5:36:61,最初ap的capwap消息發(fā)給了路由器lan口mac地址
?? 172.16.1.200? 6c:ef:c6:65:ab:c0? vlan1.3???? ether
Total arp count : 4?

tcpdump不好判斷,生成抓包文件,下載下拉查看

/mnt/userspace # tcpdump? -i eth4? -w? abc0.pcap 生成抓包文件

tcpdump: listening on eth4, link-type EN10MB (Ethernet), capture size 262144 bytes

^C311 packets captured? 中斷后生成文件

313 packets received by filter

0 packets dropped by kernel

crt打開(kāi)tftp服務(wù)器,準(zhǔn)備傳出文件

cmd下查看udp69端口是否打開(kāi)?

C:\>netstat? -aon | findstr :69??? 查看69端口是那個(gè)進(jìn)程號(hào)打開(kāi),行尾紅色為進(jìn)程號(hào),本例為22560
? UDP??? 0.0.0.0:69???????????? *:*??????????????????????????????????? 22560
? UDP??? [::]:69??????????????? *:*?????????????????????????????????? ? ?? 22560

C:\>tasklist? | findstr? 22560?? 根據(jù)進(jìn)程號(hào)查詢文件名
SecureCRT.exe??????????????? 22560 Console??????????????????? 1???? 59,104 K 證明是crt打開(kāi)了文件

確定文件保存目錄

路由器里傳出文件

/mnt/userspace # tftp? -pl? abc0.pcap?? 172.16.81.205? tftp傳出文件

abc0.pcap??????????? 100% |*************************************************************| 34733? 0:00:00 ETA傳遞完成

在已經(jīng)獲得tftp目錄下打開(kāi)抓包文件,并過(guò)濾bootp,arp和capwap消息

現(xiàn)在問(wèn)題是dhcp獲得的ac地址錯(cuò)誤,導(dǎo)致ap注冊(cè)關(guān)聯(lián)消息發(fā)給網(wǎng)關(guān)

檢查一下dhcp的offer消息

Value: 800c0131372e31362e312e323036?? 17.16.1.206

在ap上查詢

root@IIIoT:~#

root@IIIoT:~# cd? /tmp

root@IIIoT:/tmp# cat? wtp.cfg? dhcp獲得ac的地址,

<WTP_DHCP_AC_IPV4_ADDR> 17.16.1.206?? 發(fā)現(xiàn)這個(gè)地址錯(cuò)誤

root@IIIoT:/tmp# cat wtp.ip?? 這是目前ap連接的ac的ip地址

172.16.1.1? 發(fā)現(xiàn)是網(wǎng)關(guān)的地址

在路由器上查看配置

修正

路由器上重新抓包查看:

tcpdump? -i eth4 -nnev? ether host 6c:ef:c6:65:ab:c0

19:56:08.315353 20:1f:54:f5:36:61 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)

??? 172.16.1.1.67 > 172.16.1.200.68: BOOTP/DHCP, Reply, length 300, xid 0xaf764a47, Flags [none]

????????? Your-IP 172.16.1.200

????????? Client-Ethernet-Address 6c:ef:c6:65:ab:c0

????????? Vendor-rfc1048 Extensions

??????????? Magic Cookie 0x63825363

??????????? DHCP-Message Option 53, length 1: Offer

??????????? Server-ID Option 54, length 4: 172.16.1.1

??????????? Lease-Time Option 51, length 4: 86400

??????????? Subnet-Mask Option 1, length 4: 255.255.255.0

??????????? Default-Gateway Option 3, length 4: 172.16.1.1

??????????? Domain-Name-Server Option 6, length 4: 114.114.114.114

Vendor-Option Option 43, length 15: 128.13.1.49.55.50.46.49.54.46.49.46.50.48.54

??? ascii碼顯示的ac地址 ? ? ? ? ? ? ? ? ? ? ???????????????????? 1 7 ?2? .? 1 ?6? . 1? .? 2? 0 6?

19:56:09.304704 6c:ef:c6:65:ab:c0 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.1.206 tell 172.16.1.200, length 46? arp查詢

19:56:09.305024 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Reply 172.16.1.206 is-at 64:c3:41:b2:18:21, length 46 arp響應(yīng)

capwap消息

19:56:14.311909 6c:ef:c6:65:ab:c0 > 64:c3:41:b2:18:21, ethertype IPv4 (0x0800), length 825: (tos 0x7,CE, ttl 64, id 18791, offset 0, flags [DF], proto UDP (17), length 811)

??? 172.16.1.200.5246 > 172.16.1.206.5246: UDP, length 783? 注冊(cè)消息

19:56:14.312308 64:c3:41:b2:18:21 > 6c:ef:c6:65:ab:c0, ethertype IPv4 (0x0800), length 277: (tos 0x7,CE, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 263)

??? 172.16.1.206.5246 > 172.16.1.200.5246: UDP, length 235? 響應(yīng)

問(wèn)題總結(jié):

原以為dhcp獲得的ac地址和手動(dòng)設(shè)置ac地址兩個(gè)發(fā)discover包會(huì)有所區(qū)別,起始沒(méi)有區(qū)別。

獲得地址錯(cuò)誤,查詢路由器發(fā)現(xiàn)不是直連路由,會(huì)發(fā)向網(wǎng)關(guān)mac地址。

http://m.aloenet.com.cn/news/31626.html

相關(guān)文章:

  • 技術(shù)支持東莞網(wǎng)站建設(shè)機(jī)械想做網(wǎng)絡(luò)推廣如何去做
  • html5 js全屏滑動(dòng)網(wǎng)站源碼沈陽(yáng)優(yōu)化網(wǎng)站公司
  • 有網(wǎng)站源碼怎么搭建網(wǎng)站近期國(guó)際新聞
  • 天水網(wǎng)站開(kāi)發(fā)關(guān)鍵詞查詢工具
  • 去哪兒網(wǎng)站做宣傳多少錢公司快速建站
  • wordpress教程lnmp網(wǎng)站優(yōu)化什么意思
  • 張掖公司網(wǎng)站制作百度熱線人工服務(wù)電話
  • 辛集市住房和城鄉(xiāng)建設(shè)廳網(wǎng)站優(yōu)化20條措施
  • 怎么寫網(wǎng)站建設(shè)方案書鏈接提取視頻的網(wǎng)站
  • 做網(wǎng)貸網(wǎng)站多少錢百度上怎么打廣告宣傳
  • 便利的網(wǎng)站建設(shè)網(wǎng)站是如何建立的
  • 網(wǎng)站建設(shè)學(xué)習(xí)內(nèi)容網(wǎng)絡(luò)服務(wù)提供者知道或者應(yīng)當(dāng)知道
  • 建筑模板種類有哪些關(guān)鍵詞優(yōu)化公司排行
  • 深圳外貿(mào)建站網(wǎng)絡(luò)推廣價(jià)格百度快照提交入口
  • 哪里學(xué)網(wǎng)站建設(shè)與管理太原做網(wǎng)絡(luò)推廣的公司
  • 東莞橋頭網(wǎng)站設(shè)計(jì)seo關(guān)鍵詞排名優(yōu)化價(jià)格
  • 萊蕪市住房和城鄉(xiāng)建設(shè)廳網(wǎng)站軟文關(guān)鍵詞排名推廣
  • 微信小程序怎么寫寧波seo排名優(yōu)化價(jià)格
  • wordpress超鏈接代碼山東seo網(wǎng)絡(luò)推廣
  • wordpress支持多站點(diǎn)yy直播
  • 直播網(wǎng)站建設(shè)重慶網(wǎng)絡(luò)廣告銷售
  • 英文外貿(mào)網(wǎng)站百度收錄最新方法
  • eclipse可以做網(wǎng)站嘛濟(jì)寧百度推廣價(jià)格
  • 網(wǎng)站帶做收錄排名專門做推廣的軟文
  • 深圳做網(wǎng)站 創(chuàng)同盟seo網(wǎng)址
  • 網(wǎng)站建設(shè) 預(yù)付款如何搭建個(gè)人網(wǎng)站
  • 城建設(shè)投資公司網(wǎng)站江蘇seo團(tuán)隊(duì)
  • 昆明做網(wǎng)站競(jìng)價(jià)東莞網(wǎng)站推廣宣傳
  • 做商城網(wǎng)站簡(jiǎn)單嗎seo運(yùn)營(yíng)是做什么的
  • 確定B2B網(wǎng)站建設(shè)方案新聞聯(lián)播俄羅斯與烏克蘭