#@# Version: 2002-01-06a

/etc/sysconfig/network:
  NETWORKING_IPV6=yes|no
    Enable or disable global IPv6 initialization
    Default: no
  IPV6FORWARDING=yes|no
    Enable or disable global forwarding of incoming IPv6 packes 
    on all interfaces.
    Note: Actual packet forwarding cannot be controlled per-device, use netfilter6 for such issues
    Default: no
  IPV6INIT=yes|no
    Enable or disable IPv6 configuration for all interfaces
    Use with caution!
    Default: value not set in this file

  IPV6_AUTOCONF=yes|no
    Sets the default for device-based autoconfiguration.
    Default: yes if IPV6FORWARDING=no, no if IPV6FORWARDING=yes
  IPV6_ROUTER=yes|no
    Sets the default for device-based Host/Router behaviour.
    Default: yes if IPV6FORWARDING=yes, no if IPV6FORWARDING=no
  IPV6_AUTOTUNNEL=yes|no
    Controls automatic IPv6 tunneling.
    Default: no

  IPV6_TUNNELMODE=IP|NBMA (optional)
    Mode of tunnel setup
      IP: separate tunnel device mode (now recommeded) 
      NBMA: NBMA-styled tunnel mode (now mostly obsolete)
    Default: IP

  IPV6_RADVD_TRIGGER_ACTION_6TO4=restart|SIGHUP
  IPV6_RADVD_TRIGGER_ACTION_PPP=restart|SIGHUP
    How to trigger radvd on which reason

  Upper IPv6 options can be overridden in interface-specific configuration.

  IPV6_DEFAULTGW=<ipv6address[%interface]> (optional)
    Add a default route through specified gateway
    An interface can be specified: required for link-local addresses
    Examples:
      IPV6_DEFAULTGW="3ffe:400:100:f101::2"
        Add default route through 3ffe:400:100:f101::2
      IPV6_DEFAULTGW="3ffe:400:100:f101::2%eth0"
        Add default route through 3ffe:400:100:f101::2 and device eth0
      IPV6_DEFAULTGW="fe80::1%eth0"
        Add default route through fe80::1 and device eth0

  IPV6_DEFAULTDEV=<interface> (optional)
    Add a default route through specified interface without specifying next hop
    Type of interface will be tested whether this is allowed
    Examples:
      IPV6_DEFAULTDEV="eth0" INVALID example!
      IPV6_DEFAULTDEV="ppp0"
      IPV6_DEFAULTDEV="sit0"
    Examples for 6to4 (DEV must be in sync with IPV6TO4_SETUP_METHOD)
      IPV6_DEFAULTDEV="tun6to4"
        Add default route through dedicated tun6to4 tunnel device, if configured
      IPV6_DEFAULTDEV="sit0"
        Add default route through generic sit0 tunnel device, if configured

  IPV6_RADVD_PIDFILE=<pid-file> (optional)
    Location of PID file for controlling radvd, see IPV6_CONTROL_RADVD
    Default: "/var/run/radvd/radvd.pid"
    Example:
       IPV6_RADVD_PIDFILE="/some/other/location/radvd.pid"
  IPV6TO4_RADVD_PIDFILE=<pid-file> (obsolete)
    As above, still supported for a while for backward compatibility.

/etc/sysconfig/network-scripts/init.ipv6-global:
  Not really a public file.  Contains different basic settings that
  are set from /etc/[rc.d/]init.d/network at different stages of
  network initialization.

 
/etc/sysconfig/static-routes-ipv6:
  Contains lines of the form:

    <device> ipv6network ipv6gateway
    <tunneldevice> ipv6network

  <device> must be a device name to have the route brought up and
  down with the device

  For example:
  
  eth0   fec0:0:0:2::/64                         fec0:0:0:1:0:0:0:20
   adds a route for IPv6 network fec0:0:0:2::/64 through fec0:0:0:1:0:0:0:20
   
  eth0    2000::/3	                         3ffe:ffff:0:1::1
   so-called "default" routes for clients

  sit1    2000::/3
   adds routes through dedicated tunnel sit1

  Note: default routes (such as the two above) should be set with
  IPV6_DEFAULTGW and IPV6_DEFAULTDEV, see above.


/etc/sysconfig/network-scripts/network-functions-ipv6:

  Not really a public file.  Contains functions which the scripts use
  for bringing IPv6 on interfaces up and down, like addresses, routes,
  forwarding handling and static or automatic tunneling.


