Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to find the IPv6 delegated prefix from the command line
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to find the IPv6 delegated prefix from the command line (Read 729 times)
rocketraman
Newbie
Posts: 16
Karma: 1
How to find the IPv6 delegated prefix from the command line
«
on:
April 19, 2023, 06:56:41 am »
The web interface shows the "IPv6 delegated prefix" value in the Interfaces/Overview under the WAN interface. How can I obtain this information from a shell?
The `ifconfig` command shows the delegated prefix under my LAN interface but with the wrong prefix length: /64 instead of /56 which shows on the web interface.
Logged
rocketraman
Newbie
Posts: 16
Karma: 1
Re: How to find the IPv6 delegated prefix from the command line
«
Reply #1 on:
April 19, 2023, 07:12:59 am »
Figured out one way to do it:
cat $(ifctl -6 -l -p)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to find the IPv6 delegated prefix from the command line