I’m trying to add a static IPv4 and IPv6 address to interface eth0, using Network Manager.
I had no issues setting up the IPv4 address. I restricted my router’s v4 DHCP to a certain range of addresses, and am happily assigning static IPs across the network from the pool DHCP can’t touch.
However, I cannot set up a routable static IPv6. I think this is coming down to my unfamiliarity with how IPv6 works. I’m trying, but a lot of the documentation assumes I know more than I already do.
My router is handing out v6 IPs in stateless mode, which seems to work best for my ISP and LAN.
Manjaro wants an:
- IPv6 address;
- IPv6 prefix; and
I think I can just make the v6 address up, and it will work without conflict, since my router is smart enough to use RA to see if an address is taken before it tries to assign it via DHCP. (No more v4 DHCP reservation tables!)
The “Prefix” appears to be the size of the block. I’m not sure what to give it for this one. I want to reserve a single address, so perhaps /64 isn’t the way to go? Even if it works, that’s a lot of wasted space.
I gave it a shot and added an address in the form: WWWW:XXXX:YYYY:ZZZZ:7d01::1/64, where the first 4 bytes are the network wide prefix set at the router level, prefix 64, gateway set to my router’s IP.
It shows up via
ip address show eth0, and I can ping the machine from itself, so it’s working as a localhost address, but I can’t get to it from anywhere else. Network Manager highlights my router’s IPv6 address in yellow, so I guess it’s trying to warn me about something?
Any suggestions would be appreciated. Thanks!