Home Contact Download


Welcome to Bruno Bonfils's (aka asyd homepage).

IPv6 on Solaris

Solaris 8

Description Command
Enable IPv6 on an interface ifconfig [interface] inet6 plumb
Add an IPv6 at runtime on an interface ifconfig [interface] inet6 addif address/prefix
Add an IPv6 route route add -inet6 address/prefix gateway
Show IPv6 active interfaces ifconfig -au6
Show IPv6 routing table netstat -nrfinet6
ping IPv6 ping -A inet6 IPv6Address
traceroute IPv6 traceroute -A inet6 IPv6Address

IPv6 in solaris 8 is not enabled by default. You have to install packages at the install process in order to have IPv6 enabled.

With IPv6 enabled system-wide, you should be able to create an IPv6 virtual Interface.


With router advert

#> touch /etc/hostname6.le0
#> touch /etc/hostname6.lo0

(Of course, you must replace le0 with your interface name (could be get with an ifconfig -a))

This should be suffiscient to enable at reboot.

If you want to test IPv6 without rebooting, you could do what is explained in Without router advert section.

(FIXME: Don't know how to ask Solaris an IPv6 Address at runtime)

Without routeur advert

#> touch /etc/hostname6.le0
#> echo "addif 2001:7a8:b0cd:1::17/64 up" >/etc/hostname6.le0

If you don't wanna reboot to see IPv6 in action, use that ifconfig commands:

#> ifconfig le0 inet6 addif 2001:7a8:b0cd:1::17/64 up

Now you must add the default route for IPv6.

#> route add -inet6 default link-local-ipv6-gateway

(FIXME: don't know how to add a route at boot time)


Ultimate traceroute test !

$> traceroute -A inet6 2001:7a8:b0cd:1::17

This my sun sparcstation 5 solaris 8 IPv6 enabled host :)

FIXME: don't know how to add IPv6 DNS resolution support…