unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-5.9)
Page:
Section:
Apropos / Subsearch:
optional field



File Formats                                         ndpd.conf(4)



NAME
     ndpd.conf - configuration file for  IPv6  router  autoconfi-
     guration

SYNOPSIS
     /etc/inet/ndpd.conf

DESCRIPTION
     The ndpd.conf file contains  configuration  information  for
     in.ndpd()1M  when used on a router.  This file does not need
     to exist or can be empty on a host. The file has one  confi-
     guration  entry  per  line;  note that lines can be extended
     with a backslash (\) followed by a <NEWLINE>. There are four
     forms  of  configuration entries which are identified by the
     first field on the line: ifdefault,  prefixdefault,  if,  or
     prefix. The ifdefault and if  entries  set  interface confi-
     guration variables;  the former establishes the defaults for
     all  interfaces.  Any  ifdefault entries must precede any if
     entries in the file.

     The prefixdefault and prefix entries control per-prefix con-
     figuration    variables.   prefixdefault   establishes   the
     defaults for all prefixes on all interfaces. Any   prefixde-
     fault entries must precede any prefix entries in the file.

     Each ifdefault entry is composed of a  single  line  of  the
     form:

     ifdefault [ if-variable-name value ]*

     Each if entry is composed of a single line of the form:

     if interface [ if-variable-name value ]*

     Each prefixdefault entry is composed of a single line of the
     form:

     prefixdefault [ prefix-variable-name value ]*

     Each prefix entry is composed of a single line of the form:

     prefix prefix/prefix_length interface [ prefix-variable-name value ]*

     Fields are separated by either <SPACE> or <TAB>  characters.
     A `#'  (number  sign) indicates the  beginning of a comment.
     Characters up to the end of the line are not interpreted  by
     routines that search this file.

     interface
           The name of a network interface, for example, le0.

     prefix



SunOS 5.9           Last change: 18 Feb 2003                    1






File Formats                                         ndpd.conf(4)



           An IPv6 address in standard hexadecimal notation,  for
           example, fec0:0:0:1::0.

     prefix_length
           A number between 0 and 128.

     if-variable-name
           An interface variable as discussed in  RFC  2461   and
           RFC 2462. The following lists the each interface vari-
           able and its default value and unit:

           ______________________________________________________________________________________
          |        Variable Name        |               Default               |       Unit      |
          |_____________________________|_____________________________________|_________________|
          | DupAddrDetectTransmits      | 1                                   | Counter         |
          |_____________________________|_____________________________________|_________________|
          | AdvSendAdvertisements       | false                               |  Boolean        |
          |_____________________________|_____________________________________|_________________|
          |  MaxRtrAdvInterval          | 600                                 | Seconds         |
          |_____________________________|_____________________________________|_________________|
          |  MinRtrAdvInterval          | 200                                 | Seconds         |
          |_____________________________|_____________________________________|_________________|
          | AdvManagedFlag              | false                               | Boolean         |
          |_____________________________|_____________________________________|_________________|
          | AdvOtherConfigFlag          | false                               | Boolean         |
          |_____________________________|_____________________________________|_________________|
          | AdvLinkMTU                  | 0                                   | Bytes           |
          |_____________________________|_____________________________________|_________________|
          | AdvReachableTime            | 0                                   | Milliseconds    |
          |_____________________________|_____________________________________|_________________|
          | AdvRetransTimer             | 0                                   | Milliseconds    |
          |_____________________________|_____________________________________|_________________|
          | AdvCurHopLimit              | 0                                   | Counter         |
          |_____________________________|_____________________________________|_________________|
          | AdvDefaultLifetime          | 1800                                | Seconds         |
          |_____________________________|_____________________________________|_________________|


     prefix-variable-name
           A prefix variable as discussed in RFC  2461   and  RFC
           2462.  The following lists the each interface variable
           and its default value and unit:













SunOS 5.9           Last change: 18 Feb 2003                    2






File Formats                                         ndpd.conf(4)



           _______________________________________________________________
          |        Variable Name        |    Default     |      Unit     |
          |_____________________________|________________|_______________|
          | AdvValidLifetime            | 2592000        | Seconds       |
          |_____________________________|________________|_______________|
          | AdvOnLinkFlag               | true           | Boolean       |
          |_____________________________|________________|_______________|
          | AdvPreferredLifetime        | 604800         | Seconds       |
          |_____________________________|________________|_______________|
          | AdvAutonomousFlag           | true           | Boolean       |
          |_____________________________|________________|_______________|
          | AdvValidExpiration          | not set        | Date/Time     |
          |_____________________________|________________|_______________|
          | AdvPreferredExpiration      | not set        | Date/TIme     |
          |_____________________________|________________|_______________|

           The Expiration variables are used to specify that  the
           lifetime  should be decremented in real time as speci-
           fied in RFC 2461. If an  Expiration  variable  is  set
           then  it takes precedence over the corresponding Life-
           time variable setting.

     value The value is a function of the unit.   Boolean  values
           are true, false, on, off, 1, or 0.

           Values in seconds can have   characters  appended  for
           day  (d),  hour  h),  minute  (m)  and second(s).  The
           default is seconds. For example, 1h means1 hour.  This
           is equivalent to the value 3600.

           Values in milliseconds can  have  characters  appended
           for  day (d),hour (h),  minute (m) second (s),and mil-
           lisecond (ms). The default is milliseconds. For  exam-
           ple, 1h is equivalent to the value 3600000.

           Date/time values are strings that use the  recommended
           ISO  date  formatdescribed  as  "%Y-%m-%d  %R",  which
           represents a  4  digit  year,   a  dash  character,  a
           numeric month, a dash character, and a numeric day  of
           the month, followed by one or more whitespace  charac-
           ters  and finally a 24 hour clock with hours, a colon,
           and minutes. For example,  1999-01-3120:00  means  8pm
           January 31 in 1999. Since the date/time values contain
           a space, use single or double quotes  to  declare  the
           value. For example:

     prefixdefault AdvPreferredExpiration '1999-01-31 20:00'

EXAMPLES
     Example 1: Sending Router Advertisements for all Interfaces





SunOS 5.9           Last change: 18 Feb 2003                    3






File Formats                                         ndpd.conf(4)



     The following example can be used to send router  advertise-
     ments out to all interfaces:

     # Send router advertisements out all interfaces
     ifdefault AdvSendAdvertisements on
     prefixdefault AdvOnLinkFlag on AdvAutonomousFlag on

     # Advertise a (bogus) global prefix and a site
     # local prefix on three interfaces using the default lifetimes
     prefix 2:0:0:9255::0/64      hme0
     prefix fec0:0:0:9255::0/64   hme0

     prefix 2:0:0:9256::0/64      hme1
     prefix fec0:0:0:9256::0/64   hme1

     prefix 2:0:0:9259::0/64      hme2
     prefix fec0:0:0:9259::0/64   hme2

ATTRIBUTES
     See attributes(5)  for descriptions of the following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsr                     |
    |_____________________________|_____________________________|


SEE ALSO
     in.ndpd(1M),attributes(5), icmp6(7P), ip6(7P)

     Narten, T., Nordmark, E., and Simpson, W. RFC 2461, Neighbor
     Discovery  for  IP  Version  6 (IPv6). The Internet Society.
     December 1998.

     Thomson, S.,  and  Narten,  T.   RFC  2462,  IPv6  Stateless
     Address  Autoconfiguration.  The  Internet Society. December
     1998.
















SunOS 5.9           Last change: 18 Feb 2003                    4