SRX

last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Question - Configuring two DHCP server

    Posted 02-21-2017 09:14

    Hello all,

     

    I've been using a DHCP server for long time, and configuration is in place and working (This is an SRX in Chassis cluster). Now I want to use a new DHCP server but only for 2 interfaces as a test before full rollout, and want to see if the following configuration looks accurate:

     

    Current config:

    set forwarding-options dhcp-relay server-group DHCP_SERVER 10.172.26.17
    set forwarding-options dhcp-relay active-server-group DHCP_SERVER
    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY interface reth1.1001
    set forwarding-options dhcp-relay group CORPORATE_V1002_DHCP_RELAY interface reth1.1002
    set forwarding-options dhcp-relay group CORPORATE_V1003_DHCP_RELAY interface reth1.1003
    set forwarding-options dhcp-relay group CORPORATE_V1004_DHCP_RELAY interface reth1.1004
    set forwarding-options dhcp-relay group VOICE_V1101_DHCP_RELAY interface reth1.1101
    set forwarding-options dhcp-relay group VOICE_V1102_DHCP_RELAY interface reth1.1102
    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY interface reth1.1103
    set forwarding-options dhcp-relay group VOICE_V1104_DHCP_RELAY interface reth1.1104


    New config:

    set forwarding-options dhcp-relay server-group DHCP_SERVER 10.172.26.17
    set forwarding-options dhcp-relay server-group BLUECAT_SERVER 8.8.8.8
    set forwarding-options dhcp-relay active-server-group BLUECAT_SERVER
    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY active-server-group BLUECAT_SERVER
    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY interface reth1.1001
    set forwarding-options dhcp-relay group CORPORATE_V1002_DHCP_RELAY interface reth1.1002
    set forwarding-options dhcp-relay group CORPORATE_V1003_DHCP_RELAY interface reth1.1003
    set forwarding-options dhcp-relay group CORPORATE_V1004_DHCP_RELAY interface reth1.1004
    set forwarding-options dhcp-relay group VOICE_V1101_DHCP_RELAY interface reth1.1101
    set forwarding-options dhcp-relay group VOICE_V1102_DHCP_RELAY interface reth1.1102
    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY active-server-group BLUECAT_SERVER
    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY interface reth1.1103
    set forwarding-options dhcp-relay group VOICE_V1104_DHCP_RELAY interface reth1.1104

     

    I'm just not sure what exactly the "active-server-group" option does, and what is the correct way to specify different DHCP servers for each interface.

     

    Thanks!



  • 2.  RE: Question - Configuring two DHCP server
    Best Answer

     
    Posted 02-21-2017 23:08

    If you just want to change the active server for CORPORATE_V1001_DHCP_RELAY  and VOICE_V1103_DHCP_RELAY, then you need to specify the active-server under the group only as you already configured.

     

     

    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY active-server-group BLUECAT_SERVER

    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY active-server-group BLUECAT_SERVER

     

    You dont need the below config if you dont want to chnage the server for other groups.

     

    set forwarding-options dhcp-relay active-server-group BLUECAT_SERVER

     

    Remove this and add the original server-gorup "set forwarding-options dhcp-relay active-server-group DHCP_SERVER"

     

     

    NEW config:

     

    set forwarding-options dhcp-relay server-group DHCP_SERVER 10.172.26.17

    set forwarding-options dhcp-relay server-group BLUECAT_SERVER 8.8.8.8
    set forwarding-options dhcp-relay active-server-group DHCP_SERVER
    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY active-server-group BLUECAT_SERVER
    set forwarding-options dhcp-relay group CORPORATE_V1001_DHCP_RELAY interface reth1.1001
    set forwarding-options dhcp-relay group CORPORATE_V1002_DHCP_RELAY interface reth1.1002
    set forwarding-options dhcp-relay group CORPORATE_V1003_DHCP_RELAY interface reth1.1003
    set forwarding-options dhcp-relay group CORPORATE_V1004_DHCP_RELAY interface reth1.1004
    set forwarding-options dhcp-relay group VOICE_V1101_DHCP_RELAY interface reth1.1101
    set forwarding-options dhcp-relay group VOICE_V1102_DHCP_RELAY interface reth1.1102
    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY active-server-group BLUECAT_SERVER
    set forwarding-options dhcp-relay group VOICE_V1103_DHCP_RELAY interface reth1.1103
    set forwarding-options dhcp-relay group VOICE_V1104_DHCP_RELAY interface reth1.1104

     



  • 3.  RE: Question - Configuring two DHCP server

    Posted 02-22-2017 08:27

    Makes perfect sense, thank you!