Wired Intelligent Edge

 View Only
  • 1.  Port Assigned IP DHCP Pool

    Posted Aug 25, 2025 03:35 PM

    Hey everyone.  I'm looking for some expert advice from some of the experienced HPE Aruba users here.  I am decent with Cisco networking switches, but a newb when it comes to HPE.

    I have a task that I cannot figure out for the life of me.  I can get it to work on Cisco, but not on HPE.  Basically I want to be able to plug in a POE device to a port, and it gets and IP from a DHCP pool I set. For example, the command script is:

    ip dhcp pool DEVce-DHCP-pool
     network 192.168.10.0 255.255.255.0
     default-router 192.168.10.1 
     lease infinite
     address 192.168.10.101 client-id "g1/0/1" ascii
     address 192.168.10.102 client-id "g1/0/2" ascii
     address 192.168.10.103 client-id "g1/0/3" ascii
     address 192.168.10.104 client-id "g1/0/4" ascii

        repeated to g1/0/24


    I want to replicate this on an HPE Aruba 6300M and 6200F switch. 

    Thanks in advance.



    -------------------------------------------


  • 2.  RE: Port Assigned IP DHCP Pool
    Best Answer

    Posted Aug 26, 2025 08:44 PM

    Here is a sample config for CX switches.

    ================
    dhcp-server vrf default
        pool TEST
            range 10.10.30.20 10.10.30.30 prefix-len 24
            default-router 10.10.30.1
            dns-server 192.168.1.131
            lease 00:02:00
            exit
        enable

    interface 1/1/2
        no shutdown
        no routing
        vlan access 30


    interface vlan 30
        ip address 10.10.30.1/24



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 3.  RE: Port Assigned IP DHCP Pool

    Posted Aug 27, 2025 09:40 AM

    So when I tried this config, it did assign an IP within the range.

    But I was hoping when I plugged the POE device into interface 1/1/1 it gave me the first ip of that range of 10.10.30.20.

    But instead it assigned 10.10.30.27.

    Any idea on how to get it to do this via DHCP pool?

    interface 1/1/1 = 10.10.30.21
    interface 1/1/2 = 10.10.30.22
    interface 1/1/3 = 10.10.30.23
    interface 1/1/4 = 10.10.30.24
    interface 1/1/5 = 10.10.30.25

    -------------------------------------------



  • 4.  RE: Port Assigned IP DHCP Pool

    Posted Aug 29, 2025 06:23 AM

    I don't think you can change this behaviour. 



    ------------------------------
    If my post was useful accept solution and/or give kudos.
    Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
    ------------------------------



  • 5.  RE: Port Assigned IP DHCP Pool

    Posted Sep 02, 2025 05:49 AM

    You can use 'static-bind' to map a client MAC address to a specific IP adress. (page 114 in the document).

    In that way it doesn't matter in which port you plug a device, it always gets the same IP.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------