HP-UX IPv6 Transport Administrator's Guide for TOUR 1.0
Configuration
Manual Configuration
Chapter 3 21
made to your netconf-ipv6 file. A reboot is the cleanest way to
reconfigure an interface because the reboot handles any network
initialization dependencies.
• Or alternatively, by executing the ifconfig and route commands,
as needed, to make equivalent configuration settings.
HP recognizes that system reboots are disruptive to end users. To
delay or schedule the reboot, but still make your configuration
changes active, you may execute the ifconfig and route commands
with the appropriate values for your network. These values are
ephemeral however, and will not last across reboots. After the reboot,
the values in your netconf-ipv6 file will be used. Refer to the
examples that follow and the ifconfig(1M), and route(1M) man
pages for more information on using these commands.
Example ifconfig and route Commands
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.
To configure a primary interface, enter:
ifconfig lan0 inet6 up
To configure a secondary interface, enter:
ifconfig lan0:1 inet6 2345::5432 up
To add a default IPv6 route, enter:
route inet6 add net default 2008:7:6:5:4:3:2:1
To enable tunneling, enter:
ifconfig tu0 inet6 up
To create a configured tunnel, enter:
route inet6 -t add c001::/64 ::192.1.1.1l