Merge branch 'tomato-ND-USBmod' into tomato-RT
[tomato.git] / release / src / router / radvd / radvd.conf.example
blob9933300bb6f9d8851bdee671d845136beed6a1e7
2 # NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 
3 # NOTE                                                             NOTE
4 # NOTE  This is an EXAMPLE, which serves only to demonstrate the   NOTE
5 # NOTE  syntax of radvd.conf, and is not meant to be used for a    NOTE
6 # NOTE  real radvd configuration.                                  NOTE
7 # NOTE                                                             NOTE
8 # NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 
11 interface eth0
13         AdvSendAdvert on;
15 # This may be needed on some interfaces which are not active when
16 # radvd starts, but become available later on; see man page for details.
18         # IgnoreIfMissing on;
21 # These settings cause advertisements to be sent every 3-10 seconds.  This
22 # range is good for 6to4 with a dynamic IPv4 address, but can be greatly
23 # increased when not using 6to4 prefixes.
26         MinRtrAdvInterval 3;
27         MaxRtrAdvInterval 10;
30 # You can use AdvDefaultPreference setting to advertise the preference of
31 # the router for the purposes of default router determination.
32 # NOTE: This feature is still being specified and is not widely supported!
34         AdvDefaultPreference low;
37 # Disable Mobile IPv6 support
39         AdvHomeAgentFlag off;
42 # example of a standard prefix
44         prefix 2001:db8:1:0::/64
45         {
46                 AdvOnLink on;
47                 AdvAutonomous on;
48                 AdvRouterAddr off;
49         };
52 # example of a 6to4 prefix
54 # Note that the first 48 bits are specified here as zeros.  These will be
55 # replaced with the appropriate 6to4 address when radvd starts or is
56 # reconfigured. Be sure that the SLA ID (1234 in this case) is specified
57 # here!
59         prefix 0:0:0:1234::/64
60         {
61                 AdvOnLink on;
62                 AdvAutonomous on;
63                 AdvRouterAddr off;
66 # This setting causes radvd to replace the first 48 bits of the prefix
67 # with the 6to4 address generated from the specified interface.  For example,
68 # if the address of ppp0 is 192.0.2.25 when radvd configures itself, this
69 # prefix will be advertised as 2002:C000:0219:1234::/64.
71 # If ppp0 is not available at configuration time, this prefix will not be
72 # advertised, but other prefixes listed in the configuration will be
73 # advertised as usual.
75 # When using the Base6to4Interface option, make sure radvd receives a
76 # SIGHUP every time the ppp0 interface goes up, down, or is assigned a
77 # new IPv4 address.  The SIGHUP will cause radvd to recognize that the
78 # ppp0 interface has changed and will adjust the advertisements
79 # accordingly.
82                 Base6to4Interface ppp0;
85 # If the IP address of ppp0 is assigned dynamically, be sure to set the
86 # lifetimes for this prefix to be small.  Otherwise, hosts on your network
87 # may continue to use a prefix that no longer corresponds to the address
88 # on ppp0!
90                 AdvPreferredLifetime 120;
91                 AdvValidLifetime 300;
92         };
94 # example of a more specific route
95 # NOTE: This feature is not very widely supported! You may also need to
96 # enable it manually (e.g. on Linux, change the value of
97 # sysctl accept_ra_rt_info_max_plen to 48 or 64)
99         route 2001:db0:fff::/48
100         {
101                 AdvRoutePreference high;
102                 AdvRouteLifetime 3600;
103         };
106 # RDNSS
107 # NOTE: This feature is not very widely implemented.
109         RDNSS 2001:db8::1 2001:db8::2
110         {
111                 AdvRDNSSLifetime 30;
112         };
115 # DNS Search Lists
117         DNSSL branch.example.com example.com
118         {
119                 AdvDNSSLLifetime 30;
120         };