Bug 248602 - jls command not displaying ipv6 addresses or multiple ipv4 addresses
Summary: jls command not displaying ipv6 addresses or multiple ipv4 addresses
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-11 14:05 UTC by joeb1
Modified: 2020-08-12 17:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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".