Description

 

This article discusses whether it is possible to configure dhcp-relay under a routing-instance in a logical system on SRX devices.

 

Symptoms

 

In some Junos OS codes, there is no forwarding-options hierarchy under a routing-instance in a logical system for me to configure dhcp-relay.

[edit]
root# set logical-systems lsys1 routing-instances vr1 ?
Possible completions:
> access               Network access configuration
> access-profile       Access profile for this instance
+ apply-groups         Groups from which to inherit configuration data
+ apply-groups-except  Don't inherit configuration data from these groups
  description          Text description of routing instance
> egress-protection    Egress instance protection
  instance-role        Primary role of L2Backhaul-vpn router
  instance-type        Type of routing instance
> interface            Interface name for this routing instance
  no-vrf-propagate-ttl  Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)
> protocols            Routing protocol configuration
  qualified-bum-pruning-mode  Enable BUM pruning for VPLS instance
+ remote-vtep-list     Configure static remote VXLAN tunnel endpoints
> routing-options      Protocol-independent routing option configuration
> switch-options       L2 options for routing-instance of type virtual-switch
> system               System parameters
  vlan-model           Subscriber vlan-model in L2Wholesale framework
> vlans                VLAN configuration
> vrf-advertise-selective  Override no-vrf-advertise knob for the specified address family
  vrf-propagate-ttl    Enable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)
> vtep-remote-interface  Remote VTEP interface
  vtep-source-interface  Source layer-3 IFL for VXLAN
> vxlan
[edit]
root# set logical-systems lsys1 routing-instances vr1 for
                                                      ^
syntax error.
root# set logical-systems lsys1 routing-instances vr1 for

 

Solution

 

Starting from Junos OS Release 15.1X49-D100, the forwarding-options hierarchy has been introduced in a routing-instance under logical systems.

This allows dhcp-relay to be set up in a routing-instance under a logical system, whenever required.

{primary:node0}[edit]
root@SRX# set logical-systems lsys-r1 routing-instances VR1 forwarding-options ?
Possible completions:
+ apply-groups         Groups from which to inherit configuration data
+ apply-groups-except  Don't inherit configuration data from these groups
> dhcp-relay           Dynamic Host Configuration Protocol relay configuration
> family               Protocol family
  no-load-balance-label-capability  Disable load balance label capability

For dhcp-relay (JDHCP) related configuration, refer to KB34624 - [SRX] Configuring JDHCP relay in a logical system [juniper.net] .

 

Modification History

 

2021-03-02: Article reviewed for accuracy; article accurate and valid