updated radvd setting
This commit is contained in:
parent
f623b81d59
commit
a2ec4bee88
@ -198,7 +198,8 @@ Install the radvd deamon and configure it so the usb0
|
|||||||
interface advertises the aaaa::/64 prefix as on link
|
interface advertises the aaaa::/64 prefix as on link
|
||||||
and usable for address autoconfiguration.
|
and usable for address autoconfiguration.
|
||||||
|
|
||||||
Example radvd configuration (usually in /etc/radvd.conf)
|
|
||||||
|
Radvd configuration (usually in /etc/radvd.conf)
|
||||||
\verbatim
|
\verbatim
|
||||||
interface usb0
|
interface usb0
|
||||||
{
|
{
|
||||||
@ -206,15 +207,20 @@ interface usb0
|
|||||||
AdvLinkMTU 1280;
|
AdvLinkMTU 1280;
|
||||||
AdvCurHopLimit 128;
|
AdvCurHopLimit 128;
|
||||||
AdvReachableTime 360000;
|
AdvReachableTime 360000;
|
||||||
MinRtrAdvInterval 500;
|
MinRtrAdvInterval 100;
|
||||||
MaxRtrAdvInterval 1000;
|
MaxRtrAdvInterval 150;
|
||||||
|
AdvDefaultLifetime 200;
|
||||||
prefix AAAA::/64
|
prefix AAAA::/64
|
||||||
{
|
{
|
||||||
AdvOnLink on;
|
AdvOnLink on;
|
||||||
AdvAutonomous on;
|
AdvAutonomous on;
|
||||||
|
AdvPreferredLifetime 4294967295;
|
||||||
|
AdvValidLifetime 4294967295;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
\note This values have been carefuly chosen to work on platform using
|
||||||
|
a 16bit clock.
|
||||||
|
|
||||||
Restart the radvd daemon. Example command:
|
Restart the radvd daemon. Example command:
|
||||||
\verbatim
|
\verbatim
|
||||||
@ -278,7 +284,8 @@ To do so, type:
|
|||||||
\code
|
\code
|
||||||
ipv6 ifc [interface index] advertises forwards
|
ipv6 ifc [interface index] advertises forwards
|
||||||
ipv6 adu [interface index]/aaaa::1
|
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
|
ipv6 rtu aaaa::/64 [interface index] publish
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user