Switching

 View Only
last person joined: 12 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX-4300: DHCP - No available addresses

    Posted 11-18-2019 17:42

    Hi,

    I'm attempting to configure an EX-4300 (version "17.3-20180405.0 [builder]") to operate as a DHCP server on one of my VLANs (id=24).  "show dhcp server statistics" indicates No available addresses >0 (=N) and no DHCPOFFERs are being sent in response to DHCPDISCOVER (count = N), but a range has been specified (see below) and no clients have been bound yet.  IRB.24 address is 192.168.23.2.

     

    set system services dhcp-local-server group DHCP1 interface irb.24
    set access address-assignment pool POOL1 family inet network 198.168.23.0/24
    set access address-assignment pool POOL1 family inet range RANGE1 low 198.168.23.200
    set access address-assignment pool POOL1 family inet range RANGE1 high 198.168.23.240
    set access address-assignment pool POOL1 family inet dhcp-attributes router 198.168.23.2
    set access address-assignment pool POOL1 family inet dhcp-attributes server-identifier 198.168.23.2
    set access address-assignment pool POOL1 family inet dhcp-attributes maximum-lease-time 43200
    set access address-assignment pool POOL1 family inet dhcp-attributes option 42 ip-address 10.11.13.6

    set access address-assignment pool POOL1 family inet dhcp-attributes name-server 8.8.8.8

     

    Any suggestions would be much appreciated.

     

    Thanks!



  • 2.  RE: EX-4300: DHCP - No available addresses

     
    Posted 11-18-2019 19:10
    Hi CbadErik1,

    Please use the CLI from this article instead: https://kb.juniper.net/InfoCenter/index?page=content&id=KB11386&actp=METADATA

    The access address-management pools are for Subscriber management use cases.

    Hope this helps.

    Regards,
    -r.

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

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).


  • 3.  RE: EX-4300: DHCP - No available addresses
    Best Answer

     
    Posted 11-18-2019 21:23

    @mriyaz wrote:
    >Please use the CLI from this article instead:

    >https://kb.juniper.net InfoCenter/index?page=content&id=KB11386&actp=METADATA

    >The access address management pools are for Subscriber management use cases.

     

    You are referencing the legacy non-ELS configuration method. Access address-management is used for ELS DHCP configuration:

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/dhcp-for-switching-devices.html#id-configuring-a-switch-as-a-dhcp-server-cli-procedure 

     

    OP, irb.24 is configured with 192.168.23.0/24 but your address pool is configured for 198.168.23.0/24

     

     



  • 4.  RE: EX-4300: DHCP - No available addresses

    Posted 11-19-2019 08:58

    Thank you for noting the incorrectly configured IP address.  That was the problem.