SRX Services Gateway
Reply
New User
ronaldtse
Posts: 2
Registered: ‎03-21-2010
0

Problem with dhcp propagate-settings

Hi All,

I've been struggling with the dhcp propagate-setting command on a SRX210 running 10.1R1.8.

The scenario is most basic: a simple gateway router, singled-homed through ethernet (ge0/0/0) (acts as a dhcp client), needs to act as a dhcp server to the trusted vlan behind (ge0/0/1-fe0/0/7).

Both NAT and DHCP are working fine but I am unable to propagate the received DHCP client info to the DHCP clients on the trusted vlan.

In the default configuration, there is this line:
  set system services dhcp propagate-settings ge-0/0/0.0

According to the CLI reference, "propagate-settings" is to propagate the received DHCP client info/options to other DHCP clients on the desired logical interface.

In this case, I would want to pass on the DHCP client info from ge0/0/0.0, to vlan.0, the logical interface that I want the information propagated out to other DHCP clients.

However, the command "set system services dhcp propagate-settings vlan.0" does not work as expected.

From cli, "show system services dhcp global" shows the config that is actually sent out to the DHCP pool. The config shown here is always the nameserver settings of the device without any of the info received from DHCP via ge-0/0/0.0.

I thought I may have misunderstood propagate-settings oppositely, and have tried other configurations, but they don't seem to have effects on the output of "show system services dhcp global":
  set system services dhcp propagate-settings ge-0/0/0.0
  set system services dhcp propagate-settings ge-0/0/1.0


From all documentation I found related to "propagate-settings", including the QuickStart guide, SRX Golden Configurations, CX111 Configurations for SRX, and the CLI reference guide, it seems that my intended usage is correct, but it really doesn't work in my case.

There are 2 other forum posts that ask about this issue but so far nobody has replied to them.

Am I missing something or did I run into a JunOS bug?


Thanks a lot.

Best,
Ronald

New User
ronaldtse
Posts: 2
Registered: ‎03-21-2010
0

Re: Problem with dhcp propagate-settings

Has anybody been able to make "dhcp propagate-settings" work? That would be really helpful for us - with multiple SRX boxes we really want them to work.

 

Thanks in advance.

 

Ron

Visitor
jtaddeo
Posts: 1
Registered: ‎03-19-2010
0

Re: Problem with dhcp propagate-settings

Make sure you have the 'update-server' command on your logical interface.  I was able to make it work on the global DHCP level but had issues with it configured only inside the pool level.  I'm running 10.1R2.8 though

 

config:

> show configuration system services
ssh;
telnet;
dhcp {
    pool 10.122.55.0/24 {
        address-range low 10.122.55.100 high 10.122.55.150;
        maximum-lease-time 86400;
        router {
            10.122.55.1;
        }
    }
    pool 10.122.52.0/24 {
        address-range low 10.122.52.100 high 10.122.52.150;
        maximum-lease-time 3600;
        router {
            10.122.52.1;
        }
    }
    propagate-settings fe-0/0/0.0;
}
interfaces {

fe-0/0/0 {
    description untrust;
    fastether-options {
        auto-negotiation;
    }
    unit 0 {
        family inet {
            dhcp {
                update-server;
            }
        }
    }
}
}

 

output:

> show system services dhcp client fe-0/0/0.0

 Logical Interface name         fe-0/0/0.0
        Hardware address        b0:c6:9a:ff:59:40
        Client status           bound
        Address obtained        10.6.2.133
        Update server           enabled
        Lease obtained at       2010-06-08 10:22:04 EDT
        Lease expires at        2010-06-11 10:22:04 EDT

DHCP options:
    Name: server-identifier, Value: 10.0.7.57
    Code: 1, Type: ip-address, Value: 255.255.255.0
    Name: router, Value: [ 10.6.2.1 ]
    Name: domain-name, Value: na.xxx.local
    Name: name-server, Value: [ 10.0.5.23, 10.0.5.26 ]

 

> show system services dhcp pool 10.122.55.0/24 detail
Pool information:
    Subnet                     10.122.55.0/24
    Address range              10.122.55.100 - 10.122.55.150
    Addresses assigned         3/51
      Active: 1, Expired: 2

DHCP lease times:
    Default lease time         1 day
    Minimum lease time         1 minute
    Maximum lease time         1 day

DHCP options:
    Name: router, Value: [ 10.122.55.1 ]
    Name: domain-name, Value: na.xxx.local
    Name: name-server, Value: [ 10.0.5.23, 10.0.5.26 ]

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.