From a2ec4bee8827e9b1a35ca069042802ca7ec74bb4 Mon Sep 17 00:00:00 2001 From: mdurvy Date: Fri, 17 Oct 2008 15:27:11 +0000 Subject: [PATCH] updated radvd setting --- doc/tutorial-raven.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/tutorial-raven.txt b/doc/tutorial-raven.txt index d76620770..2cf1ca12c 100644 --- a/doc/tutorial-raven.txt +++ b/doc/tutorial-raven.txt @@ -198,7 +198,8 @@ Install the radvd deamon and configure it so the usb0 interface advertises the aaaa::/64 prefix as on link and usable for address autoconfiguration. -Example radvd configuration (usually in /etc/radvd.conf) + +Radvd configuration (usually in /etc/radvd.conf) \verbatim interface usb0 { @@ -206,15 +207,20 @@ interface usb0 AdvLinkMTU 1280; AdvCurHopLimit 128; AdvReachableTime 360000; - MinRtrAdvInterval 500; - MaxRtrAdvInterval 1000; + MinRtrAdvInterval 100; + MaxRtrAdvInterval 150; + AdvDefaultLifetime 200; prefix AAAA::/64 { AdvOnLink on; AdvAutonomous on; + AdvPreferredLifetime 4294967295; + AdvValidLifetime 4294967295; }; }; \endverbatim +\note This values have been carefuly chosen to work on platform using +a 16bit clock. Restart the radvd daemon. Example command: \verbatim @@ -278,7 +284,8 @@ To do so, type: \code ipv6 ifc [interface index] advertises forwards ipv6 adu [interface index]/aaaa::1 -ipv6 rtu ::/0 [ethernet interface index]/[ethernet link-local address] publish +ipv6 rtu ::/0 [ethernet interface index]/[ethernet link-local address] +life 250 publish ipv6 rtu aaaa::/64 [interface index] publish \endcode