Need to Know More?
Douglas Comer, Internetworking with TCP/IP: Principles, Protocols and Architecture . Prentice Hall, 2000.
Sun Microsystems, Solaris 9 9/02 (and later) System Administrator Collection ”IPv6 Administration Guide . Available in printed form, on the Internet at http://docs.sun.com, and from the online documentation provided with the Solaris 9 operating system.
Sun Microsystems, Solaris 9 System Administrator Collection ”System Administration Guide , "IP Services." Available in printed form, on the Internet at http://docs.sun.com, and from the online documentation provided with the Solaris 9 operating system.
RFC 2460, which describes the specification for IPv6. Available on the Internet at http://www.ietf.org/rfc/rfc2460.txt.
Chapter 8. Advanced IPv6
Terms you'll need to understand:
Concepts you'll need to master:
This chapter carries on from the previous chapter and covers multipathing with IPv6 and a mechanism for enabling two IPv6 interfaces to communicate over an IPv4 network. This is known as tunnelling . The chapter also looks at troubleshooting IPv6.
IP multipathing was introduced in Chapter 5, "IP Multipathing." To use multipathing with IPv6, the setup is very similar to that of IPv4, although there are some important differences. The most notable are that the test addresses are created on the same network interface, such as hme0 , without the need for additional logical interfaces, and that the test address can also be used for normal operation. With IPv4 setup, the test address is used only to enable the in.mpathd process to probe its status.
Like IPv4, IPv6 multipathing can be set up via a command line or through the use of configuration files.
Using Configuration Files
To use IP multipathing with existing IPv6 interfaces, you simply edit the relevant /etc/hostname6.< interface > files for the network interfaces you want to participate in multipathing and then reboot the system.
To set up IPv6 multipathing for a system that has two interfaces
and uses a multipath
-failover group ip6test up
When the system is rebooted, view the configuration with the ifconfig -a command:
ultra10# ifconfig -a lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 192.168.28.28 netmask ffffff00 broadcast 192.168.28.255 groupname ip6test ether 8:0:20:b3:41:53 lo0: flags=2000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6> mtu 8252 index 1 inet6 ::1/128 hme0: flags=a000841<UP,RUNNING,MULTICAST,IPv6,NOFAILOVER> mtu 1500 index 2 ether 8:0:20:b3:41:53 inet6 fe80::a00:20ff:feb3:4153/10 groupname ip6test hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 192.168.28.29 netmask ffffff00 broadcast 192.168.28.255 groupname ip6test ether 8:0:20:b3:41:52 hme1: flags=a000841<UP,RUNNING,MULTICAST,IPv6,NOFAILOVER> mtu 1500 index 3 ether 8:0:20:b3:41:52 inet6 fe80::a00:20ff:feb3:4152/10 groupname ip6test
Notice from this code that
Using the Command Line
Multipathing with IPv6 can also be set up on the command line manually, but any changes made are lost at the next reboot of the system. Like IPv4, you need to be running at least Solaris 8 10/00, and your system needs to be able to support local ethernet addresses. This was described in Chapter 1, "Local Area Networks," in the section "Assigning a Port-Based Ethernet Address."
To set up IPv6 multipathing manually on a system with two network interfaces hme0 and hme1 and a multipath group of ip6test , the following needs to be done: