SRX

Expand all | Collapse all

DCHP-Relay Question

Jump to Best Answer
  • 1.  DCHP-Relay Question

    Posted 03-22-2017 21:52

    I have two DHCP sources that I am using that goes through a trunk port to a wireless AP.  The DHCP-RELAY is used in conjunction with the windows domain and is used on everything with everything but the guest wifi.  I've set it to be the DHCP Relay... I am migrating from a SRX240 where it was configured as such:
    "set forwarding-options helpers bootp interface vlan.4 server 192.168.2.2"

    How can I or even do I need to declare what interface to use the DHCP-RELAY on?


    My related configurations are below:

    set forwarding-options dhcp-relay server-group FFFFdhcp 192.168.2.2
    set forwarding-options dhcp-relay active-server-group FFFFdhcp

     

    set access address-assignment pool guestwifi family inet range guest-range low 192.168.200.100
    set access address-assignment pool guestwifi family inet range guest-range high 192.168.200.199
    set access address-assignment pool guestwifi family inet dhcp-attributes domain-name ffff.com
    set access address-assignment pool guestwifi family inet dhcp-attributes name-server 8.8.8.8
    set access address-assignment pool guestwifi family inet dhcp-attributes router 192.168.200.1
    set access address-assignment pool guestwifi family inet dhcp-attributes propagate-settings irb.200
    set access address-assignment pool guestwifi family inet dhcp-attributes option 3 ip-address 192.168.200.1

     

    set interfaces ge-0/0/1 unit 0 description "Unit 0 - EX4200 - FFHA-SW1"
    set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
    set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-trust
    set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-servers
    set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-worstations (irb.4)
    set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-iscsi
    set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-mgmt

     

    set interfaces ge-0/0/4 unit 0 description "Ruckus AP"
    set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
    set interfaces ge-0/0/4 unit 0 family ethernet-switching inner-vlan members vlan-Guest  (irb.200)
    set interfaces ge-0/0/4 unit 0 family ethernet-switching inner-vlan members vlan-worstations (irb.4)

    set vlans vlan-worstations vlan-id 4
    set vlans vlan-worstations l3-interface irb.4

    set vlans vlan-Guest vlan-id 200
    set vlans vlan-Guest l3-interface irb.200



  • 2.  RE: DCHP-Relay Question

     
    Posted 03-23-2017 05:44
    set forwarding-options dhcp-relay server-group FFFFdhcp 192.168.2.2 interface irb.4

    Did you configure your irb.4 interface?



  • 3.  RE: DCHP-Relay Question

    Posted 03-23-2017 06:52
    set forwarding-options dhcp-relay server-group FFFFdhcp 192.168.2.2 interface irb.4

    interface irb.4 is not a valid option.  This is why I have the question on if there is a place to configure it to a specific interface

    after the IP my options are:
    .dhcp-relay server-group FFFFdhcp 192.168.2.2 ?
    Possible completions:
      <[Enter]>            Execute this command
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups


     



  • 4.  RE: DCHP-Relay Question

     
    Posted 03-23-2017 07:21
    Hmm what platform and junos version are you migrating to?


  • 5.  RE: DCHP-Relay Question

    Posted 03-23-2017 08:10

    Moving from the SRX240 to the SRX300
    recently updated to the latest version: 15.1X49-D75.5;



  • 6.  RE: DCHP-Relay Question
    Best Answer

     
    Posted 03-23-2017 09:42

    Okay this is it:

     

    set forwarding-options dhcp-relay server-group FFFFdhcp 192.168.2.2
    set forwarding-options dhcp-relay group relay1 active-server-group FFFFdhcp
    set forwarding-options dhcp-relay group relay1 interface irb.4
    


  • 7.  RE: DCHP-Relay Question

    Posted 03-23-2017 19:42

    That looks to be exactly what I was needing!!
    I saw the group there before but didn't understand that the active server could be used under the group and to have it associate with the interface in that regard.

    Unfortunetly I won't be able to fully test this out till the weekend.  I'll let you know and will give kudos as deserved.

    Thank you!



  • 8.  RE: DCHP-Relay Question

    Posted 04-08-2017 12:19

    Everything came up and was working like it should.  Thank you for your help.