What Prefix to use for static IPv6?
![]()
On a pc with Ubuntu 12.04 I want to put a static IPv6 address.
I use the Network Connections window (by clicking on the network icon op top of the screen)
IPv6 settings tab: Address: 2001:7b8:2ff:8469::211
Prefix: ??????
Gateway: 2001:7b8:2ff:8469::1
What to fill in for field Prefix ?
(it seems to me that in Ubuntu 12.04 the file /etc/network/interfaces is not used for this purpose anymore)
What Prefix to use for static IPv6?
What to fill in for field Prefix ?
2001:7b8:2ff:8469::/64
(it seems to me that in Ubuntu 12.04 the file /etc/network/interfaces is not used for this purpose anymore)
It partially is and partially is not. If you put entries there they will take effect, but Network Manager will nullify them. I personally don't use Network Manager, but there are people who for mysterious reasons love it.
For the interfaces file you can use:
iface eth0 inet6 static
address 2001:7b8:2ff:8469::211
netmask 64
gateway 2001:7b8:2ff:8469::1
Next to an IPv4 variant of the line eg 'iface eth0 inet dhcp' or similar.
What Prefix to use for static IPv6?
![]()
Jeroen Massar wrote:
What to fill in for field Prefix ?
2001:7b8:2ff:8469::/64
The field Prefix seems to accept only 2 digits.
As soon as I fill in more than 2 digits, the field color turns to red.
What Prefix to use for static IPv6?
Henk Oegema wrote:
The field Prefix seems to accept only 2 digits.
As soon as I fill in more than 2 digits, the field color turns to red.
I can only assume they actually mean "Prefix Length" then, which would make sense, thus just fill in "64".
What Prefix to use for static IPv6?
![]()
Jeroen Massar wrote:
Henk Oegema wrote:
You are correct Jeroen.
It works. Thanks
The field Prefix seems to accept only 2 digits.
As soon as I fill in more than 2 digits, the field color turns to red.
I can only assume they actually mean "Prefix Length" then, which would make sense, thus just fill in "64".
|