首页 科技问答 柳志翔,终端接入无线后无法获取IP地址

柳志翔,终端接入无线后无法获取IP地址

科技问答 205
1676540398,

组网及说明


AC旁挂核心,核心下联POE接入交换机,POE交换机连接AP

告警信息

终端连接后无法获取IP地址

问题描述

终端连接后无法获取IP地址

过程分析

AP 可以获取地址,终端无法获取地址,在 DHCP服务器设备上 debug查看

< SW>*Mar 12 22:07:27:153 2013  SW DHCPS/7/PACKET: 

From 0.0.0.0 port 68, interface Vlan-interface10

    Message type: REQUEST (1)

    Hardware type: 1, Hardware address length: 6

    Hops: 0, Transaction ID: 3530740923

    Seconds: 60, Broadcast flag: 0

    Client IP address: 0.0.0.0   Your IP address: 0.0.0.0

    Server IP address: 0.0.0.0   Relay agent IP address: 0.0.0.0

    Client hardware address: 5207-7a64- XXXX

    Server host name: not configured

    Boot file name: not configured

    DHCP message type: DHCPDISCOVER (1)

*Mar 12 22:07:27:156 2013  SW DHCPS/7/PACKET: 

To 192.168.244.3 port 68, interface Vlan-interface10

    Message type: REPLY (2)

    Hardware type: 1, Hardware address length: 6

    Hops: 0, Transaction ID: 3530740923

    Seconds: 60, Broadcast flag: 0

    Client IP address: 0.0.0.0   Your IP address: 192.168.244.3

    Server IP address: 0.0.0.0   Relay agent IP address: 0.0.0.0

    Client hardware address: 5207-7a64- XXXX

    Server host name: not configured

    Boot file name: not configured

    DHCP message type: DHCPOFFER (2)

*Mar 12 22:07:29:202 2013  SW DHCPS/7/PACKET: 

From 0.0.0.0 port 68, interface Vlan-interface10

    Message type: REQUEST (1)

    Hardware type: 1, Hardware address length: 6

    Hops: 0, Transaction ID: 3530740925

    Seconds: 1, Broadcast flag: 0

    Client IP address: 0.0.0.0   Your IP address: 0.0.0.0

    Server IP address: 0.0.0.0   Relay agent IP address: 0.0.0.0

    Client hardware address: 5207-7a64- XXXX

    Server host name: not configured

    Boot file name: not configured

    DHCP message type: DHCPREQUEST (3)

*Mar 12 22:07:29:205 2013  SW DHCPS/7/PACKET: 

To 192.168.244.3 port 68, interface Vlan-interface10

    Message type: REPLY (2)

    Hardware type: 1, Hardware address length: 6

    Hops: 0, Transaction ID: 3530740925

    Seconds: 1, Broadcast flag: 0

    Client IP address: 0.0.0.0   Your IP address: 192.168.244.3

    Server IP address: 0.0.0.0   Relay agent IP address: 0.0.0.0

    Client hardware address: 5207-7a64- XXXX

    Server host name: not configured

    Boot file name: not configured

DHCP message type: DHCPACK (5)

 

 

dhcp 交互没有问题,但是终端还是无法获取到地址,在终端抓包查看是否收到 DHCP serveroffer



发现终端一直没有收到 offer报文,查看 AC中下发的 map文件和 AP下发的配置发现:

System-view

vlan 10

vlan 100

interface gigabitethernet1/0/1

port link-type trunk

port trunk permit vlan 10 100

interface gigabitethernet1/0/2

port link-type trunk

port trunk permit vlan 10 100

 

查看AP的诊断发现UP的接口为SGE接口,下发的map文件配置为GE接口的配置。

  ===============display interface brief=============== 

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface            Link Protocol Primary IP      Description                

InLoop0              UP   UP(s)    --             

NULL0                UP   UP(s)    --             

Vlan1                UP   UP       192.168.246.28 

 

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface            Link Speed     Duplex Type PVID Description               

GE1/0/1              DOWN auto      A      T    1   

SGE1/0/1             UP   1G(a)     F(a)   A    1 

 

Wa6530SGE接口为POE供电接口。


解决方法

修改map文件,下发正确的SGE接口的配置。

CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。本文来源:知了社区基于知识共享署名-相同方式共享3.0中国大陆许可协议,终端接入无线后无法获取IP地址