|
HP TCP/IP Services for OpenVMS Installation and
Configuration
4.2 Configuring an IPv6 Router
To configure your system as an IPv6 router, follow the steps provided
in this section.
- Invoke the TCPIP$IP6_SETUP.COM configuration procedure by entering
the following command:
$ @SYS$MANAGER:TCPIP$IP6_SETUP
|
The procedure displays information about the IPv6 network
configuration procedure and tells you that you can configure the system
as either an IPv6 host or an IPv6 router.
- Choose to configure the system as an IPv6 router by entering YES at
the following prompt:
Configure this system as an IPv6 router? [NO]:
|
- Indicate whether you want to configure a 6to4 interface:
Configure a 6to4 interface? [NO]:
|
A 6to4 interface is needed to configure a border router. If you do
not want to configure a 6to4 interface, press Enter. The configuration
procedure continues at step 7. If you want to configure a 6to4
interface, enter YES. The configuration procedure then displays the
6to4 tunnel interface:
You are prompted to enter information about the interface in
subsequent steps.
- Enter the node's IPv4 address in response to the following prompt:
Enter this node's IPv4 address to use when generating
your site's 6to4 prefix:
|
Enter the IPv4 address in dotted-decimal format (d.d.d.d).
The configuration procedure automatically generates a 6to4 site prefix
based on the IPv4 address entered, and displays the prefix as in the
following example:
Your 6to4 site prefix is: 2002:x:x::/48
|
This site prefix is advertised to hosts on the interfaces attached
to the IPv6 site. This address must be a valid, globally unique IPv4
address configured on the router's interface to the IPv4 network.
- The configuration procedure asks whether you want this system to
function as a 6to4 relay router:
Configure a 6to4 relay router? [NO]:
|
If hosts in this border router's 6to4 site need to communicate with
native IPv6 sites (IPv6 only), configure this system as a 6to4 relay
router. Enter YES. If you do not want the system to function as a
6to4 relay router, press Enter. The configuration procedure continues
at step 7.
- Specify the address of a relay router:
Enter 6to4 address of a 6to4 relay router
[2002:C058:6301::]:
|
The address of the default relay router is displayed. To use the
default, press Enter. Otherwise, enter the 6to4 unicast address of a
6to4 relay router.
- For each interface on your system, the procedure asks whether you
want to enable IPv6 on that interface, as in the following example,
where ddn is the interface name (such as WE0):
Enable IPv6 on interface ddn [YES]?
|
If you want to enable IPv6 on this interface, press Enter; if not,
enter NO. For each interface on your system, the configuration
procedure repeats steps 7 through 9.
- Indicate whether you want the router to run the RIPng protocol on
the designated interface:
Enable RIPng on interface ddn? [YES]:
|
The RIPng protocol allows this router to exhange IPv6 routes with
other routers. If you want the router to run the RIPng protocol, press
Enter; otherwise, enter NO.
- The configuration procedure asks whether you want the router to
advertise an IPv6 address prefix on the designated interface:
Enter an address prefix to advertise on interface
ddn [DONE]:
|
If you want the router to advertise an IPv6 address prefix, enter a
64-bit address prefix for the interface. You can configure multiple
address prefixes for this interface. You are prompted for additional
address prefixes until you enter DONE. If you do not want the
router to advertise an IPv6 address prefix on the designated interface,
enter DONE.
- Indicate whether you want to configure an automatic tunnel:
Configure an IPv6 over IPv4 automatic tunnel interface? [NO]:
|
If you do not want to configure an automatic tunnel, press Enter.
The configuration procedure continues at step 12. If you want to
configure an automatic tunnel, enter YES; the procedure displays the
automatic tunnel interface as in the following example, and in the next
step prompts you for the tunnel's address.
The automatic tunnel is: TN0
|
Note
Because of potential IPv4-compatible address routing problems, HP
recommends that you avoid using automatic tunnels.
|
- Enter the IPv4 address to use when constructing the automatic
tunnel's endpoint:
Enter the IPv4 address to use when creating
your automatic tunnel:
|
Enter the IPv4 address in dotted-decimal format (d.d.d.d).
- The configuration procedure asks whether you want to create an
IPv6-over-IPv4 configured tunnel:
Create IPv6 over IPv4 configured tunnels? [NO]:
|
If you want to create an IPv6-over-IPv4 configured tunnel, enter
YES. You are prompted for information about this tunnel in subsequent
steps. If you do not want to create an IPv6-over-IPv4 configured
tunnel, press Enter; the procedure continues at step 18.
- Enter the tunnel's source IPv4 address:
Enter the source IPv4 address of tunnel ITn:
|
Enter the tunnel's source IPv4 address in the dotted-decimal format
(d.d.d.d).
- Enter the tunnel's destination IPv4 address in response to the
following prompt:
Enter the destination IPv4 address of tunnel ITn:
|
Enter an IPv4 address in dotted-decimal format d.d.d.d.
The tunnel's destination address must differ from the source address
entered in step 13.
- Indicate whether you want to enable the RIPng protocol:
Enable RIPng on interface ITn? [YES]:
|
The RIPng protocol allows this router to exchange IPv6 routes with
other routers. If you want to enable the RIPng protocol on the tunnel
interface, press Enter; if you do not, enter NO.
- Indicate whether you want the router to advertise an IPv6 address
prefix on the tunnel interface:
Enter an address prefix to advertise on interface ITn? [DONE]:
|
If you want the router to advertise an IPv6 address prefix, enter a
64-bit address prefix for the designated interface. You can configure
multiple address prefixes for this interface. You are prompted for
additional address prefixes until you enter DONE. If you do not
want the router to use an IPv6 address prefix on the tunnel interface,
enter DONE.
- The configuration procedure asks whether you want to create another
IPv6-over-IPv4 configured tunnel:
Create another IPv6 over IPv4 configured tunnel? [NO]:
|
If you want to create another IPv6-over-IPv4 configured tunnel,
enter YES. The procedure repeats steps 13 through 16 for each
additional configured tunnel you choose to create. If you do not
want to create another IPv6-over-IPv4 configured tunnel, press Enter.
- The procedure asks whether you want to create an IPv6-over-IPv6
configured tunnel:
Create IPv6 over IPv6 configured tunnels? [NO]:
|
If you want to create an IPv6-over-IPv6 configured tunnel, enter
YES. You are prompted to enter information about this tunnel in
subsequent steps. If you do not want to create an IPv6-over-IPv6
configured tunnel, press Enter; the configuration procedure continues
at step 24.
- Enter the tunnel's source IPv6 address in response to the following
prompt:
Enter the source IPv6 address of tunnel ITn:
|
Enter the tunnel's source IPv6 address in the dotted-decimal format
(d.d.d.d).
- Enter the IPv6-over-IPv6 tunnel's destination IPv6 address in
response to the following prompt:
Enter the destination IPv6 address of tunnel ITn:
|
Enter an IPv6 address in dotted-decimal format d.d.d.d.
The tunnel's destination address must differ from the source address
entered in step 19.
- Indicate whether you want to enable the RIPng protocol on the
interface:
Enable RIPng on interface ITn? [YES]:
|
The RIPng protocol allows this router to exchange IPv6 routes with
other routers. Press Enter if you want to enable the RIPng protocol on
this interface; enter NO if you do not.
- Indicate whether you want the router to advertise an IPv6 address
prefix on the tunnel interface:
Enter an address prefix to advertise on interface ITn? [DONE]:
|
If you want the router to advertise an IPv6 address prefix, enter a
64-bit address prefix for the designated interface. You can configure
multiple address prefixes for this interface. You are prompted for
additional address prefixes until you enter DONE. If you do not
want the router to use an IPv6 address prefix on the tunnel interface,
enter DONE.
- You are asked whether you want to create another IPv6-over-IPv6
configured tunnel:
Create another IPv6 over IPv6 configured tunnel? [NO]:
|
If you want to create another IPv6-over-IPv6 configured tunnel,
enter YES. The procedure repeats steps 19 through 22 for each
additional configured tunnel you choose to create. If you do not
want to create another IPv6-over-IPv6 configured tunnel, press Enter.
- Indicate whether you want to define manual routes to an adjacent
router or remote IPv6 network:
Configure manual IPv6 routes? [NO]?
|
If you want to define a manual IPv6 route, enter YES. In subsequent
steps, the procedure asks you to specify information for that route.
If you do not want to define manual routes, enter NO; the procedure
continues at step 29.
- Enter an address prefix of a destination IPv6 network:
Enter the destination network address prefix:
|
Enter the address prefix of the destination IPv6 network, or enter
DEFAULT for the default route.
- Enter the name of the interface through which you will send traffic
to the remote IPv6 network:
Enter interface to use when forwarding messages:
|
- The procedure asks you to enter the link-local IPv6 address of the
first router in the path to the destination network. This address along
with the IPv6 address prefix constitute the static routing table entry.
Enter the next node's IPv6 address:
|
If the next node is on the same link as this node or is reachable
through a configured tunnel, enter the link-local address. If the next
node is reachable through an automatic tunnel, enter the
IPv4-compatible IPv6 address. For all other connections, enter the IPv6
address.
- Indicate whether you want to configure another manual IPv6 route to
an adjacent router or remote IPv6 network:
Configure another manual IPv6 route? [NO]:
|
If you want to configure another manual route, enter YES. The
configuration procedure repeats steps 25 through 27 for each additional
manual IPv6 route you choose to configure. If you do not want to
configure another manual route, press Enter.
- At this point, the configuration procedure displays a summary of
your new IPv6 router configuration, as shown in the following example:
You configured this node as an IPv6 router with the
following:
Daemons:
IP6RTRD
Interfaces:
WE0 RIP Enabled
IT0 RIP Enabled
Tunnel Source ::1
Tunnel Destination ::2
Prefix AAAA::/64
Prefix BBBB::/64
TN1 6to4 Tunneling Enabled using 1.2.3.4
Relay Router 2002:C058:6301::
Manual Routes:
::4/64 WE0 ::5
|
- The configuration procedure asks whether you want to create router
configuration files based on the choices you have made:
Create new IPv6 network configuration files? [YES]:
|
If you are not satisfied with the configuration, enter NO; the
configuration procedure ends immediately without changing the current
IPv6 network configuration. If you are satisfied with the
configuration, press Enter. The configuration procedure creates new
router configuration files and displays the following information:
A new IPv6 configuration file, SYS$SYSTEM:TCPIP$INET6_CONFIG.DAT,
has been created. The previous configuration file (if any) has been
renamed to SYS$SYSTEM:TCPIP$INET6_CONFIG.DAT_OLD.
A new IPv6 configuration file, SYS$SYSTEM:TCPIP$IP6RTRD.CONF, has
been created. The previous configuration file (if any) has been
renamed to SYS$SYSTEM:TCPIP$IP6RTRD.CONF_OLD.
This new IPv6 network configuration will become active the next time
TCP/IP Services for OpenVMS is started.
|
4.3 Configuring failSAFE IP IPv6 Addresses
Standby failSAFE IP IPv6 addresses must be configured manually. IPv6
supports addresses with various scopes; only link-local addresses need
to be configured with standby addresses. (Link-local addresses are
those that have high-order bits with the hexadecimal value FE80.)
To configure standby failSAFE IP IPv6 addresses, follow these steps:
- Determine the link-local IPv6 addresses that have been dynamically
created on each interface by using the
ifconfig
command, as in the following example. The last line for each interface
contains the IPv6 link-local address. Note that the IPv4 addresses have
already been configured with standby addresses. (The instructions for
configuring IPv4 standby addresses are given in Section 3.4.4.4.)
$ ifconfig -a
IE0: flags=c43<UP,BROADCAST,RUNNING,MULTICAST,SIMPLEX>
failSAFE IP Addresses:
inet 16.176.56.81 netmask fffffe00 broadcast 10.0.255.255 (on GRYFFIIE1)
*inet 16.176.56.65 netmask ff000000 broadcast 16.255.255.255 ipmtu 1500
*inet6 fe80::202:a5ff:fe60:a368
IE1: flags=c43<UP,BROADCAST,RUNNING,MULTICAST,SIMPLEX>
failSAFE IP Addresses:
inet 16.176.56.65 netmask fffffe00 broadcast 10.0.255.255 (on GRYFFIIE0)
*inet 16.176.56.81 netmask fffffe00 broadcast 16.176.57.255 ipmtu 1500
*inet6 fe80::202:a5ff:fe60:a369
|
- Create standby IPv6 addresses by executing the following commands,
specifying the IPv6 addresses obtained in step 1:
$ ifconfig ie1 inet6 alias fe80::202:a5ff:fe60:a368
$ ifconfig ie0 inet6 alias fe80::202:a5ff:fe60:a369
|
In this example, the link-local IPv6 address configured on
interface IE0 is added to IE1 as a standby. Similarly, the IPv6 address
configured on interface IE1 is added to IE0 as a standby.
- Restart the failSAFE IP service to make the configuration changes
take effect (see Section 3.6). To make the changes take effect each
time TCP/IP Services starts, edit SYS$STARTUP:TCPIP$SYSTARTUP.COM and
add the following commands, which include the same
ifconfig
commands specified in step 2:
$!
$! IPv6 failSAFE Addresses
$!
$ ifconfig ie1 inet6 alias fe80::202:a5ff:fe60:a368
$ ifconfig ie0 inet6 alias fe80::202:a5ff:fe60:a369
$!
$! Restart failSAFE to pick up IPv6 address changes
$!
$ @sys$startup:tcpip$failsafe_shutdown
$ @sys$startup:tcpip$failsafe_startup
$!
|
|