Description

Ping initiated with hostname fails with error message "Undefined symbol vrf_getindexbyvrfname".
Config:
set system management-instance
set groups default system name-server 10.10.10.1 routing-instance mgmt_junos
set groups default routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop 10.10.10.129

Ping Result:
lab>  ping www.google.com routing-instance mgmt_junos
ld-elf.so.1: /lib/nss_vrf.so.1: Undefined symbol "vrf_getindexbyvrfname"

lab>  ping www.google.com
ld-elf.so.1: /lib/nss_vrf.so.1: Undefined symbol "vrf_getindexbyvrfname"

 

Solution

This is a software bug and is fixed via PR: 1795068 

As a workaround, initiate the Ping with IP address instead of the hostname

Modification History

2024-06-14 : Article Created