RAdvD + /48 Prefixes
Shadow Hawkins on Wednesday, 11 January 2006 15:07:55
Hi, my radvd doesn't take work with
prefix 2001:16d8:ff6e::/48
All I get is
kern.warn radvd[818]: prefix length should be 64 for br0
and no advertisments.
Why?
(With /64, everything works perfectly)
RAdvD + /48 Prefixes
Jeroen Massar on Wednesday, 11 January 2006 15:18:58
Because a link should get a /64 as then it can use autoconfiguration using this /64, which specify the first 64 bits and the EUI-64 portion of the link, totalling into an 128 bits IPv6 addres.
With a /48 you would have 64-48=16 missing bits.
The /48 you get is supposed to be divided over 65536 subnets.
RAdvD + /48 Prefixes
Shadow Hawkins on Wednesday, 11 January 2006 15:53:43
Because subnets are /64 ...
so with a /48 prefix you can have 65535 subnets.
eg you have 2001:1:1: 0-ffff: 2:2:2:2
your prefix subnet-id host-part
eg you could announce
2001:1:1:0 on eth0
and 2001:1:1:1 on eth1
and have 2001:1:1:ffff as a "protocol translator" where you map in the whole ipv4 address range :)
Posting is only allowed when you are logged in. |