[j-nsp] SRX300 DHCPD vs JDHCP - DHCP client issues

John Jensen jensenja at gmail.com
Sun Dec 10 16:41:47 EST 2017


Thanks for the info Clarke.

Just to provide an update for anyone interested - DX100 did nothing for me.
I also tried the 17.x release train, and while it's still not properly
setting the client-id, I did manage to pick up on some interesting stuff.

1) They've reverted back to legacy DHCP client interface config *style*.
-HOWEVER- this still just appears to turn on the JDHCP client. There is no
more differentiator on the DHCP client aspect of things (set interfaces
ge-0/0/0 unit 0 family inet dhcp vs. set interfaces ge-0/0/0 unit 0 family
inet dhcp-client).

2) The commands to turn on the legacy DHCP server are still available (but
hidden) - you can configure pools etc with the legacy server, but if you
try to turn on a DHCP client on an interface, JUNOS will yell at you
because the configs are incompatible:

set system services dhcp pool 192.168.1.0/24 address-range low 192.168.1.2
set system services dhcp pool 192.168.1.0/24 address-range high
192.168.1.254
set system services dhcp pool 192.168.1.0/24 router 192.168.1.1
set system services dhcp pool 192.168.1.0/24 propagate-settings ge-0/0/0.0
set system services dhcp pool 192.168.2.0/24 address-range low 192.168.2.2
set system services dhcp pool 192.168.2.0/24 address-range high
192.168.2.254
set system services dhcp pool 192.168.2.0/24 router 192.168.2.1
set system services dhcp pool 192.168.2.0/24 propagate-settings ge-0/0/0.0
set system services dhcp pool 192.168.3.0/24 address-range low 192.168.3.2
set system services dhcp pool 192.168.3.0/24 address-range high
192.168.3.254
set system services dhcp pool 192.168.3.0/24 router 192.168.3.1
set system services dhcp pool 192.168.3.0/24 propagate-settings ge-0/0/0.0
set system services dhcp pool 192.168.4.0/24 address-range low 192.168.4.2
set system services dhcp pool 192.168.4.0/24 address-range high
192.168.4.254
set system services dhcp pool 192.168.4.0/24 router 192.168.4.1
set system services dhcp pool 192.168.4.0/24 propagate-settings ge-0/0/0.0
set system services dhcp pool 192.168.5.0/24 address-range low 192.168.5.2
set system services dhcp pool 192.168.5.0/24 address-range high
192.168.5.254
set system services dhcp pool 192.168.5.0/24 router 192.168.5.1
set system services dhcp pool 192.168.5.0/24 propagate-settings ge-0/0/0.0

[edit]
root at FIOS_Quantum_Gateway# load set terminal
[Type ^D at a new line to end input]
set interfaces ge-0/0/0 unit 0 family inet dhcp client-identifier
hexadecimal 01485d36343597
set interfaces ge-0/0/0 unit 0 family inet dhcp retransmission-attempt 6
set interfaces ge-0/0/0 unit 0 family inet dhcp retransmission-interval 4
set interfaces ge-0/0/0 unit 0 family inet dhcp update-server
set interfaces ge-0/0/0 unit 0 family inet dhcp vendor-id FiOS-G1100:
dslforum.org
load complete

[edit]
root at FIOS_Quantum_Gateway# commit and-quit
[edit interfaces ge-0/0/0 unit 0 family inet]
  'dhcp'
    Incompatible with the dhcp server configured under 'system services
dhcp'
error: commit failed: (statements constraint check failed)


Pretty interesting - I think the old style DHCP client configs make more
sense than the JDHCP client configs introduced in 15.x - but alas, still no
luck with a working implementation of a hex DHCP client-identifier using
JDHCP.

-JJ

On Tue, Sep 5, 2017 at 11:49 AM, Clarke Morledge <chmorl at wm.edu> wrote:

> John Jensen,
>
> I can not comment on your specific issue, but I ran into a different DHCP
> issue with the new JDHCP-style format, that forced me to go back to the
> legacy format, which was working just fine.  I am running 15.1X49-D100.6.
>
> Unfortunately, the PR is private, so there are no details. It looks like I
> will be waiting for a new version of JUNOS to come out before I can hope to
> use the new JDHCP method.
>
> Clarke Morledge
> College of William and Mary
> Information Technology - Network Engineering
> Jones Hall (Room 18)
> Williamsburg VA 23187
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list