Posts

Showing posts with the label SRX 210 DHCP

DHCP & NAT on Juniper SRX 210 for all interfaces

Assume that we need to distribute the Internet on SRX210 using DHCP, NAT services for all interfaces. Our provider issued us a public IP address (for ex. 192.168.1.1) which we gonna assign to untrust zone on ge-0/0/1 interface. Interfaces fe-0/0/2 through fe-0/0/7 we shall assign to trust zone, include them in routed vlan and configure for dhcp service. Let's see how it will be: set system services dhcp pool 172.16.1.0/24 address-range low 172.16.1.33 set system services dhcp pool 172.16.1.0/24 address-range high 172.16.1.64 set system services dhcp pool 172.16.1.0/24 default-lease-time 3600 set system services dhcp pool 172.16.1.0/24 domain-name juniperlab.info set system services dhcp pool 172.16.1.0/24 name-server 8.8.8.8 set system services dhcp pool 172.16.1.0/24 router 172.16.1.1 set interfaces ge-0/0/1 unit 0 family inet address 192.168.1.10/24 set interfaces fe-0/0/2 unit 0  family ethernet-switching vlan members dhcp set i...