Got it

WLAN

Created: Oct 27, 2018 11:25:07Latest reply: Nov 26, 2018 10:40:07 1289 8 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi team!

AP gets IP from DHCP but STA not getting  IP from ap any one help?

Thanks!

Featured Answers

Recommended answer

No.9527
Created Nov 1, 2018 10:24:43

Symptom
1. The signal strength is too weak to allow the STA to associate with the AP.
2. Signals are normal but services are not running properly.
please help confirm what type of issue you are facing? I think you'd better create a ticket for this issue.

Check whether the vap profile and the wired interface of the AP are correctly configured.
If the AP's wired interface is directly connected to the network device or works in back-to-back relay mode, the configurations of the wired interface must be correct so that service traffic can be forwarded correctly.

For example:

[AC6605]int GigabitEthernet 0/0/3
[AC6605-GigabitEthernet0/0/3]display this
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 149
port trunk allow-pass vlan 149 to 150
am isolate GigabitEthernet0/0/1
#
return
[AC6605-wlan-view]vap-profile name ap6010
[AC6605-wlan-vap-prof-ap6010]display this
#
forward-mode tunnel
service-vlan vlan-id 150
ssid-profile ap6010
security-profile ap6010
#
return
Check whether an interface is created on the intermediate network or AC and added to the corresponding VLAN.
The Huawei network device allows data from a VLAN only when the VLAN has been created on the local device and corresponding interfaces are correctly configured (tagged or untagged mode). If the configurations are incorrect or the VLAN is not created, service data will be discarded.
[AC6605]display vlan brief
U:Up;D:Down;TG:Tagged;UT:Untagged;
VID Name Status Ports
------------------------------------------------------------------
1 enable UT: GE0/0/4(D) GE0/0/5(D) GE0/0/6(D) GE0/0/7(D)
GE0/0/8(D) GE0/0/9(D) GE0/0/10(D) GE0/0/11(D)
GE0/0/12(D) GE0/0/13(D) GE0/0/14(D)
GE0/0/15(D) GE0/0/16(D) GE0/0/17(D)
GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)
GE0/0/21(D) GE0/0/22(D) GE0/0/23(D)
GE0/0/24(D) Wlan-Dbss0(U) Wlan-Dbss1(U)
XGE0/0/1(D) XGE0/0/2(D)
TG: GE0/0/1(U) GE0/0/3(U)
149 enable UT: GE0/0/3(U)
TG: GE0/0/1(U)
150 enable UT: GE0/0/1(U)
TG: GE0/0/3(U)
Check the current VLAN configuration.
[AC6605-GigabitEthernet0/0/3]display this
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 149
port trunk allow-pass vlan 149 to 150
#
return
Check interface configuration on the root AP.
To prevent such a failure, pay attention to the following points:

Configure one management VLAN and one or more service VLANs.
By default, packets sent from an AP, including the DHCP packets and CAPWAP packets are not tagged. Configure the switch interface directly connected to the AP to tag these packets with the management VLAN ID. Packets can be then sent to the DCHP server or AC through control of VLANs and routes.
Packets sent from the STA are not tagged either. Configure the AP to tag these packets with service VLAN IDs.
In direct forwarding, ensure that packets from service VLANs can pass through upstream interfaces of the AP. Configure the upstream interfaces as hybrid or trunk interfaces and to allow packets from the management VLAN and service VLANs to pass through. For example, configure the interface to allow packets form management VLAN 10 and service VLAN 20.
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10 20
or

port link-type hybrid
port hybrid pvid vlan 10
port hybrid untagged vlan 10
port hybrid tagged vlan 20
In tunnel forwarding, service packets are encapsulated in CAPWAP packets. Configure the AP's upstream interfaces as access, trunk, or hybrid interfaces and to allow only the management VLAN (allowing service VLANs may cause errors). For example, configure the interface to allow only packets from management VLAN 10.
port link-type access
port default-vlan 10
or

port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10
or

port link-type hybrid
port hybrid pvid vlan 10
port hybrid untagged vlan 10
If a Layer 3 network is deployed between the AC and AP, the AP that has obtained an IP address cannot discover the AC to register with by broadcasting CAPWAP packets. Configure DCHP Option 43 in packets to transfer both the AC's IP address and AP's IP address. Then, the AP can send unicast CAPWAP packets to discover the AC and register with the AC. You can also configure Option 15 in DNS packets to notify the AP of the AC location.
An AP can obtain an IP address using DHCP or has a static IP address manually configured. DHCP is the most commonly used method.
After changing the AP bridge role on a WDS network, you need to restart the AP to make the new role take effect; otherwise, the AP cannot register with the AC.
View more
  • x
  • convention:

All Answers
if you put static IP address it will work?
View more
  • x
  • convention:

Posted by Mysterious.color at 2018-10-27 14:56 if you put static IP address it will work?
if we give static ip .(which ip we give).then why use AP we want to give through DHCP
View more
  • x
  • convention:

i mean just for testing to use static ip
and yes it should be DHCP.
View more
  • x
  • convention:

