Jump to content

OPi Lite wifi: wpa2, ipv4 static + ipv6 slaac/privext


David Van Cleef

Recommended Posts

Like most people that have consumer ipv6 service, I have NATted ipv4 + global ipv6.

 

I'm trying to get my v4 to be a static address and my v6 to be slaac with privext 2. However if I try to set this, I end up with the ipv6 configuration not enabled.

 

As a workaround, I've set both v4 + v6 static, but would really like to get slaac working, as my global /64 has not changed to date but is not guaranteed to remain the same.

 

This works:

iface wlan0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1
    wpa-ssid my-essid
    wpa-psk <my-hash-here>
iface wlan0 inet6 static
    address 240x:xx:yy:zz:dead:beef:cafe:babe
    netmask 64
    gateway fe80::aa:bbff:fecc:dd
    privext 2

This does not:

iface wlan0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1
    wpa-ssid my-essid
    wpa-psk <my-hash-here>
iface wlan0 inet6 auto
    privext 2

(Its not an inherent problem with ipv6 slaac, an ipv6-only slaac configuration works)

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines