How to create a persistent IPv6 routing rule
Hi,I have been trying to configure the Teredo Tunneling adapter, and I was able to route all my traffic with the following netsh command: "add route ::/0 interface=13" where 13 is the Teredo Tunneling Adapter.With that I am able to ping ipv6.google.com (which is the only server that I know that only respond to ipv6 traffic).The thing is when I reset the network adapter (or reboot) that route even though it exists (executing "add route ::/0 interface=13") it doesnt work. I have to remove it and then add it again. My teredo configuration is:Teredo Parameters---------------------------------------------Type : client (Group Policy)Server Name : teredo.ipv6.microsoft.comClient Refresh Interval : 60 secondsClient Port : 34567State : qualifiedClient Type : teredo host-specific relayNetwork : unmanagedNAT : restrictedNAT Special Behaviour : UPNP: No, PortPreserving: YesLocal Mapping : 192.168.1.100:34567External NAT Mapping : xxx.xxx.xx.xxx:34567It can be noted that I have forced through local policy the state as Qualified, so the Teredo adapter shouldnt go "Dormant". The interesting thing is that when I execute a "route print" I get the following:IPv6 Route Table===========================================================================Active Routes: If Metric Network Destination Gateway 13 306 ::/0 On-link 1 306 ::1/128 On-link 13 58 2001::/32 On-link 13 306 2001:0:4137:9e76:24dc:78f8:4109:f53d/128 On-link 11 276 2002:c0a8:164::/48 On-link 11 276 2002:c0a8:164::/128 On-link 11 276 fe80::/64 On-link 13 306 fe80::/64 On-link 13 306 fe80::24dc:78f8:4109:f53d/128 On-link 11 276 fe80::4da5:27dc:a941:9bc5/128 On-link 1 306 ff00::/8 On-link 13 306 ff00::/8 On-link 11 276 ff00::/8 On-link===========================================================================Persistent Routes: If Metric Network Destination Gateway 0 4294967295 ::/0 On-link===========================================================================But that same route do not appear as a Persistent Route, I tried to add the store=persistent parameter to the netsh command but it doesnt work either. As a last resort I tried to use the route.exe command but I couldnt find a way to make it work (cannot find out what I would be supposed to pass as parameters to it).Tryied: "route -p -6 ADD ::/0" but it doesnt work apparently because it needs something else, but dont know what should it be. Anyone have an idea on how to do it?Thanks in advance,Federico
April 15th, 2010 5:20am

Hi, Please also refer to the following document: Add an IPv6 route Hope this helps. Thanks.Nicholas Li - MSFT
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2010 8:45am

Hi Nicholas, Didnt work, I tried most of those, including explicitly specifying the persistent status. Greetings Federico
April 21st, 2010 6:04pm

Hi Federico, I'm experiencing the same problem. Have you found a way to solve that? Tried "add route ::/0 interface=15 validlifetime=infinite preferredlifetime=infinite store=persistent" Got "Persistent aging routes are not supported. To create non-persistent aging routes, specify the active store." But "add route ::/0 interface=15 store=persistent" got no error. The artical Nicholas provided said that infinite is the default value. Confused. I don't quite understand the meaning of validlifetime and preferredlifetime. Does it mean that an infinite route can't be persistent? :-)
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2010 4:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics