dhcp-interface
set interfaces tunnel TXTdhcp-interface TXT
This sets the local-ip address of a tunnel to the IPv4 address obtained from an interface configured by dhcp.
set protocols static route IPV4NET dhcp-interface TXTset protocols static table U32<1-200> route IPV4NET dhcp-interface TXT
This sets the next-hop IPv4 address of a static route to the IPv4 address of a router obtained from an interface configured by dhcp.