| United States-English |
|
|
|
![]() |
HP-UX IPv6 Transport Administrator's Guide for TOUR 2.0: HP-UX 11i v2 > Chapter 3 ConfigurationManual Configuration |
|
The following section describes the manual configuration process for HP-UX 11i v2 IPv6. To configure an IPv6 link-local address for a primary interface, edit the IPV6_INTERFACE[0] statement in the /etc/rc.config.d/netconf-ipv6 file to specify the interface name and the interface state, either up or down. The interface name must be the name of the physical interface card, as reported by lanscan. To manually specify a link-local address for the primary interface, note that the universal/local “U” bit must be set to 0. That implies, that the manually configured address for the primary interface must match the pattern FE80::xMxx:xxxx:xxxx:xxxx where x are hexadecimal digits, and M is either 0, 1, 4, 5, 8, 9, C, or D. (To be more specific, break M down to the bit level and thus, M = yy0y, where y can be 0 or 1.) A sample netconf-ipv6 file entry is as follows:
Note that if you do not specify a link-local address, then as described earlier in the autoconfiguration section, a link-local address is automatically configured for the primary interface based on the interface’s 48-bit MAC address. If no IPv6 Router on the LAN advertises network prefixes, you can add secondary interface entries to the /etc/rc.config.d/netconf-ipv6 file. Editing the netconf-ipv6 file allows you to identify the network interface name, IPv6 address, and prefix length and also to add entries to the network routing table. A sample netconf-ipv6 file entry is as follows:
Always set DHCPV6_ENABLE to 0. For more information about specifying interface names for multiple interfaces, refer to Chapter 6 “ IPv6 Addressing and Concepts”. In the absence of router advertisements, you can add the default IPv6 router information to the /etc/rc.config.d/netconf-ipv6 file. The routing configuration parameters have an index value, [x], that groups the routing parameters together. A sample netconf-ipv6 file entry is as follows:
TOUR 2.0 provides several important changes to tunneling from in base (default) HP-UX 11i v2 IPv6. If you have previously set up any tunneling on your HP-UX 11i v2 system(s) you will need to be aware of these differences. Highlights of these changes are:
The following sections provides basic examples for configuring an IP6-in-IP tunnel and a “6to4” tunnel. For more information including additional optional tunnel parameters not mentioned in these examples, refer to the /etc/rc.config.d/netconf-ipv6 file and the ifconfig(1M) man page that ship with HP-UX 11i v2 TOUR 2.0. For more information on the tunneling mechanisms supported in TOUR 2.0 refer to the section on “Tunneling”, in Chapter 7 “IPv6 Software and Interface Technology”, later in this Guide.
If you regularly expect to exchange data between isolated IPv6 networks over an IPv4 network, you may want to create a configured IP6-in-IP tunnel. IP6-in-IP tunnels can be set up as host->host; host->router; router->host or router->router. In TOUR 2.0 the HP-UX 11i v2 node, can perform the role of a host or router. A sample netconf-ipv6 file entry, for configuring the HP-UX 11i v2 IPv6 node is as follows: TUN_INTERFACE_NAME[0]=”iptu0” This example minimizes the number of variables that need to be specified. For example, TUN_LOCAL_ADDRESS[0] was not specified since the IPv6 link-local address for this value can be automatically configured based on the TUN_ENCAP_SRC_ADDRESS[0] value. Similarly, the IPv6 link-local TUN_REMOTE_ADDRESS can be automatically configured based on the TUN_ENCAP_DST_ADDRESS. “6to4” offers a point-to-multipoint router-to-router tunneling mechanism for traffic going between IPv6 domains over an IPv4 network. One of the advantages of “6to4” over configured tunneling is that the source router can talk to any other “6to4” router without the need for any manual configuration on the destination router. Thus, “6to4” tunnels do not suffer the scalability problem that configured tunnels do. A sample netconf-ipv6 file entry to configure a “6to4” tunnel is as follows: TUN_INTERFACE_NAME[1]=”iptu1” In this example, the TUN_LOCAL_ADDRESS[1] was not specified since the the “6to4” address for this value can be automatically configured based on the TUN_ENCAP_SRC_ADDRESS[1] value. For example, if the TUN_ENCAP_SRC_ADDRESS is 15.13.1.2, the “6to4” prefix is 2002:0f0d:0102, which can be combined with an interface identifier of “1” to form the “6to4” address 2002:0f0d:0102::1. The TUN_REMOTE_ADDRESS[1] parameter must not be specified since“6to4” is an automatic point-to-multipoint tunnel. The remote end-point of the tunnel will be determined based on routing information. Similarly, the TUN_ENCAP_DST_ADDRESS[1] parameter, must not be specified since the destination address will be automatically derived from the destination “6to4” address. When rtradvd is configured, it sends router advertisement messages to a local LAN periodically, and, when requested, by a node sending a router solicitation message. Refer to the rtradvd(1M) man page for more information. Configuration for rtradvd is set, on a per interface basis, by editing the /etc/rtradvd.conf file. The rtradvd.conf file allows for setting global defaults as well as interface specific settings for both interface options and prefixinfo specific options. Refer to the rtradvd.conf(4) man page for more information. Required Steps: To configure the HP-UX system to run rtradvd, and enable the Router Advertisement functionality, the following steps must be taken: the /etc/rtradvd.conf file must be edited as needed; the “private” interface flag must be cleared (“-private” for each enabled interface) and the rtradvd daemon must be enabled. More specifically:
You can activate the netconf-ipv6 configuration in one of the following ways:
HP recommends editing the /etc/rc.config.d/netconf-ipv6 file to preserve IPv6 interface and address configurations across system reboots. For reference, the commands equivalent to the netconf-ipv6 edits described earlier are listed below. Refer to the ifconfig(1M) and route(1M) man pages for more information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||