[opensuse-factory] No global IPv6 addresses
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. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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. 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. 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 did not try using tcpdump to see if the IP6 advertisements are getting through. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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
On Saturday 03 September 2011, Freek de Kruijf wrote:
On zaterdag 3 september 2011 20:47:51 Larry Finger wrote:
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.
Maybe you need something like this ip -6 neigh add proxy ${IPV6_ADDR} dev eth0 ip -6 neigh add proxy ${IPV6_GATEWAY} dev ${TAP} Where IPV6_ADDR is the one from vm IPV6_GATEWAY the host ip I think somehow you can turn on global proxy rules per default. Could be that this was the case in last milestone? cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On zondag 4 september 2011 00:01:33 Rüdiger Meier wrote:
On Saturday 03 September 2011, Freek de Kruijf wrote:
On zaterdag 3 september 2011 20:47:51 Larry Finger wrote:
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.
Maybe you need something like this
ip -6 neigh add proxy ${IPV6_ADDR} dev eth0 ip -6 neigh add proxy ${IPV6_GATEWAY} dev ${TAP}
Where IPV6_ADDR is the one from vm IPV6_GATEWAY the host ip
I think somehow you can turn on global proxy rules per default. Could be that this was the case in last milestone?
I did an installation of openSUSE 12.1 M3 in VirtualBox again and now I immediately got 2 global IPv6 addresses, so it is unlikely to be a problem in VirtualBox. I compared all the settings in M3 and M5 in /proc/sys/net/ipv6/conf/{all,default,eth0}/* and they all match except for the hop_limit of eth0, M3 contained 255 and M5 contained 64. So should I file a bug report? I will see what it does on my laptop without VirtualBox. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On zondag 4 september 2011 17:37:27 Freek de Kruijf wrote:
On zondag 4 september 2011 00:01:33 Rüdiger Meier wrote:
On Saturday 03 September 2011, Freek de Kruijf wrote:
On zaterdag 3 september 2011 20:47:51 Larry Finger wrote:
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.
Maybe you need something like this
ip -6 neigh add proxy ${IPV6_ADDR} dev eth0 ip -6 neigh add proxy ${IPV6_GATEWAY} dev ${TAP}
Where IPV6_ADDR is the one from vm IPV6_GATEWAY the host ip
I think somehow you can turn on global proxy rules per default. Could be that this was the case in last milestone?
I did an installation of openSUSE 12.1 M3 in VirtualBox again and now I immediately got 2 global IPv6 addresses, so it is unlikely to be a problem in VirtualBox.
I compared all the settings in M3 and M5 in /proc/sys/net/ipv6/conf/{all,default,eth0}/* and they all match except for the hop_limit of eth0, M3 contained 255 and M5 contained 64.
So should I file a bug report? I will see what it does on my laptop without VirtualBox.
My laptop has an ethernet and wifi interface and both receive 2 global IPv6 addresses. Strange is that the wifi interface does not receive a IPv4 address via DHCP4. I disabled DHCP6 for both interfaces. I entered a bug report for the last problem. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On zondag 4 september 2011 23:45:05 Freek de Kruijf wrote:
On zondag 4 september 2011 17:37:27 Freek de Kruijf wrote:
On zondag 4 september 2011 00:01:33 Rüdiger Meier wrote:
On Saturday 03 September 2011, Freek de Kruijf wrote:
On zaterdag 3 september 2011 20:47:51 Larry Finger wrote:
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.
Maybe you need something like this
ip -6 neigh add proxy ${IPV6_ADDR} dev eth0 ip -6 neigh add proxy ${IPV6_GATEWAY} dev ${TAP}
Where IPV6_ADDR is the one from vm IPV6_GATEWAY the host ip
I think somehow you can turn on global proxy rules per default. Could be that this was the case in last milestone?
I did an installation of openSUSE 12.1 M3 in VirtualBox again and now I immediately got 2 global IPv6 addresses, so it is unlikely to be a problem in VirtualBox.
I compared all the settings in M3 and M5 in /proc/sys/net/ipv6/conf/{all,default,eth0}/* and they all match except for the hop_limit of eth0, M3 contained 255 and M5 contained 64.
So should I file a bug report? I will see what it does on my laptop without VirtualBox.
My laptop has an ethernet and wifi interface and both receive 2 global IPv6 addresses. Strange is that the wifi interface does not receive a IPv4 address via DHCP4. I disabled DHCP6 for both interfaces. I entered a bug report for the last problem.
The problem may be related to the following problem for which I think I have seen a bug report. # SuSEfirewall2 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... iptables-batch v1.4.12: Couldn't load target `input_''':No such file or directory Try `iptables-batch -h' or 'iptables-batch --help' for more information. SuSEfirewall2: Error: iptables-batch failed, re-running using iptables iptables v1.4.12: Couldn't load target `input_''':No such file or directory Try `iptables -h' or 'iptables --help' for more information. ip6tables-batch v1.4.12: Couldn't load target `input_''':No such file or directory Try `ip6tables-batch -h' or 'ip6tables-batch --help' for more information. SuSEfirewall2: Error: ip6tables-batch failed, re-running using ip6tables ip6tables v1.4.12: Couldn't load target `input_''':No such file or directory Try `ip6tables -h' or 'ip6tables --help' for more information. SuSEfirewall2: Firewall rules successfully set I do not get these error messages on my laptop. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Freek de Kruijf
-
Larry Finger
-
Rüdiger Meier