Radvd. conf-Linux man page

Source: Internet
Author: User
Tags rfc

Name

Radvd. conf-configuration file of the router advertisement daemonRadvd

Description

This file describes the information which is wrongly ded In the router advertisement (RA) of a specific interface.

The file contains one or more interface definitions of the form:

interface name {  list of interface specific options  list of prefix definitions  list of route definitions};

All the possible interface specific options are detailed below. Each option has to be terminated by a semicolon.

Prefix definitions are of the form:

prefix prefix/length {  list of prefix specific options};

Prefix can be network prefix or the address of the inferface. The address of interface shocould be used when using mobile IPv6 extensions.

All the possible prefix specific options are described below. Each option has to be terminated by a semicolon.

Decimal values are allowed only for mindelaybetweenras, maxrtradvinterval and minrtradvinterval. decimal values shocould be used only when using mobile IPv6 extensions.

Route definitions are of the form:

route prefix/length {  list of route specific options};

The prefix of a route definition shoshould be network prefix; it can be used to advertise more specific routes to the hosts.

Interface specific options
Ignoreifmissing on| Off

A flag indicating whether or not the interface is ignored if it does not exist. this is useful for dynamic interfaces which are not active when radvd starts, but for which you want to already have configuration -- and when they become active, you send HUP signal to radvd to activate them.

Default: Off

Advsendadvert on| Off

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 beOnTo enable advertisement on this interface.

Default:

Off

Unicastonly on| Off

Indicates that the interface link type only supports unicast. this will prevent unsolicited advertisements from being sent, and will cause solicited advertisements to be unicast to the soliciting node. this option is necessary for non-broadcast, multiple-access links, such as isatap.

Default: Off

MaxrtradvintervalSeconds

The maximum time allowed between sending unsolicited multicast 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 extensionsions: 0.07.

For values less than 0.2 seconds, 0.02 seconds is added to account for scheduling granularities as specified in rfc3775.

Default: 600 seconds

MinrtradvintervalSeconds

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 extensionsions: 0.03.

Default: 0.33 * maxrtradvinterval

MindelaybetweenrasSeconds

The minimum time allowed between sending multicast router advertisements from the interface, in seconds.

This applies to solicited multicast RAS. This is defined as the Protocol constant min_delay_between_ras in rfc2461. MIPv6 redefines this parameter to have a minimum of 0.03 seconds.

Minimum when using mobile IPv6 extensionsions: 0.03.

Default: 3

Advmanagedflag on| 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 RFC 2462.

Default: Off

Advotherconfigflag on| Off

When set, hosts use the administered (stateful) protocol for autoconfiguration of other (non-address) information. The use of this flag is described in RFC 2462.

Default: Off

AdvlinkmtuInteger

The MTU option is used in router advertisement messages to insure that all nodes on a link use the same MTU value in those cases where the link MTU is not well known.

If specified, I. e. not 0, must not be smaller than 1280 and not greater than the maximum MTU allowed for this link (e.g. ethernet has a max imum MTU of 1500. see RFC 2464 ).

Default: 0

AdvreachabletimeMilliseconds

The time, in milliseconds, that a node assumes a neighbor is reachable after having committed ed a reachability confirmation. used by the neighbor unreachability detection algorithm (see section 7.3 of RFC 2461 ). A value of zero means unspecified (by this router ).

Must be no greater than 3,600,000 milliseconds (1 hour ).

Default: 0

AdvretranstimerMilliseconds

The time, in milliseconds, between retransmitted neighbor solicitation messages. used by address resolution and the neighbor unreachability detection algorithm (see sections 7.2 and 7.3 of RFC 2461 ). A value of zero means unspecified (by this router ).

Default:

0

AdvcurhoplimitInteger

The default value that shoshould be placed in the hop count field of the IP header for outgoing (unicast) IP packets. the value shoshould be set to the current diameter of the Internet. the value zero means unspecified (by this router ).

Default: 64

AdvdefalifelifetimeSeconds

The lifetime associated with the default router in units of seconds. the maximum value corresponds to 18.2 hours. A lifetime of 0 indicates that the router is not a default router and shoshould 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 information 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 ).

Advdefaprepreference low| Medium| High

The preference associated with the default router, as either "low", "medium", or "high ".

Default: Medium

Advsourcelladdress on| Off

When set, the link-layer address of the outgoing interface is stored in the RA.

Default: On

Advhomeagentflag on| Off

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.

Default: Off

Advhomeagentinfo on| Off

When set, home agent information Option (specified by mobile IPv6) is supported in router advertisements. advhomeagentflag must also be set when using this option.

Default: Off

HomeagentlifetimeSeconds

The length of time in seconds (relative to the time the packet is sent) that the router is offering mobile IPv6 home agent services. A value 0 must not be used. the maximum lifetime is 65520 seconds (18.2 hours ). this option is ignored, if advhomeagentinfo is not set.

If both homeagentlifetime and homeagentpreference are set to their default values, home agent information option will not be sent.

Default:

Advdefalifelifetime

HomeagentpreferenceInteger

The preference for the home agent sending this router advertisement. values greater than 0 indicate more preferable home agent, values less than 0 indicate less preferable home agent. this option is ignored, if advhomeagentinfo is not set.

If both homeagentlifetime and homeagentpreference are set to their default values, home agent information option will not be sent.

Default: 0

Advmobrtrsupportflag on| Off

When set, the home agent signals it supports mobile router registrations (specified by Nemo basic). advhomeagentinfo must also be set when using this option.

Default: Off

Advintervalopt on| Off

When set, advertisement interval option (specified by mobile IPv6) is supported in router advertisements. When set, minimum limits specified by mobile IPv6 are used for minrtradvinterval and maxrtradvinterval.

