On zaterdag 3 september 2011 20:47:51 Larry Finger wrote:
On 09/03/2011 12:35 PM, Freek de Kruijf wrote:
After installation of openSUSE 12.1 M5 in VirtualBox, which installed the network using the traditional ifup method, only one eth0 interface, I changed the value of BOOTPROTO from dhcp to dhcp4 in /etc/sysconfig/network/ifcfg- eth0, because I don't have a DHCP6 server in the network. This change will not start the DHCP6 client in my system, so the network is started faster. It only waits for DHCP4 to finish. However I do have a IPv6 router in the network, so after some time I should see one or more global IPv6 addresses via stateless autoconfiguration. But they do not appear. The value of /proc/sys/net/ipv6/conf/eth0/autoconf is 1.
If you are running the VB network in "bridged" mode, or if it is in NAT mode, but your host is forwarding the IPv6 broadcasts, then it might work.
I am using the network in "bridged" mode, and it was all OK when using 12.1 M3
Using the bridging-type networking fir this test, I changed from controlling my eth0 with NM to ifup, and got the following:
larry@linux-4khf:~> /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:F6:3F:DE inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: 2001:db8:0:1:c1dc:6994:988c:d4ce/64 Scope:Global inet6 addr: 2001:db8:0:1:a00:27ff:fef6:3fde/64 Scope:Global inet6 addr: fe80::a00:27ff:fef6:3fde/64 Scope:Link
Why 2 global IPv6 addresses, I don't know. The second one is what I would expect. Ater rebooting the VM, then I got none.
One is generated using the MAC address, the one ending with '3fde'. The other one is because the default is now to set the value of /proc/sys/net/ipv6/conf/eth0/use_tempaddr to 2. This means that a temporary global IPv6 address will be generated. This one will be used as the source IPv6 address when making an outgoing connection. After some time you will see that this address is changing and sometimes you have two of these addresses.
larry@linux-4khf:~> /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:F6:3F:DE inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fef6:3fde/64 Scope:Link
It looks like a VB bug. I'm running V4.1.2 r73507 downloaded directly from the VB site.
I have the same.
I did not try using tcpdump to see if the IP6 advertisements are getting through.
I use wireshark and I see a Router advertisement coming in from the router every 8 or 9 minutes. However my system is not using it, otherwise I would have seen a Neighbour solicitation going out. Now I only see a Neighbour solicitation coming in from the VirtualBox host. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org