Bug 248602

Summary: jls command not displaying ipv6 addresses or multiple ipv4 addresses
Product: Base System Reporter: joeb1
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Some People CC: jamie
Priority: ---    
Version: 12.1-RELEASE   
Hardware: Any   
OS: Any   

Description joeb1 2020-08-11 14:05:48 UTC
Release 12.1 on amd64 real hardware.

Have both non-vnet and vnet jails using fc00::2 format for local only access between host and jails.

The jls command only shows the first ipv4 address of multiple ipv4 addresses assigned to a jail.

The jls command DOESN'T show any running jail that only has a ipv6 address.
Comment 1 Jamie Gritton freebsd_committer freebsd_triage 2020-08-12 17:36:53 UTC
True, the default output of jls isn't very useful in the days of IPv6.  But it's a machine-readable format, and won't change.

You can see all the IPv4 and IPv6 addresses with "jls -v".  You might also be interested in "jls -s" and "jls name ip4.addr ip6.addr".