set interfaces xe-0/0/1 unit 0 family inet address 10.120.35.110/24
set routing-instances dhcpserv_ri description "local dhcp server vrouter"
set routing-instances dhcpserv_ri instance-type virtual-router
set routing-instances dhcpserv_ri system services dhcp-local-server group g1 interface xe-0/0/1.0
set routing-instances dhcpserv_ri access address-assignment pool p1 family inet network 9.9.9.0/24
set routing-instances dhcpserv_ri access address-assignment pool p1 family inet range r1 low 9.9.9.100
set routing-instances dhcpserv_ri access address-assignment pool p1 family inet range r1 high 9.9.9.200
set routing-instances dhcpserv_ri access address-assignment pool p1 family inet dhcp-attributes name-server 9.9.9.1
set routing-instances dhcpserv_ri interface xe-0/0/1.0
set routing-instances dhcpserv_ri routing-options static route 9.9.9.0/24 next-hop 10.120.35.1
|