Re: When IPv6 temporary addresses are regenerated?
- From: "Frank Behrens" <frank@xxxxxxxxxxxx>
- Date: Fri, 26 Jan 2007 16:38:14 +0100
As nobody made a reply I will reply myself. ;-)
Frank Behrens <frank@xxxxxxxxxxxx> wrote on 25 Jan 2007 14:09:
I have an IPv6 setup with temporary addresses (RFC3041). To switch this on I used "sysctl
net.inet6.ip6.use_tempaddr=1". The temporary address is generated and meanwhile expired.
Does anybody know, when this address is expected to be regenerated?
Short answer after digging in the sources:
A new temporary address is regenerated, when there is another address configured with flag
"autoconf" (and temporary address is deprecated).
The specification says, the temporary addresses should be generated for interfaces setup
with stateless address autoconfiguration. What for a setup do I have? My FreeBSD router is
connected via PPP, so I inserted the assigned _prefix_ in rc.conf. Now I have a half
autoconfiguration, the prefix is assigned statically combined with IEEE identifiers.
You see that in my current config:
inet6 2xxx:xxxx:xxxx:0:211:2fff:xxxx:xxxx prefixlen 64
inet6 2xxx:xxxx:xxxx:0:54b:5960:xxxx:xxxx prefixlen 64 deprecated autoconf temporary pltime 0 vltime 509995
But we can change the autoconf interface attribute with the undocumented ifconfig(8) flag
with same name. In that case all works as expected.
To achieve this as simple as possible I changed my rc.conf from
ipv6_prefix_vlan0="2xxx:xxx:xxxx:x"
to
ipv6_ifconfig_vlan0="2xxx:xxx:xxxx:x:: prefixlen 64 eui64 autoconf"
The site effect is, that there is now no automatic assigment of a 64 bit anycast address for
this interface, but that does not matter in my setup.
So my problem is solved, maybe someone can document the behaviour.
Gruß,
Frank
--
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- When IPv6 temporary addresses are regenerated?
- From: Frank Behrens
- When IPv6 temporary addresses are regenerated?
- Prev by Date: Re: rev. 1.94 of netinet/in.c broke CARP
- Next by Date: About NAT Traversal
- Previous by thread: Re: When IPv6 temporary addresses are regenerated?
- Next by thread: rev. 1.94 of netinet/in.c broke CARP
- Index(es):
Relevant Pages
- Re: Converting crypto map to unnumbered VTI
... Cisco IOS Software, 2800 Software, Version ... DRAM configuration is
64 bits wide with parity enabled. ... capture debug isakmp sa with this setup ...
The VTI tunnel interface will not come up until the SA are built (i.e ... (comp.dcom.sys.cisco) - Re: arch/xen is a bad idea
... >> work it is long term to keep an Linux architecture uptodate. ... >
We're actually very well setup to handle this, ... > interface that gives good
performance. ... > virtualization. ... (Linux-Kernel) - Re: Bug#253590: How to turn off IPV6 (link local)
... > autoconf defines whether it will auto-configure an address if a router ...
> advertises the IPv6 prefix for the network to it. ... the scope of the configured
address (dont connect to sitelocal/global of only ... (Linux-Kernel) - Setup a wireless network experiment environment
... through binded ath0 interfaces via adhoc network NET2: ... ok to setup
such an network, and which keys, ARP tables, proxy ARP, ... subnet on local interface
is no longer possible, ... (comp.os.linux.networking) - traffic management performance problem
... I use htb or hfsc for traffic management. ... eth0 is an internet
interface with 8189 aliased addresses ... System in that setup working propertly ("8000
pps" and 20Mbit/s internet ... (comp.os.linux.networking)