# Configuration example for the router advertisement daemon radvd # for address assignment via DHCPv6: # - M-flag: AdvManagedFlag = on (address configuration via DHCPv6) # - O-flag: AdvOtherConfigFlag = on (obtaining a DNS server list # and a domain name from a Stateless DHCPv6 server, but # not addressing information. # - A-flag: AdvAutonomous = off (address configuration via DHCPv6) interface eth1 { # A flag indicating whether or not the router sends periodic # router advertisements and responds to router solicitations. # This option no longer has to be specified first, but it needs # to be on to enable advertisement on this interface. AdvSendAdvert on; # The maximum time allowed between sending unsolicited multi- # cast router advertisements from the interface, in seconds. # Must be no less than 4 seconds and no greater than 1800 seconds. # Minimum when using Mobile IPv6 extensions: 0.07. # For values less than 0.2 seconds, 0.02 seconds is added to # account for scheduling granularities as specified in RFC3775. MaxRtrAdvInterval 600; # The minimum time allowed between sending unsolicited multicast # router advertisements from the interface, in seconds. # Must be no less than 3 seconds and no greater than # 0.75 * MaxRtrAdvInterval. # Minimum when using Mobile IPv6 extensions: 0.03. MinRtrAdvInterval 200; # The preference associated with the default router, as either # "low", "medium", or "high". AdvDefaultPreference medium; # Mobile IPv6 support, when set, indicates that sending router is # able to serve as Mobile IPv6 Home Agent. # When set, minimum limits specified by Mobile IPv6 are used for # MinRtrAdvInterval and MaxRtrAdvInterval. AdvHomeAgentFlag off; # When set, hosts use the administered (stateful) protocol for # address autoconfiguration in addition to any addresses # autoconfigured using stateless address autoconfiguration. # The use of this flag is described in RFC 4862. # M-flag - if it is set to 1, this informs hosts that they can # obtain a global address as well as DNS and a domain name from # a Stateful DHCPv6 server. Typically this means that auto- # addressing using SLAAC is not allowed on this segment and both # the A-flag and the O-flag are set to 0. AdvManagedFlag on; # When set, hosts use the administered (stateful) protocol for # autoconfiguration of other (non-address) information. # The use of this flag is described in RFC 4862 # O-flag - if it is set to on, this informs hosts that they can # obtain a DNS server list and a domain name from a Stateless # DHCPv6 server, but not addressing information. Typically it # works in conjunction with SLAAC for auto-addressing and both # the A-flag and the O-flag are set to on. # AdvOtherConfigFlag on; # The time, in milliseconds, that a node assumes a neighbor is # reachable after having received a reachability confirmation. # Used by the Neighbor Unreachability Detection algorithm (see # Section 7.3 of RFC 4861). # A value of zero means unspecified (by this router). # Must be no greater than 3,600,000 milliseconds (1 hour). AdvReachableTime 0; # The time,in milliseconds, between retransmitted Neighbor Soli- # citation messages. Used by address resolution and the Neighbor # Unreachability Detection algorithm (see Sections 7.2 and 7.3 # of RFC 4861). A value of zero means unspecified (by this router). AdvRetransTimer 0; # The default value that should be placed in the Hop Count field of # the IP header for outgoing (unicast) IP packets. The value should # be set to the current diameter of the Internet. # The value zero means unspecified (by this router). AdvCurHopLimit 64; # The lifetime associated with the default router in units of seconds. # The maximum value corresponds to 18.2 hours. A lifetime of 0 indi- # cates that the router is not a default router and should not appear # on the default router list. The router lifetime applies only to the # router's usefulness as a default router; it does not apply to in- # formation contained in other message fields or options. Options that # need time limits for their information include their own lifetime # fields. # Must be either zero or between MaxRtrAdvInterval and 9000 seconds. # Default: 3 * MaxRtrAdvInterval (Minimum 1 second). AdvDefaultLifetime 1800; # When set, the link-layer address of the outgoing interface is # included in the RA. AdvSourceLLAddress on; # global-scope adress prefix prefix 2001:a:bcd:1234::/64 { # When set, indicates that this prefix can be used for on-link # determination. When not set the advertisement makes no statement # about on-link or off-link properties of the prefix. For instance, # the prefix might be used for address configuration with some of # the addresses belonging to the prefix being on-link and others # being off-link. AdvOnLink on; # When set, indicates that this prefix can be used for autonomous # address configuration as specified in RFC 4862. # A-flag - if it is set to on, this informs hosts that they can # auto-generate GUA address using SLAAC. If it is set to off means # that auto-configuration is not allowed for this segment. AdvAutonomous off; # When set, indicates that the address of interface is sent instead # of network prefix, as is required by Mobile IPv6. When set, # minimum limits specified by Mobile IPv6 are used for # MinRtrAdvInterval and MaxRtrAdvInterval. AdvRouterAddr off; # The length of time in seconds (relative to the time the packet is # sent) that the prefix is valid for the purpose of on-link de- # termination. The symbolic value infinity represents infinity # (i.e. a value of all one bits (0xffffffff)). The valid lifetime # is also used by RFC 4862. # # Note that clients will ignore AdvValidLifetime of an existing # prefix if the lifetime is below two hours, as required in RFC # 4862 Section 5.5.3 point e). # Note: RFC4861's suggested default value is significantly longer: # 30 days. AdvValidLifetime 5400; # The length of time in seconds (relative to the time the packet # is sent) that addresses generated from the prefix via stateless # address autoconfiguration remain preferred. The symbolic value # infinity represents infinity (i.e. a value of all one bits # (0xffffffff)). See RFC 4862. # # Note: RFC4861's suggested default value is significantly longer: # 7 days. AdvPreferredLifetime 2700; }; # route for global-scope address prefix route 2001:a:bcd:1234::/64 { # The preference associated with the default router, as either # "low", "medium", or "high". AdvRoutePreference medium; # The lifetime associated with the route in units of seconds. The # symbolic value infinity represents infinity (i.e. a value of # all one bits (0xffffffff)). # # Default: 3 * MaxRtrAdvInterval AdvRouteLifetime 1800; }; # unique local prefix prefix fdb6:cb48:9d77:0::/64 { # When set, indicates that this prefix can be used for on-link # determination. When not set the advertisement makes no statement # about on-link or off-link properties of the prefix. For instance, # the prefix might be used for address configuration with some of # the addresses belonging to the prefix being on-link and others # being off-link. AdvOnLink on; # When set, indicates that this prefix can be used for autonomous # address configuration as specified in RFC 4862. # A-flag - if it is set to on, this informs hosts that they can # auto-generate GUA address using SLAAC. If it is set to off means # that auto-configuration is not allowed for this segment. AdvAutonomous off; # When set, indicates that the address of interface is sent instead # of network prefix, as is required by Mobile IPv6. When set, # minimum limits specified by Mobile IPv6 are used for # MinRtrAdvInterval and MaxRtrAdvInterval. AdvRouterAddr off; # The length of time in seconds (relative to the time the packet is # sent) that the prefix is valid for the purpose of on-link de- # termination. The symbolic value infinity represents infinity # (i.e. a value of all one bits (0xffffffff)). The valid lifetime # is also used by RFC 4862. # # Note that clients will ignore AdvValidLifetime of an existing # prefix if the lifetime is below two hours, as required in RFC # 4862 Section 5.5.3 point e). # Note: RFC4861's suggested default value is significantly longer: # 30 days. AdvValidLifetime 5400; # The length of time in seconds (relative to the time the packet # is sent) that addresses generated from the prefix via stateless # address autoconfiguration remain preferred. The symbolic value # infinity represents infinity (i.e. a value of all one bits # (0xffffffff)). See RFC 4862. # # Note: RFC4861's suggested default value is significantly longer: # 7 days. AdvPreferredLifetime 2700; }; # route fdb6:cb48:9d77:0::/64 { # The preference associated with the default router, as either # "low", "medium", or "high". AdvRoutePreference medium; # The lifetime associated with the route in units of seconds. The # symbolic value infinity represents infinity (i.e. a value of # all one bits (0xffffffff)). # # Default: 3 * MaxRtrAdvInterval AdvRouteLifetime 1800; }; };