Wired

last person joined: yesterday 

Expand all | Collapse all

how to enable DHCP on aruba 2930F

Jump to Best Answer
This thread has been viewed 25 times
  • 1.  how to enable DHCP on aruba 2930F

    Posted Sep 30, 2021 02:48 PM
    Hi All,

    I have made the following configuration on an Aruba2930F switch. I cannot understand why it's not working.
    Pc connected to port 1/3  cannot get the ip address from DHCP.

    vlan 400
    name "Computers"
    tagged 1/3-1/5
    ip address 172.20.120.1 255.255.255.0
    dhcp-server
    exit


    dhcp-server pool vlan400
    authoritative
    default-router 172.20.120.1
    dns-server "8.8.8.8,8.8.4.4"
    network 172.20.120.0 255.255.255.0
    range 172.20.120.10 172.20.120.20
    lease 7:00:00
    exit
    dhcp-server conflict-logging

    dhcp-server enable

    Could you please help ?

    Many Thanks

    FF63


  • 2.  RE: how to enable DHCP on aruba 2930F

    Posted Oct 06, 2021 02:21 AM
    I did a typo...but the problem is the same

    vlan 400
    name "Computers"
    untagged 1/3-1/5
    ip address 172.20.120.1 255.255.255.0
    dhcp-server
    exit

    ------------------------------
    ff63
    ------------------------------



  • 3.  RE: how to enable DHCP on aruba 2930F
    Best Answer

    Posted Oct 29, 2021 12:58 AM

    Hi ff63,

    With tagged ports this won't work, because the PCs will send the traffic untagged, so it won't be placed in vlan 400. However with the latest version of your config (untagged ports) everything is correct and it should work.
    Did you try to renew the DHCP config on your PC after making the change from tagged to untagged ports? 
    On windows PCs you can do it with ipconfig /release and the ipconfig /renew in CMD. 

    If the problem persists you can try to narrow down the cause of the issue by checking if the communication between the PC and switch work if you assign a manual address to the PC?

    If it fails, then you have a connectivity issue and not a configuration issue. If it is successful you can check the following:
    1) are all of your hosts not getting IP address, if only some of the hosts are affected you check for their similarities/differences in OS, vendor etc.
    2​) you can also start a wireshark trace right before you trigger the DHCP process with the above mentioned commands and check on which step of the DORA process does it fail. - is the host sending a Discover message, does it receive an Offer from the 2930F switch etc.

    HTH,

    Toni



    ------------------------------
    Toni Andreev
    ------------------------------



  • 4.  RE: how to enable DHCP on aruba 2930F

    Posted Oct 29, 2021 02:28 AM
    Hi Toni,
    many thanks for your answer,  that would confirm that my second config was correct.
    I tested it with two pc windows 10.
    This config was on a customer switch and to use just for a temporary configuration.
    The only doubt I've, i'm not sure that on the customer switch the ip routing were enabled, because the firewall was doing routing.
    But I've remembered it too late.
    Anyhow thanks for your suggestions, that I will follow when I will have the same config to do.

    Regards
    FF63

    ------------------------------
    ff63
    ------------------------------