06-25-2019 05:40 PM
Hi,
?
I have four Aerohive AP250 on my network. One of the access point fails and i got replacement from vendor. Now when i am connecting access point in my network in same switchport where previous AP was connected, the new AP is not getting ip from DHCP. I have tried command int mgt0 dhcp-probe vlan-range (native vlan).
But still it is not getting IP. After i tried to assign mgt0 interface with manual IP. Strange this is that i can ping AP ip but when i restart device AP ip is not reachable. However ip is same what i have assigned manually.( Show interface mgt0.
?
When i see switchport in my cisco switch light is not blinking. It means it is providing PoE only i guess.
?
Is there anything which i am missing in AP as all of other AP is working fine.
?
Thanks
Prabhat?
?
06-29-2019 07:09 AM
Here is DHCP Debug:
AH-1ff6c0#1970-01-01 00:00:44 notice ah_dcd: wifi: ACSP: Waiting for mgt0 IP ready...
1970-01-01 00:00:45 info dhcpc: application: Sending DHCP discover on mgt0, requested_ip 0.0.0.0
1970-01-01 00:00:46 notice ah_dcd: wifi: ACSP: Waiting for mgt0 IP ready...
1970-01-01 00:00:47 info capwap: application: CAPWAP: capwap predefine server name file isn't exist.
1970-01-01 00:00:47 info capwap: application: capwap register service Configure AP 1ff6c0._http._tcp.
1970-01-01 00:00:47 info capwap: application: receive event BGD service info: eventid = 369: length = 172
1970-01-01 00:00:48 warn capwap: application: ah_capwap_get_host_ip: Got host IP failed.
1970-01-01 00:00:48 info ah_ble: iBeacon new config Major 1 Minor 1 Power 197 uuid 4165726F686976654E6574776F726B73
1970-01-01 00:00:48 warn capwap: application: ah_capwap_get_host_ip: Got host IP failed.
1970-01-01 00:00:48 notice ah_dcd: wifi: ACSP: Waiting for mgt0 IP ready...
1970-01-01 00:00:49 info dhcpc: application: ip rule del prio 100 command executed
1970-01-01 00:00:49 notice amrp2: l2routing: amrp receive IP change event: mgt0(11) 0.0.0.0/0.0.0.0
1970-01-01 00:00:49 info amrp2: l2routing: There is no IPv4 address configured for interface mgt0
1970-01-01 00:00:49 info capwap: application: receive event mgt0 IP chg: eventid = 278: length = 28
1970-01-01 00:00:49 info capwap: application: CAPWAP receive box ip changed event! now mgt0 ip:0.0.0.0
1970-01-01 00:00:49 info ah_auth: aaa: ah_auth_delay_load_ppsk_mb is not a mac-binding server
1970-01-01 00:00:49 info ah_webui: devmgmt: WebUI: receive ip change event
1970-01-01 00:00:49 info ah_webui: devmgmt: WebUI:Monitor hiawatha by webui event:0.0.0.0
1970-01-01 00:00:49 info ah_nbr: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 info ah_bgd: application: BGD receive mgt0 IP change event: 11 0.0.0.0/0.0.0.0
1970-01-01 00:00:49 info ah_bgd: application: bgd create ifp mgt0(f4ea:b51f:f6c0): ipv4 0.0.0.0/0 ipv6 ::/0 fe80::f6ea:b5ff:fe1f:f6c0/64 vlan 1
1970-01-01 00:00:49 info ah_bgd: application: BGD VLAN add Event (vid=1, ifindex=0x8001 subnet=0.0.0.0/0.0.0.0, priority=1).
1970-01-01 00:00:49 warn capwap: application: ah_capwap_get_host_ip: Got host IP failed.
1970-01-01 00:00:49 info ah_dcd: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 info ah_nbr: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 info fed: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 info capwap: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 info ah_auth: system: ioctl(SIOCGIFADDR, mgt0) failed
1970-01-01 00:00:49 warn capwap: application: ah_capwap_get_host_ip: Got host IP failed.
1970-01-01 00:00:50 warn last message repeated 2 times
1970-01-01 00:00:50 notice ah_dcd: wifi: ACSP: Waiting for mgt0 IP ready...
1970-01-01 00:00:51 info dhcpc: system: waiting for arp reply timeout
1970-01-01 00:00:51 info dhcpc: application: ip rule del prio 100 command executed
1970-01-01 00:00:51 info dhcpc: application: ip rule add to 192.168.0.0/16 table main prio 100 command executed
1970-01-01 00:00:51 info capwap: application: receive event mgt0 IP chg: eventid = 278: length = 28
1970-01-01 00:00:51 info capwap: application: CAPWAP receive box ip changed event! now mgt0 ip:192.168.1.1
1970-01-01 00:00:51 info ah_auth: aaa: ah_auth_delay_load_ppsk_mb is not a mac-binding server
1970-01-01 00:00:51 info ah_bgd: application: BGD receive mgt0 IP change event: 11 192.168.1.1/255.255.0.0
1970-01-01 00:00:51 info ah_bgd: application: bgd create ifp mgt0(f4ea:b51f:f6c0): ipv4 192.168.1.1/16 ipv6 ::/0 fe80::f6ea:b5ff:fe1f:f6c0/64 vlan 1
1970-01-01 00:00:51 info ah_bgd: application: BGD VLAN add Event (vid=1, ifindex=0x8001 subnet=192.168.1.1/255.255.0.0, priority=1).
1970-01-01 00:00:51 info dhcpc: switching: 1 NTP servers has been configured:
1970-01-01 00:00:51 warn capwap: application: CAPWAP mgt0 ip address is 0, update mgt0 ip to 192.168.1.1 from kernel
1970-01-01 00:00:51 info dhcpc: application: Use static configuration from now on.
1970-01-01 00:00:51 info amrp2: l2routing: Changing system IPv4 UDP port
1970-01-01 00:00:51 info amrp2: l2routing: Changing system IPv4 UDP port
1970-01-01 00:00:51 notice amrp2: l2routing: amrp receive IP change event: mgt0(11) 192.168.1.1/255.255.0.0
1970-01-01 00:00:51 info dhcpc: application: Sending DHCP discover on mgt0, requested_ip 0.0.0.0
1970-01-01 00:00:51 notice root: trying 1 times on ntp1.aerohive.com
1970-01-01 00:00:51 notice root: trying 2 times on ntp1.aerohive.com
1970-01-01 00:00:51 info ah_scd: switching: 1 NTP servers has been configured:
1970-01-01 00:00:51 notice root: trying 1 times on ntp1.aerohive.com
1970-01-01 00:00:51 notice root: trying 2 times on ntp1.aerohive.com
1970-01-01 00:00:51 notice root: trying 3 times on ntp1.aerohive.com
1970-01-01 00:00:51 info ah_scd: application: ah_scd_cli_iface_dns_if_address_change,606, ifname = mgt0, ifindex:0
1970-01-01 00:00:51 info ah_scd: aaa: ah_scd_radsec_self_addr_update:update self IP addr 192.168.1.1, mac f4ea:b51f:f6c0.
1970-01-01 00:00:51 notice root: Connect ntp1.aerohive.com failed, try next server
1970-01-01 00:00:51 info amrp2: l2routing: Changing system IPv4 UDP port
1970-01-01 00:00:51 info amrp2: l2routing: mgt0 opened udp socket(27) 192.168.1.1:3002
1970-01-01 00:00:51 info amrp2: l2routing: Changing system IPv4 UDP port
1970-01-01 00:00:51 notice amrp2: l2routing: amrp mgt0 close IPv4 udp socket 27
1970-01-01 00:00:51 info amrp2: l2routing: mgt0 opened udp socket(27) 192.168.1.1:3002
1970-01-01 00:00:51 info ah_bgd: application: BGD send VLAN change signal to mdnsd
1970-01-01 00:00:51 info mDNSResponder: application: MDNS:add virtual interface VLAN1(192.168.1.1/255.255.0.0)
1970-01-01 00:00:51 info ah_scd: switching: 1 NTP servers has been configured:
1970-01-01 00:00:51 notice root: trying 1 times on ntp1.aerohive.com
1970-01-01 00:00:51 notice root: trying 2 times on ntp1.aerohive.com
1970-01-01 00:00:51 notice root: trying 3 times on ntp1.aerohive.com
1970-01-01 00:00:51 info ah_scd: application: ah_scd_cli_iface_dns_if_address_change,606, ifname = mgt0, ifindex:0
1970-01-01 00:00:51 info ah_scd: aaa: ah_scd_radsec_self_addr_update:update self IP addr 192.168.1.1, mac f4ea:b51f:f6c0.
1970-01-01 00:00:51 notice root: Connect ntp1.aerohive.com failed, try next server
1970-01-01 00:00:52 info ah_dcd: wifi: ACSP: wifi0(7) system ready with 0 1, 1 1, 0, 0 0 0.
1970-01-01 00:00:52 info amrp2: l2routing: receive kevent KEVT_IF_CHG type IF_GOING_DOWN from wifi0.1 index 14
1970-01-01 00:00:52 info capwap: application: CAPWAP receive kevent KEVT_IF_CHG, eventid = 19, size = 76
1970-01-01 00:00:52 info dhclient: ah_dhcpv6_proc_kevent,127,event_id=19
1970-01-01 00:00:52 info kernel: [mpi]: wifi0.1 notify kevent KEVT_IF_CHG, type IF_GOING_DOWN(7)
1970-01-01 00:00:52 info kernel: [wifi]: wl0: link down (wifi0.1)
1970-01-01 00:00:52 info amrp2: l2routing: receive kevent KEVT_IF_CHG type IF_DOWN from wifi0.1 index 14
1970-01-01 00:00:52 info kernel: [mac]: MAC learning: recv netdev notifier event 2 on wifi0.1
1970-01-01 00:00:52 info capwap: application: CAPWAP receive kevent KEVT_IF_CHG, eventid = 19, size = 76
1970-01-01 00:00:52 info dhclient: ah_dhcpv6_proc_kevent,127,event_id=19
1970-01-01 00:00:52 info amrp2: l2routing: amrp delete ifp wifi0.1(f4ea:b51f:f6d4)
06-29-2019 06:40 AM
Hi,
There is no issue in VLAN. AP will take ip one time but after restart it is showing ip as 192.168.1.1. We have another 3 access points of same model and working fine. I have connected AP in same working AP switch port still same thing.
AH-1ff6c0#show interface mgt0
Admin state=enabled; Operational state=up;
DHCP client=enabled;
Default IP subnet=192.168.0.0/255.255.0.0;
IP addr=192.168.1.1; Netmask=255.255.0.0; Default Gateway:0.0.0.0;
IPV6 address autoconfig enable
IPV6 link local addr=fe80::f6ea:b5ff:fe1f:f6c0/64
VLAN id=1; Native vlan id=1;
MAC addr=f4ea:b51f:f6c0; MTU=1500;
Rx packets= 0; errors=0; dropped=0;
Tx packets=23; errors=0; dropped=0;
Rx bytes=0 (0 B); Tx bytes=5510 (5.381 KB);
is is possible to check DHCP log from CLI.
06-26-2019 01:32 PM
Most probably wrong VLAN configuration on new AP? Rogue DHCP server? Still can't figure it out, span the switch port, take a packet capture. Also examine at the server DHCP logs for clues. Alternatively isolate the AP, connected directly to the laptop, you should easily be able to observe the DHCP requests from the AP when if first turns on confirming that it is indeed configured as expected using Wireshark.
06-26-2019 01:14 PM
Have you checked to see whether the DHCP server is full?