SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  inet dhcp update-server vs inet dhcp confusion

    Posted 12-10-2014 10:19

    If I have statically assigned IP from my ISP that I am going to assign to ge-0/0/6 unit 0, do I need to use this option?

     

    And can someone please explain the difference between these two?

     

     

    set interfaces ge-0/0/6 unit 0 family inet dhcp update-server

    set interfaces ge-0/0/6 unit 0 family inet dhcp

     

    Thank you.



  • 2.  RE: inet dhcp update-server vs inet dhcp confusion

     
    Posted 12-10-2014 11:13

    @RonVaughn wrote:

    If I have statically assigned IP from my ISP that I am going to assign to ge-0/0/6 unit 0, do I need to use this option?

     

    And can someone please explain the difference between these two?

     

     

    set interfaces ge-0/0/6 unit 0 family inet dhcp update-server

    set interfaces ge-0/0/6 unit 0 family inet dhcp

     

    Thank you.


     

    What option do you mean you have to configure ?

     

     

     



  • 3.  RE: inet dhcp update-server vs inet dhcp confusion

    Posted 12-10-2014 12:06

    Sorry, by option I mean:

    set interfaces ge-0/0/6 unit 0 family inet dhcp update-server

    or

    set interfaces ge-0/0/6 unit 0 family inet dhcp

    I am assigning IP from my ISP - static IP address to: ge-0/0/6 unit 0 and I already have VLANs configured with DHCP pools, too.

    I don't think I need to use: dhcp update-server or inet dhcp in my case.

    Am I right?

    When do we use it in Juniper?

    And what is the difference between them?

    I have seen some examples, but it is still unclear to me. Smiley Indifferent

     

    Thank you.

     

     

     



  • 4.  RE: inet dhcp update-server vs inet dhcp confusion
    Best Answer

     
    Posted 12-10-2014 12:27

    We use the update-server option to pass DNS, domain-name, etc.. info that we learn from our ISP to pass to the DHCP clients being served by SRX.

     

    We use this in our setup:

     

    ge-0/0/0 {
        unit 0 {
            family inet {
                dhcp-client {
                    update-server;
                }
            }
        }
    }

     

     

    If the SRX is not acting as a DHCP server, then the 'update-server' option doesn't do anything.

     

    Hope this helps.

     

    Regards,

    Sam



  • 5.  RE: inet dhcp update-server vs inet dhcp confusion

     
    Posted 12-10-2014 12:42

    If you have a static config from your ISP then you can configure

     

    set interfaces ge-0/0/6 unit 0 family inet address x.x.x.x/subnetmask

     

     

    and add a default route

    set routing options static route 0.0.0.0/0 next-hop <gw-ip>

     

     



  • 6.  RE: inet dhcp update-server vs inet dhcp confusion

    Posted 12-10-2014 13:44

    Excellent!

    Thank you both, Marc and Sam!

    Regards,

    Ron



  • 7.  RE: inet dhcp update-server vs inet dhcp confusion

     
    Posted 12-10-2014 13:53
    You are welcome !