> On 2024-09-10 19:20:13, Thomas Bohl <openbsd-misc-518597@aloof.de> wrote:
> I used https://aloof.de/f/IPv6Aliases-en.sh for many years.
> HTH
Apologies that I missed this earlier, Thomas. I took a look at this now,
and it does do very much what I want. I have been trying to find something
event-based, rather than polling, but this is a good tool if I go that
route. Thank you.
But, I do notice something looking at it and my openbsd system; the
command-set that produces "publicIPv6Net" seems wrong. Specifically,
it runs "sort -u" on the networks and then "tail -n 1", proportedly
because newer networks are listed at the bottom.
First, sort loses ordering. Second, on my system the last address
output by "route -n show -inet6 | grep ::/64" is not the current
one. Actually, that list seems also to be sorted lexographically
even before running sort. I think "route show" lists them in
address-order, not time-order.
- Chris
No comments:
Post a Comment