/etc/sysconfig/network-scripts/ifcfg-<interface-name>
 
  IPv6-only items for real interfaces:
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6FORWARDING=yes|no
      Enable or disable global forwarding of incoming IPv6 packets
      Note: Obsolete in interface specification!
      Default: no
    IPV6ADDR=<ipv6address>/<prefixlength> 
      Specify a primary static IPv6 address here
      Optional, if normal host and a router advertisement daemon is on local link
      Required, if node is a router and interface should route packets
      Note: if prefixlength is omitted, 64 is assumed
      Example:
        IPV6ADDR="3ffe:ffff:0:5::1"
        IPV6ADDR="3ffe:ffff:0:1::1/128"
    IPV6ADDR_SECONDARIES=<list of ipv6 addresses> (optional)
      A list of secondary IPv6 addresses (perhaps useful for virtual hosting)
      Example:
        IPV6ADDR_SECONDARIES="3ffe:ffff:0:1::10 3ffe:ffff:0:1::11/64"
    IPV6_MTU=<MTU of link> (optional)
      Optional, dedicated MTU of this link
      Note: Must be greater or equal to 1280.
      Example:
        IPV6_MTU="1280"

  Special configuration options for multi-homed hosts etc.
	IPV6_ROUTER=yes|no: Controls IPv6 autoconfiguration
	IPV6_AUTOCONF=yes|no: Controls IPv6 autoconfiguration
	 Defaults:
	  Global IPV6FORWARDING=yes: IPV6_AUTOCONF=no, IPV6_ROUTER=yes
	  Global IPV6FORWARDING=no: IPV6_AUTOCONF=yes

  Optional settings for a 6to4 tunnel
    IPV6TO4INIT=yes|no
      Enable or disable 6to4 tunneling setup
      Default: no
    IPV6TO4_RELAY=<ipv4address> (optional)
      IPv4 address of the remote 6to4 relay
      Note: if this is omitted, ::192.88.99.1 (the anycast relay address) is chosen
    IPV6TO4_IPV4ADDR=<ipv6address> (optional)
      Overwrite local IPv4 address which is accessable from the Internet
       (optional, in case of static IPv4-NAT behind a router or other special scenarios)
    IPV6TO4_ROUTING=<LAN-routing-setup-tokens> (optional)
      A list of routing tokens to setup proper IPv6 routes on the LAN
      Example:
         IPV6TO4_ROUTING="eth0-:f101::0/64 eth1-:f102::0/64"
         Will create one route per eth0 and eth1, taking given SLA
    IPV6TO4_SETUP_METHOD=sit0|tun6to4 (optional)
      Select method of used 6to4 tunnel setup
        sit0: uses the generic tunnel device
        tun6to4: uses a dedicated device named "tun6to4"
      Default: tun6to4

  Optional settings for a 6to4 tunnel or a ppp link
    IPV6_CONTROL_RADVD=yes|no (optional)
      Enable signalling radvd that the 6to4 prefix has been changed or a
       preconfigured dynamic device is up or down
      Default: no
    IPV6TO4_CONTROL_RADVD=yes|no (obsolete)
      As above, still supported for a while for backward compatibility

  IPv6-only items for automatic tunnel interface: 
    Virtual interface name: sit0
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
    Obsolete now, see IPV6_AUTOTUNNEL in /etc/sysconfig/network

  IPv6-only items for static tunnel interface (IPV6_TUNNELMODE=IP):
    Interface name: sit1..
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6TUNNELIPV4=<ipv4 address of foreign tunnel endpoint>
      Specify IPv4 address of a foreign IPv6-in-IPv4 tunnel endpoint
      Example:
        IPV6TUNNELIPV4="1.2.3.4"
    IPV6TUNNELIPV4LOCAL=<local ipv4 address of tunnel> (optional)
      Specify local IPv4 address of tunnel, useful on interfaces with multiple IPv4 addresses
    IPV6ADDR=<ipv6address>/<prefixlength> (optional)
     local IPv6 address of a numbered tunnel
    IPV6_MTU=<MTU of tunnel> (optional)
      Optional, dedicated MTU of this tunnel
      Note: Must be greater or equal to 1280
      Example:
        IPV6_MTU="1280"

  IPv6-only items for static tunnel interface (IPV6_TUNNELMODE=NBMA):
    Virtual interface name: sit1..
    Real interface is always sit0
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6TUNNELIPV4=<ipv4 address of foreign tunnel endpoint>
      specify IPv4 address of a foreign IPv6-in-IPv4 tunnel endpoint
      Example:
        IPV6TUNNELIPV4="1.2.3.4"
    IPV6_MTU=<MTU of tunnel> (optional)
      Optional, MTU of automatic tunnel (because of mechanism, last overwrite prevous ones)
      Note: Must be greater or equal to 1280
      Example:
        IPV6_MTU="1280"

    
 
