misc@,
I not sure is it a bug, or I miss some thing.
I do have following network setup:
gw$ cat /etc/hostname.cnmac2
inet autoconf
inet6 autoconf
gw$ cat /etc/dhcp6leased.conf
request rapid commit
request prefix delegation on cnmac2 for {
cnmac2/56
}
gw$
and inside /etc/pf.conf I've tried:
match out on cnmac2 inet6 from fd00::/8 to any \
nat-to (cnmac2:network)
and
match out on cnmac2 inet6 from fd00::/8 to any \
nat-to (cnmac2:network) source-hash
and
match out on cnmac2 inet6 from fd00::/8 to any \
nat-to (cnmac2:network) random
The first one leads that each curl -6 ifconfig.co return incremented value.
I mean:
~ $ curl -6 ifconfig.co
a:b:c:d::
~ $ curl -6 ifconfig.co
a:b:c:d::1
~ $ curl -6 ifconfig.co
a:b:c:d::2
~ $ curl -6 ifconfig.co
a:b:c:d::3
~ $
and the second and third way always returns:
~ $ curl -6 ifconfig.co
a:b:c:d::
~ $
from any machine from this network.
Is it well known and expected behaviour?
--
wbr, Kirill