The advertisement interval is based on the configured maxrtradvinterval parameter t where this is less than 200 ms. In this case, the advertised interval is (maxrtradvinterval + 20 ms ).

Default:

Off

Prefix specific options
Advonlink on| Off

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.

Default: On

Advautonomous on| Off

When set, indicates that this prefix can be used for autonomous address configuration as specified in RFC 2462.

Default: On

Advrouteraddr on| Off

When set, indicates that the address of interface is sent instead of network prefix, as is required by mobile devices 6. when set, minimum limits specified by mobile IPv6 are used for minrtradvinterval and maxrtradvinterval.

Default: Off

AdvvalidlifetimeSeconds | Infinity

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 determination. The symbolic valueInfinityRepresents infinity (I. e. a value of all one bits (0 xffffffff). The valid lifetime is also used by RFC 2462.

Default: 2592000 seconds (30 days)

AdvpreferredlifetimeSeconds | Infinity

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 valueInfinityRepresents infinity (I. e. a value of all one bits (0 xffffffff). See RFC 2462.

Default: 604800 seconds (7 days)

Base6to4interfaceName

If this option is specified, this prefix will be combined with the IPv4 address of InterfaceNameTo produce a valid 6to4 prefix. the first 16 bits of This prefix will be replaced2002And the next 32 bits of This prefix will be replaced by the IPv4 address assigned to interfaceNameAt configuration time. The remaining 80 bits of the prefix (including the sla id) will be advertised as specified in the configuration file. See the next section for an example.

If InterfaceNameIs not available at configuration time, a warning will be written to the log and this prefix will be disabled until radvd is reconfigured.

This option enables systems with dynamic IPv4 addresses to update their advertised 6to4 prefixes simply by restarting radvd or sending a sighup signal to cause radvd to reconfigure itself.

Note that 6to4 prefixes derived from dynamically-assigned IPv4 addresses shoshould be advertised with a significantly shorter lifetime (seeAdvvalidlifetimeAndAdvpreferredlifetimeOptions ).

For more information on 6to4, see RFC 3056.

Default: 6to4 is not used

Route specific options
AdvroutelifetimeSeconds | Infinity

The lifetime associated with the route in units of seconds. The symbolic valueInfinityRepresents infinity (I. e. a value of all one bits (0 xffffffff )).

Default: 3 * maxrtradvinterval

Advroutepreference low| Medium| High

The preference associated with the default router, as either "low", "medium", or "high ".

Default: Medium

Examples
interface eth0{        AdvSendAdvert on;        prefix 2001:db8:0:1::/64        {                AdvOnLink on;                AdvAutonomous on;        };};

It says that router advertisement daemon shocould advertise (advsendadvert on;) the prefix 2001: db8: 0: 1 :: which has a lenght of 64 on the Interface eth0. also the prefix shoshould be marked as autonomous (advautonomous on;) and as on-Link (advonlink on ;). all the other options are left on their default values.

To support movement detection of Mobile IPv6 mobile nodes, the address of interface shocould be used instead of network prefix:

interface eth0{        AdvSendAdvert on;        prefix 2001:db8:0:1::4/64        {                AdvOnLink on;                AdvAutonomous on;                AdvRouterAddr on;        };};

For 6to4 support, includeBase6to4interfaceOption in each prefix section. when using a dynamic IPv4 address, Set Small prefix lifetimes to prevent hosts from retaining unreachable prefixes after a new IPv4 address has been assigned. when advertising to on a dynamic interface (e.g ., bluetooth), skip the interface if it is not active yet.

interface bnep0{        IgnoreIfMissing on;        AdvSendAdvert on;        # Advertise at least every 30 seconds        MaxRtrAdvInterval 30;        prefix 0:0:0:5678::/64        {                AdvOnLink on;                AdvAutonomous on;                Base6to4Interface ppp0;                # Very short lifetimes for dynamic addresses                AdvValidLifetime 300;                AdvPreferredLifetime 120;        };};

Since 6to4 is enabled, the prefix will be advertised as 2002: wwxx: yyzz: 5678:/64, where ww. XX. YY. ZZ is the IPv4 address of ppp0 at configuration time. (IPv6 addresses are written in hexadecimal whereas IPv4 addresses are written in decimal, so the IPv4 address ww. XX. YY. ZZ in the 6to4 prefix will be represented in Hex .)

In this specific case, the configuration scripts shocould send HUP signal to radvd when taking bnep0 up or down to running y about the status.

Files
/usr/sbin/radvd/etc/radvd.conf/var/run/radvd/radvd.pid/var/log/radvd.log
Credit

The description of the different flags and variables is in large parts taken from RFC 2461.

Rfcs

Narten, T., E. nordmark, W. Simpson, "Neighbor Discovery for IP version 6 (IPv6)", RFC 2461, December 1998

Thomson, S., and T. narten, "IPv6 Stateless Address autoconfiguration", RFC 2462, December 1998.

Deering, S., and R. Hinden, "IP version 6 Addressing Architecture", RFC 3513, limit l 2003.

Conta, A., and S. Deering, "Internet Control Message Protocol (ICMPv6) for the Internet Protocol version 6 (IPv6)", RFC 2463, December 1998.

Crawford, M., "transmission of IPv6 packets over Ethernet networks", RFC 2464, December 1998.

Carpenter B., K. Moore, "connection of IPv6 domains via IPv4 clouds", RFC 3056, February 2001. (6to4 Specification)

Draves, R., D. Thaler, "default router preferences and more-specific routes", RFC 4191, November 2005.

Johnson, D., Perkins, C., and J. arkko, "mobility support in IPv6", RFC 3775, June 2004.

Devarapalli, V., wakikawa, R., Petrescu, A., and P. thubert "Network Mobility (NEMO) Basic Support protocol", RFC 3963, January 2005.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.