Configure DHCP Server in Juniper SRX Device

Share: Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestEmail this to someone

DHCP (Dynamic Host Configuration Protocol) has been proved to be very useful protocol. DHCP provides IP addresses to its hosts automatically. You can configure DHCP server on SRX for one or multiple VLANs. You can also configure DHCP Server in Juniper switches. Here we will setup DHCP server for one VLAN. So, lets configure DHCP Server in Juniper SRX device.

Configure DHCP Server in Juniper SRX Device

Configure DHCP Server in Juniper SRX Device

The diagram above shows the network scenario. We will configure DHCP Server in SRX 240 device. The device is connected to the internet. The EX2200 switch is connected to ge-0/0/0 interface of SRX. The ge-0/0/0 interface of SRX have the IP address of

So to make the SRX device as DHCP server hit the following commands in the SRX device’s cli.

At last you must configure ge-0/0/0 interface to zone and allows DHCP protocol.

DHCP Server Troubleshooting

The EX2200 switch is in layer 2 domain. So the clients will obtain IP address from SRX device via DHCP Server. Other useful commands for troubleshooting DHCP Server are,

For information about DHCP visit Juniper website.


About Bipin

Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork . Follow Bipin Giri on Google+. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.