faysalji
faysalji Author Created Oct 27, 2018 18:18:21

  • x
  • convention:

Hi,

Check if you have connectivity in the service VLAN. You can connect a PC in the PoE switch and assign a PVID that will tag the packets with the service VLAN. If the PC can get IP addres than there should be a configuration problem somewhere.
View more
  • x
  • convention:

Symptom
1. The signal strength is too weak to allow the STA to associate with the AP.
2. Signals are normal but services are not running properly.
please help confirm what type of issue you are facing? I think you'd better create a ticket for this issue.

Check whether the vap profile and the wired interface of the AP are correctly configured.
If the AP's wired interface is directly connected to the network device or works in back-to-back relay mode, the configurations of the wired interface must be correct so that service traffic can be forwarded correctly.

For example:

[AC6605]int GigabitEthernet 0/0/3
[AC6605-GigabitEthernet0/0/3]display this
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 149
port trunk allow-pass vlan 149 to 150
am isolate GigabitEthernet0/0/1
#
return
[AC6605-wlan-view]vap-profile name ap6010
[AC6605-wlan-vap-prof-ap6010]display this
#
forward-mode tunnel
service-vlan vlan-id 150
ssid-profile ap6010
security-profile ap6010
#
return
Check whether an interface is created on the intermediate network or AC and added to the corresponding VLAN.
The Huawei network device allows data from a VLAN only when the VLAN has been created on the local device and corresponding interfaces are correctly configured (tagged or untagged mode). If the configurations are incorrect or the VLAN is not created, service data will be discarded.
[AC6605]display vlan brief
U:Up;D:Down;TG:Tagged;UT:Untagged;
VID Name Status Ports
------------------------------------------------------------------
1 enable UT: GE0/0/4(D) GE0/0/5(D) GE0/0/6(D) GE0/0/7(D)
GE0/0/8(D) GE0/0/9(D) GE0/0/10(D) GE0/0/11(D)
GE0/0/12(D) GE0/0/13(D) GE0/0/14(D)
GE0/0/15(D) GE0/0/16(D) GE0/0/17(D)
GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)
GE0/0/21(D) GE0/0/22(D) GE0/0/23(D)
GE0/0/24(D) Wlan-Dbss0(U) Wlan-Dbss1(U)
XGE0/0/1(D) XGE0/0/2(D)
TG: GE0/0/1(U) GE0/0/3(U)
149 enable UT: GE0/0/3(U)
TG: GE0/0/1(U)
150 enable UT: GE0/0/1(U)
TG: GE0/0/3(U)
Check the current VLAN configuration.
[AC6605-GigabitEthernet0/0/3]display this
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 149
port trunk allow-pass vlan 149 to 150
#
return
Check interface configuration on the root AP.
To prevent such a failure, pay attention to the following points:

Configure one management VLAN and one or more service VLANs.
By default, packets sent from an AP, including the DHCP packets and CAPWAP packets are not tagged. Configure the switch interface directly connected to the AP to tag these packets with the management VLAN ID. Packets can be then sent to the DCHP server or AC through control of VLANs and routes.
Packets sent from the STA are not tagged either. Configure the AP to tag these packets with service VLAN IDs.
In direct forwarding, ensure that packets from service VLANs can pass through upstream interfaces of the AP. Configure the upstream interfaces as hybrid or trunk interfaces and to allow packets from the management VLAN and service VLANs to pass through. For example, configure the interface to allow packets form management VLAN 10 and service VLAN 20.
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10 20
or

port link-type hybrid
port hybrid pvid vlan 10
port hybrid untagged vlan 10
port hybrid tagged vlan 20
In tunnel forwarding, service packets are encapsulated in CAPWAP packets. Configure the AP's upstream interfaces as access, trunk, or hybrid interfaces and to allow only the management VLAN (allowing service VLANs may cause errors). For example, configure the interface to allow only packets from management VLAN 10.
port link-type access
port default-vlan 10
or

port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10
or

port link-type hybrid
port hybrid pvid vlan 10
port hybrid untagged vlan 10
If a Layer 3 network is deployed between the AC and AP, the AP that has obtained an IP address cannot discover the AC to register with by broadcasting CAPWAP packets. Configure DCHP Option 43 in packets to transfer both the AC's IP address and AP's IP address. Then, the AP can send unicast CAPWAP packets to discover the AC and register with the AC. You can also configure Option 15 in DNS packets to notify the AP of the AC location.
An AP can obtain an IP address using DHCP or has a static IP address manually configured. DHCP is the most commonly used method.
After changing the AP bridge role on a WDS network, you need to restart the AP to make the new role take effect; otherwise, the AP cannot register with the AC.
View more
  • x
  • convention:

1. usually STA ip address not allocated by AP .
2. you can use wireshark make a capture from your test laptop , check the STA whether send the DHCP packet .
3. on the dhcp server , also make a capture , it can confirm the dhcp packet whether received .
4. if all steps cannot help you to solve the issue , you can ask TAC for support.
View more
  • x
  • convention:

faysalji
faysalji Author Created Nov 26, 2018 10:40:07

WLAN-2808401-1
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.