Wireless Access

last person joined: 13 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Configuring external DHCP server in different VLANs

This thread has been viewed 12 times
  • 1.  Configuring external DHCP server in different VLANs

    Posted Sep 15, 2014 07:12 AM

    My situation is a little bit complicated but I will try my best to describe it. I'm trying to configure an external DHCP server for our Aruba 3400 controller. Currently the controller is connected to our core switch (which is a Cisco switch), and the controller along with other servers are in VLAN 149. Clients connected to the APs are in VLAN 150 and are getting IP from DHCP server in controller. However, we are asked to manage all DHCP leases (wired and wireless access) in one DHCP server. The new DHCP server is in a virtual machine and have two network interface, one's address is in VLAN 149 and another is in VLAN 118 (we are planning to put all public network access in it). The host is connected to core switch and is in VLAN 149

    Now when I plug PC into the core switch, it can acquire IP address from the VM. However when I connect from wireless I can't. I think that I missed some configurations in VLAN. Do I need to set the port mode in controller to trunk? Or how should I configure the controller and the core switch properly to let the DHCP broadcast go through them? Our network plans are in the attachment (sorry for my bad drawing skills).

     

    Thanks in advance.


    #3400


  • 2.  RE: Configuring external DHCP server in different VLANs

    EMPLOYEE
    Posted Sep 15, 2014 07:44 AM

    you just need to put in an ip-helper address to point to the DHCP server.  Put this in your vlan 150.

     

    interface vlan 150
    ip helper-address <dhcp-server ip>


  • 3.  RE: Configuring external DHCP server in different VLANs

    Posted Sep 15, 2014 09:23 AM

    Do I have to set anything (Port Mode, VLAN ID) at the Ports tab in the controller?

     

    Thanks for the fast reply!



  • 4.  RE: Configuring external DHCP server in different VLANs

    Posted Sep 15, 2014 09:43 AM

    @davidfangf wrote:

    Do I have to set anything (Port Mode, VLAN ID) at the Ports tab in the controller?

     

    Thanks for the fast reply!


    Have you configured the VLAN in the ArubaOS Configuration -> Network -> VLANS -> VLAN ID tab? You don't need to give it an IP address at the moment depending on what you are doing with it, you just need to define the VLAN.

     

    Also, am I reading the diagram correctly that port on the Aruba is in access mode on VLAN 149? In order for the Aruba controller to pass network traffic tagged with VLAN 150, you will need to switch the Aruba and Core switch port for the Aruba to a trunk. This will obviously cause some downtime.

     

    Edit: I'll edit and say that there seem to be some missing pieces to this puzzle. Verify you have the ability to ping the accross VLANS from the aruba controller, and the core switch has the ability to ping all the IP addresses of the aruba controller.



  • 5.  RE: Configuring external DHCP server in different VLANs

    Posted Sep 15, 2014 09:54 AM

    Yes, currently the port on Aruba is in access mode on VLAN 149. I didn't set trunk mode on core switch, and I couldn't ping between VLANs (from Aruba to DHCP server). I will check it tomorrow. Thanks!



  • 6.  RE: Configuring external DHCP server in different VLANs

    Posted Sep 16, 2014 03:08 AM

    I set the port on core switch, Aruba and D-Link layer 2 switch to trunk and native VLAN is 149. However I still can't ping from Aruba to my DHCP server. Is there anything wrong in my config?



  • 7.  RE: Configuring external DHCP server in different VLANs

    EMPLOYEE
    Posted Sep 16, 2014 04:11 AM

    From what you say, the Aruba, switch and DHCP are all on vlan 149.

     

    You should be able to ping the dhcp in that case.  Is it a windows dhcp?  Check there is nothing silly like Windows firewall blocking it. 

     

    Can you run wireshark on the dhcp?  What are you seeing in there if you try to ping it from the Aruba?



  • 8.  RE: Configuring external DHCP server in different VLANs

    Posted Sep 16, 2014 04:16 AM
    DHCP is running in Arch Linux. I can ping the VLAN 149 IP from Aruba but not the VLAN 118 IP. I think that the VLAN settings in VM host's virtual switch are incorrect.


  • 9.  RE: Configuring external DHCP server in different VLANs

    EMPLOYEE
    Posted Sep 16, 2014 04:19 AM

    @davidfangf wrote:
    DHCP is running in Arch Linux. I can ping the VLAN 149 IP from Aruba but not the VLAN 118 IP. I think that the VLAN settings in VM host's virtual switch are incorrect.

    Either that or a routing issue.



  • 10.  RE: Configuring external DHCP server in different VLANs
    Best Answer

    Posted Sep 17, 2014 12:51 AM

    Finally solved this problem. I wasn't aware of VLAN config on VM host's virtual switch. Thanks for your help!