hi

i work with 5.9stable

i have an german dsl provider with dual stack slaac config.

i use kernel pppoe


# ifconfig pppoe0
pppoe0:
flags=208951<UP,POINTOPOINT,RUNNING,PROMISC,SIMPLEX,MULTICAST,AUTOCONF6>
rdomain 4 mtu 1500
        priority: 0
        dev: em3 state: session
        sid: 0x1c PADI retries: 29 PADR retries: 0 time: 12:39:33
        sppp: phase network authproto pap authname "yy-xxx...@netcologne.de"
        groups: pppoe
        status: active
        inet6 fe80::20d:48ff:fe26:7a1f%pppoe0 ->  prefixlen 64 scopeid 0x15
        inet6 2001:4dd0:af15:483d:20d:48ff:fe26:7a1f ->  prefixlen 64
autoconf pltime 559190 vltime 2546390
        inet6 2001:4dd0:af15:483d:8810:a7c3:e3dd:3506 ->  prefixlen 64
deprecated autoconf autoconfprivacy pltime 0 vltime 497333
        inet 84.44.211.173 --> 195.14.226.22 netmask 0xffffffff
        inet6 2001:4dd0:af15:cbd9:20d:48ff:fe26:7a1f ->  prefixlen 64
autoconf pltime 604767 vltime 2591967
        inet6 2001:4dd0:af15:cbd9:74c2:814d:9f0e:7809 ->  prefixlen 64
autoconf autoconfprivacy pltime 40820 vltime 559228


so my internal ipv6 net is fde0::/64 and for transfer between pair if
fd00::

if do an

pass out on $pppoe_if inet6 from { fe80::/64 , fde0::/64 , fd00::/64 } to
any nat-to ($pppoe_if)

he use the :7a1f ip as nat addr that do not work.

pass out on $pppoe_if inet6 from { fe80::/64 , fde0::/64 , fd00::/64 } to
any nat-to ($pppoe_if:0)

he use the Link local addr for nat it fails.


because
if  do

pass out on $pppoe_if inet6 from { fe80::/64 , fde0::/64 , fd00::/64 } to
any nat-to 2001:4dd0:af15:cbd9:74c2:814d:9f0e:7809

it work as expected because is not dynamic about the slaac situation.

what can i do ?

change the ipv6 address , if they change , with an script in my
pc.conf ?

holger

Reply via email to