积极答复者
IPv6: stateless autoconfiguration / manual configuration

问题
-
Hi,
i have a problem with windows7 and IPv6...
I'll configure an static IPv6-Address to the client.
If I add the entry in the GUI, and run ipconfig after that, i get the following output:
(It's a german windows, i translated the important things)Ethernet-Adapter LAN-Verbindung: Verbindungsspezifisches DNS-Suffix: IPv6-Adresse. . . . . . . . . . . : 2003:ff:ff:ff::2 IPv6-Adresse. . . . . . . . . . . : 2003:ff:ff:ff:211:d8ff:fe38:1275 temporary IPv6-Adresse. . . . . . : 2003:ff:ff:ff:695a:9ca6:84a:fa99 Linl Local IPv6-Adresse . . . . . : fe80::211:d8ff:fe38:1275%11 IPv4-Adresse . . . . . . . . . . : 192.168.3.2 Subnetzmaske . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : 2003:ff:ff:ff::1 fe80::20f:90ff:fe7b:44a1%11 192.168.3.1
The Client add automatically more than one IPv4-Addresses... But I would only have one IPv6-Address (2003:ff:ff:ff::2) configured.
I don't want the temporary IPv6-Address, the Linc-Local IPv6-Address, and the IPv6-Address configured automatically from the Client.
Do you know how to disable or remove this Addresses?
Thank you for your help.
Greetings
Darkholylein
答案
-
Hi,
The resulting IPv6 address, based on this random interface identifier, is known as a temporary address. Temporary addresses are generated for public address prefixes that use stateless address auto configuration. Temporary addresses are used for the lower of the following values of the valid and preferred lifetimes:
1. The lifetimes included in the Prefix Information option in the received Router Advertisement message.
2. Local default values of 1 week for valid lifetime and 1 day for preferred lifetime.
After the temporary address valid lifetime expires, a new interface identifier and temporary address is generated.
For more information, please refer to the following article:
Using Windows Tools to Obtain IPv6 Configuration Information
If you still would like to disable it, please type the following commands in Command Console:
netsh interface ipv6 set privacy state=disable
Thanks,
Novak
- 已标记为答案 Novak Wu 2010年4月6日 2:28
全部回复
-
Hi,
The resulting IPv6 address, based on this random interface identifier, is known as a temporary address. Temporary addresses are generated for public address prefixes that use stateless address auto configuration. Temporary addresses are used for the lower of the following values of the valid and preferred lifetimes:
1. The lifetimes included in the Prefix Information option in the received Router Advertisement message.
2. Local default values of 1 week for valid lifetime and 1 day for preferred lifetime.
After the temporary address valid lifetime expires, a new interface identifier and temporary address is generated.
For more information, please refer to the following article:
Using Windows Tools to Obtain IPv6 Configuration Information
If you still would like to disable it, please type the following commands in Command Console:
netsh interface ipv6 set privacy state=disable
Thanks,
Novak
- 已标记为答案 Novak Wu 2010年4月6日 2:28
-
Just switch of router discovery. This will prevent the client from sending Router Solicitation messages. Thus the client won't get an dynamic/automatic assigned ip addresse. To do so execute the following statement from an elevated command line window:
netsh interface ipv6 set interface "Local Area Connection" routerdiscovery=disabled
Hope that helps
Ralf- 已建议为答案 Bas van den Dikkenberg 2012年5月28日 8:58
-
Is there a way for a client to automatically get routes if you turn off Router Discovery?
Mark (Zombie)- 已编辑 ZombieWinder 2011年9月12日 19:46
-
DHCP maybe ... if you didn't turn that off.
I just did the routerdiscovery=disabled and couldn't get anywhere via ipv6. I had no Default Route.
"route -6 print" (Need a ::/0 entry) It's the FE80 address of your router.
I noticed earlier my static (manual) config had lost its ROUTER setting. I think when it gets it from Router Discovery it disables such an entry. So I just had to go put it back.
---
netsh interface ipv6 set global randomizeidentifiers=disabled store=active netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent netsh interface ipv6 set privacy state=disabled store=active netsh interface ipv6 set privacy state=disabled store=persistent netsh interface ipv6 set interface "Ethernet" routerdiscovery=disabled
(Go check if you still have Manual Config of Default Gateway.)