Ipv4 use 32 bits, whereas IPv6 uses 128 bits. Ipv6 have autoconfiguration capability,so it is no more difficult to administer IPv6 addressing than it is with IPv4. You can use below procedure to configure IPv6 address. In this example you configure one network interface (e1000g) to use Ipv6.
- Create /etc/hostname6.<interface> file and reboot. This will make interface to configure with Ipv6.
root@solaris-sunray # touch /etc/hostname6.e1000g0
- Configure Ipv6 address.root@solaris-sunray # ifconfig e1000g0 inet6 plumb up
- View your Ipv6 address.root@solaris-sunray # ifconfig -alo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2inet 172.16.31.242 netmask fffffc00 broadcast 172.16.31.255ether 8:0:27:7e:12:82e1000g0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2inet6 fe80::a00:27ff:fe7e:1282/10ether 8:0:27:7e:12:82
- Edit your /etc/inet/ipnodes to contain your Ipv6 address. And test your new ipaddress.root@solaris-sunray # vi /etc/inet/ipnodes...fe80::a00:27ff:fe7e:1282 solaris-sunray6root@solaris-sunray # ping solaris-sunray6solaris-sunray6 is alive
No comments:
Post a Comment