SRX

last person joined: 16 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Problem with dhcp propagate-settings

    Posted 03-21-2010 06:30

    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



  • 2.  RE: Problem with dhcp propagate-settings

    Posted 03-25-2010 00:02

    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



  • 3.  RE: Problem with dhcp propagate-settings

    Posted 06-08-2010 07:37

    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 ]



  • 4.  RE: Problem with dhcp propagate-settings

     
    Posted 03-11-2018 20:03

    Hi Ronald,

    I am pretty convinced you have the same issue I experienced when I started with the new release and new SRX3xx range SRX's.

     

    My first thought was that you would need to propogate the settings to the respective interfaces but I am sure you test with only 1 DHCP configuration on one of the irb interfaces and that still did not work.

     

    By default the new SRX seem to come in tranparent mode. In order to serve DHCP clients you need to be in switching mode.

     

    In config mode:

     

    1) run show ethernet-switching global-information

     

    Global Configuration:

    MAC aging interval    : 300
    MAC learning          : Enabled
    MAC statistics        : Disabled
    MAC limit Count       : 16383
    MAC limit hit         : Disabled
    MAC packet action drop: Disabled
    LE  aging time        : 1200
    LE  VLAN aging time   : 1200
    Global Mode           : Switching

     

    If you are not seeing switching then change the gobal mode:

     

    2)  set protocols l2-learning global-mode switching

     

    You will need to commit and restart the router.

     

    Cheers

     



  • 5.  RE: Problem with dhcp propagate-settings

     
    Posted 03-11-2018 20:11

    Sorry that was meant for another thread.