Sangeetha Hariharan created CLOUDSTACK-1464: -----------------------------------------------
Summary: IPV6 - Multi nic - Ubuntu 1210 -When Vm is stopped and started/ rebooted , i get multiple global IPV6 addresses being allocated for one of the nics. Key: CLOUDSTACK-1464 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1464 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Environment: Latest build from networkrefactor branch Reporter: Sangeetha Hariharan IPV6 - Multi nic - Ubuntu 1210 -When Vm is stopped and started/ rebooted , i get multiple global IPV6 addresses being allocated for one of the nics Create a dual stack network ,N1 Create a dual stack network, N2. Deploy a VM - vm1 in N1 and N2. After Vm is started , we get the IPV6 address only for 1 NIC. To get the IPV6 address form the other NIC, we need to execute the dhclient command for this nic. I have the following configuration set in /etc/network/interfaces: auto eth0 iface eth0 inet dhcp iface eth0 inet6 dhcp autoconf 0 accept_ra 1 auto eth1 iface eth1 inet dhcp iface eth1 inet6 dhcp autoconf 0 accept_ra 0 Now stop and start the Vms Or reboot Vms. I see multiple global IPV6 addresses being allocated for one of the nics. sangeetha@ubuntu-123:~$ ifconfig eth0 Link encap:Ethernet HWaddr 06:9c:7e:00:00:8e inet addr:10.223.137.180 Bcast:10.223.137.191 Mask:255.255.255.192 inet6 addr: fe80::49c:7eff:fe00:8e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:70 errors:0 dropped:0 overruns:0 frame:0 TX packets:87 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9255 (9.2 KB) TX bytes:14662 (14.6 KB) eth1 Link encap:Ethernet HWaddr 06:21:b4:00:00:4d inet addr:10.223.137.70 Bcast:10.223.137.127 Mask:255.255.255.192 inet6 addr: fc00:3:1371:0:85f:9661:9764:f778/64 Scope:Global inet6 addr: fc00:3:1371:0:90ba:887f:83ea:cd9/64 Scope:Global inet6 addr: fc00:3:1371:0:421:b4ff:fe00:4d/64 Scope:Global inet6 addr: fe80::421:b4ff:fe00:4d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:26 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4379 (4.3 KB) TX bytes:5611 (5.6 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB) sangeetha@ubuntu-123:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:9c:7e:00:00:8e brd ff:ff:ff:ff:ff:ff inet 10.223.137.180/26 brd 10.223.137.191 scope global eth0 inet6 fe80::49c:7eff:fe00:8e/64 scope link valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:21:b4:00:00:4d brd ff:ff:ff:ff:ff:ff inet 10.223.137.70/26 brd 10.223.137.127 scope global eth1 inet6 fc00:3:1371:0:85f:9661:9764:f778/64 scope global valid_lft forever preferred_lft forever inet6 fc00:3:1371:0:90ba:887f:83ea:cd9/64 scope global temporary dynamic valid_lft 604729sec preferred_lft 85729sec inet6 fc00:3:1371:0:421:b4ff:fe00:4d/64 scope global dynamic valid_lft 2591929sec preferred_lft 604729sec inet6 fe80::421:b4ff:fe00:4d/64 scope link valid_lft forever preferred_lft forever -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira