# netconf-ipv6: configuration values for ipv6 networking # # @(#)B.11.31_LR # # IPv6 Configuration Parameters. See ifconfig(1m). # # IPV6_INTERFACE: Network interface name. e.g. "lan0", "lan1"... # # IPV6_INTERFACE_STATE: Desired interface state at boot time. # Either "up" or "down" or "". Default is up. # # IPV6_INTERFACE_FLAG: Specify interface flag. # If set to "-private", disable stateless address # autoconfiguration using prefixes received in router # advertisements. Default is "private", the interface # will autoconfigure addresses using prefixes received # in router advertisements. # # If set to "-forward", disable forwarding packets. # Default is "forward"; the interface forwards packets. # # INTERFACE_MODULES: A list of modules to be pushed on a stream # associated with an interface. For example, # INTERFACE_MODULES[0]="mod1 mod2 ... modN-1 modN" # pushes modN on top of modN-1. # # # Step 1: REQUIRED # # Specify the LAN interfaces on which you need to configure IPv6. # This is required for both stateless and stateful address autoconfiguration. # The interface will be configured with a link-local address and other # addresses with prefix based on router advertisements when an IPv6 router # is present in the network. # # For Example, # # IPV6_INTERFACE[0]=lan0 # IPV6_INTERFACE_STATE[0]="up" # IPV6_LINK_LOCAL_ADDRESS="fe80::1" # IPV6_INTERFACE_FLAG[0]="" # INTERFACE_MODULES[0]="" # # The above lines will configure the lan0 interface and assign the link-local # address to lan0:0. lan0:0 will have the address fe80::1, where "fe80::" is # the link-local prefix and "1" is the interface id. If IPV6_LINK_LOCAL_ADDRESS # variable is left as blank, the interface id is derived from the ethernet # address of the interface. If the ethernet address is 00:60:b0:16:12:34, the # interface id would be 260:b0ff:fe16:1234. If there is a router which is # advertising a prefix (say "3ffe:1000::") then lan0:1 will be configured # with the address 3ffe:1000::1. Again, if the IPV6_LINK_LOCAL_ADDRESS is left # blank, the address would be 3ffe:1000::260:b0ff:fe16:1234. Note that # IPV6_LINK_LOCAL_ADDRESS should contain a valid link-local address only. # # If the interface is marked "down", then neighbor discovery is disabled # for that interface. # # For each additional network interface, add a set of variable assignments # like the ones below, changing the index to "[1]", "[2]" et cetera. IPV6_INTERFACE[0]="" IPV6_INTERFACE_STATE[0]="up" IPV6_LINK_LOCAL_ADDRESS[0]="" IPV6_INTERFACE_FLAG[0]="" INTERFACE_MODULES[0]="" # Step 2: OPTIONAL # # IPv6 Manual Configuration Parameters. # # Following information will be used for configuring the interface with # an IPv6 address. # # IPV6_SECONDARY_INTERFACE_NAME: # Secondary interface name. The respective primary # interface SHOULD be specified in Step 1. # # IPV6_ADDRESS: IPv6 address. For example, # fec0:0:0:1::1234 is a site-local unicast address. # 3ffe:1111::1234 is a global unicast address. # # IPV6_SECONDARY_INTERFACE_STATE: # Desired interface state for the IPv6 secondary # interface specified in IPV6_SECONDARY_INTERFACE_NAME. # Either "up" or "down". Default is "up". # # IPV6_PREFIXLEN: IPv6 prefix length. A value between 1 and 128. # Default value is 64. See ifconfig(1M) for valid value # of prefix length for site-local and global IPv6 # addresses. # # DHCPV6_ENABLE: If DHCP should be used, then set it to 1. Otherwise 0. # This is a placeholder for now. DHCPv6 is not available # yet. # # For each additional network interfaces, add a set of variable assignments # like the ones below, changing the index to "[1]", "[2]" et cetera. # # For each interface specified here in IPV6_INTERFACE_NAME, the corresponding # IPV6_INTERFACE above must be specified as well. Otherwise, the following # manual configuration for that alias interface will be skipped. IPV6_SECONDARY_INTERFACE_NAME[0]="" IPV6_ADDRESS[0]="" IPV6_PREFIXLEN[0]="" IPV6_SECONDARY_INTERFACE_STATE[0]="up" DHCPV6_ENABLE[0]=0 # Step 3: OPTIONAL # # Tunnel interface configuration. # # Following information will be used for configuring tunnel interfaces. # # TUN_INTERFACE_NAME: Tunnel interface name. The tunnel interface name # should be iptu* or ip6tu*. Example: iptu0, iptu1, ip6tu0 # # TUN_TYPE: Tunnel type. Possible values are: "ip6inip", "ipinip6", # "ip6inip6" and "6to4". # # TUN_LOCAL_ADDRESS: Address of the tunnel entry-point. # # For tunnel types "ip6inip" and "ip6inip6", it should be # link-local IPv6 address. Example: fe80::1. # # For tunnel type "ip6inip", if the link-local # address is not specified, it will be automatically # configured based on TUN_ENCAP_SRC_ADDRESS. # # For tunnel type "ipinip6", it should be an IPv4 address. # # For tunnel type "6to4", it should be a 6to4 address # derived from TUN_ENCAP_SRC_ADDRESS. For example if # TUN_ENCAP_SRC_ADDRESS is 15.13.136.204, the 6to4 # prefix should be 2002:0f0d:88cc::, which can be combined # to an interface identifier "1" to form the 6to4 address # 2002:0f0d:88cc::1. # # If a 6to4 address is not specified, it will be # automatically created from TUN_ENCAP_SRC_ADDRESS. # # TUN_REMOTE_ADDRESS: Address of the tunnel exit-point. # # For tunnel types "ip6inip" and "ip6inip6", it should be # link-local IPv6 address. Example: fe80::2. # # For tunnel type "ip6inip", if the link-local # address is not specified, it will be automatically # configured based on TUN_ENCAP_DST_ADDRESS. # # For tunnel type "ipinip6", it should be an IPv4 address. # # The TUN_REMOTE_ADDRESS should not be specified for # the tunnel type "6to4" since it is an automatic point # to multipoint tunnel. The remote end-point of the tunnel # will be determined based on routing information. # # TUN_ENCAP_SRC_ADDRESS: # The source address in the encapsulating(outer) header. # It should be an address configured on an interface in # the tunnel entry-point node. # # For tunnel types "ip6inip" and "6to4", it should be an # IPv4 address. # # For tunnel types "ipinip6" and "ip6inip6", it should be # an IPv6 address. # # TUN_ENCAP_DST_ADDRESS: # The destination address in the encapsulating(outer) # header. It should be an address configured on an # interface in the tunnel exit-point node. # # For tunnel type "ip6inip", it should be an # IPv4 address. # # For tunnel types "ipinip6" and "ip6inip6", it should be # an IPv6 address. # # It should not be specified for tunnel type "6to4", the # destination address in the encapsulating header will # be automatically derived from the destination 6to4 # address. # # TUN_ENCAP_LIMIT: The tunnel encapsulation limit option as specified in # RFC 2473. # # The tunnel encapsulation limit is the maximum number of # additional encapsulations permitted for packets # undergoing encapsulation at that entry-point node. # # This option is valid only for tunnel types "ipinip6" # and "ip6inip6". # # TUN_INTERFACE_STATE: Desired interface state at boot time. # Either "up" or "down" or "". Default is up. # # TUN_INTERFACE_FLAG: Specify interface flag. # If set to "-private", disable stateless address # autoconfiguration using prefixes received in router # advertisements. Default is "private", the interface # will autoconfigure addresses using prefixes received # in router advertisements. # # If set to "-forward", disable forwarding packets. # Default is "forward"; the interface forwards packets. # # For each additional tunnel interface, add a set of variable assignments # like the ones below, changing the index to "[1]", "[2]" etc. TUN_INTERFACE_NAME[0]="" TUN_TYPE[0]="" TUN_LOCAL_ADDRESS[0]="" TUN_REMOTE_ADDRESS[0]="" TUN_ENCAP_SRC_ADDRESS[0]="" TUN_ENCAP_DST_ADDRESS[0]="" TUN_ENCAP_LIMIT[0]="" TUN_INTERFACE_STATE[0]="" TUN_INTERFACE_FLAG[0]="" # Static IPv6 Route Information # # IPV6_DESTINATION: IPv6 destination. For network route, specify # "net /". # # IPV6_GATEWAY: IPv6 address or hostname of the gateway. # # IPV6_ROUTE_COUNT: An integer indicating whether the gateway is a remote # interface (one) or the local interface (zero). # # IPV6_ROUTE_ARGS: Arguments to route command. Enclose all options within # quotes. # # IPV6_ROUTE_SOURCE: Local system IPv6 address in colon notation, or the # equivalent IPv6 hostname or alias (in /etc/hosts). # This field is optional. If specified, it must match # one of the configured IPv6 addresses or names of the # local system. # # For each additional route, add a set of variable assignments like the ones # below, changing the index to "[1]", "[2]" et cetera. # # Add a default route only when there is no IPv6 router on the network. # # IMPORTANT: If IPv6 hostnames are used instead of IPv6 addresses for fields # that support both, make sure the system name resolution policy # is configured so that a hang during system boot (or slow boot # behavior) is avoided. See nsswitch.conf(4). IPV6_DESTINATION[0]="default" IPV6_GATEWAY[0]="" IPV6_ROUTE_COUNT[0]="1" IPV6_ROUTE_ARGS[0]="" IPV6_ROUTE_SOURCE[0]="" # RTRADVD: Set to 1 to start rtradvd daemon. # # RTRADVD_ARGS: Arguments to the rtradvd daemon. # # Configuration of a rtradvd config file (e.g. /etc/rtradvd.conf) is needed # for successful operation of the rtradvd server. # # NOTE: do not start the daemon on foreground mode by specifying the # debug level without "debugfile". See rtradvd(1m) RTRADVD=0 RTRADVD_ARGS="" # # Network interface configuration. See ifconfig(1m) # # DEFAULT_INTERFACE_MODULES contains a default list of modules to be # pushed on a stream associated with an interface. For example, # INTERFACE_MODULES[0]="mod1 mod2 ... modN-1 modN" pushes modN on top # of modN-1. # # Precedence rules: # 1) The module names specified in INTERFACE_MODULES[] for the specified # interface overrides the modules in DEFAULT_INTERFACE_MODULES. For # example, INTERFACE_MODULES[0]="foo" and # DEFAULT_INTERFACE_MODULES="m1 m2", then the module list applied # will be "foo". # # 2) If INTERFACE_MODULES[] is set to null string, then the module # names specified in DEFAULT_INTERFACE_MODULES will be used for the # specified interface. For example, INTERFACE_MODULES[0]="" ( or # INTERFACE_MODULES[0]= ) and DEFAULT_INTERFACE_MODULES="m1 m2", # then the applied module list will be "m1,m2". # # 3) If INTERFACE_MODULES[] is explicitly set to "NONE", then no module # list will be applied for the specified interface. For example, if # INTERFACE_MODULES[0]="NONE" and DEFAULT_INTERFACE_MODULES="m1 m2", # then there will be no -m option applied to the interface. # Restriction: The module name can't be "NONE", and "NONE" is not # case sensitive. DEFAULT_INTERFACE_MODULES="" # New Optional IPv6 Configuration Parameters BEGINS # # IPV6_INTERFACE_SKIP: Determines whether the primary interface mentioned in corresponding # IPV6_INTERFACE needs to be configured or not. Setting # it to "true" will skip or disable the interface configuration. # And setting it to "false" enables the interface configuration. # Default is "false". # For Example, # In order to skip the configuration of interface mentioned in # IPV6_INTERFACE[0]. User can just set IPV6_INTERFACE_SKIP[0] to"true". # # IPV6_SECONDARY_INTERFACE_STATE: # # Desired interface state for the IPv6 secondary # interface specified in IPV6_SECONDARY_INTERFACE_NAME. # Either "up", "down" or "force". Default is "up". # See ifconfig(1M) for more about force flag. # # IPV6_SECONDARY_INTERFACE_SKIP: # Determines whether the IPv6 secondary interface specified in # IPV6_SECONDARY_INTERFACE_NAME needs to be configured or not. # Setting it to "true" will skip or disable the interface # configuration. And setting it to "false" enables the interface # configuration. Default is "false". # # Please note that if the respective primary interface is skipped # from the configuration, then set this flag to "true" or else # /sbin/init.d/net-ipv6 fails to configure this secondary interface. # # TUN_INTERFACE_SKIP: Determines whether the corresponding tunnel interface specified in # TUN_INTERFACE_NAME needs to be configured or not. Setting it to # "true" will skip or disable the interface configuration. And setting # it to "false" enables the interface configuration. Default is flase. # # Please note that if the respective source interface is skipped # from the configuration, then set this flag to "true" or else # /sbin/init.d/net-ipv6 fails to configure this tunnel interface. # # IPV6_ROUTE_PARAMS: Specify "force" to enable force flag for a route. # See route(1M) for more about force flag. # # IPV6_ROUTE_SKIP: Determines whether the corresponding static route needs to be # congfigured or not. Setting it to "true" will skip or disable # the configuration of this route. And setting it to "false" will # enable the route configuration. Default is "false". # # Please note that if the corresponding source interface is # skipped from the configuration, then set this flag to "true" # or else /sbin/init.d/net-ipv6 fails to add this route. # for example # To skip the configuration of an static route specified in # IPV6_DESTINATION[0] set IPv6_ROUTE_SKIP[0] to "true". # # Optional IPv6 Configuration Parameters ENDS.