Here is how to configure DHCP relay on the QFX platform.
1. Define a DHCP server group with DHCP servers IP address(es) :
1 |
set forwarding-options dhcp-relay server-group <server-group-name> <ip.address> |
Example : If you want to name the group as “PRD-dhcpSrv” and the IP of the server is 10.1.1.10 :
1 |
set forwarding-options dhcp-relay server-group PRD-dhcpSrv 10.1.1.10 |
Note : You can add as many DHCP server as you want if you have clustered DHCP, just repeat the same statement with their respective DHCP server addresses.
2. Create a relay group, which you will map to the server-group defined above :
1 |
set forwarding-options dhcp-relay group <relay-group-name> active-server-group <server-group-name> |
Example : If your relay group name is “PRD” and your server group name is “PRD-dhcpSrv” :
1 |
set forwarding-options dhcp-relay group PRD active-server-group PRD-dhcpSrv |
3. Configure the relay group to the desired interface :
1 |
set forwarding-options dhcp-relay group PRD interface irb.0 |
Note : Repeat the statement above to as many interface as you require.