[Bug 704666] New: After booting the global IPv6 address does not appear
https://bugzilla.novell.com/show_bug.cgi?id=704666 https://bugzilla.novell.com/show_bug.cgi?id=704666#c0 Summary: After booting the global IPv6 address does not appear Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: f.de.kruijf@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 After booting my system with IPv6 enabled and connected to an ADSL router with native IPv6 I see the local IPv6 address when giving "ifconfig eth0", however the global address does not appear. Only after starting a KDE session and starting Firefox I finally see the global address appear. The output of the above command is: eth0 Link encap:Ethernet HWaddr E0:CB:4E:CD:D7:B6 inet addr:192.168.1.32 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: 2001:980:7480:1:e2cb:4eff:fecd:d7b6/64 Scope:Global inet6 addr: fe80::e2cb:4eff:fecd:d7b6/64 Scope:Link I use the ifup method with a fixed IPv4 address, although the global address finally is always the same, I don't see anything explicitly in YaST to define a fixed IPv6 address. My ISP has given me the network prefix 2001:980:7480/48 . Reproducible: Always Steps to Reproduce: 1.reboot 2.monitor the output of "ifconfig eth0" 3.Start Firefox in KDE 4.now the global IPv6 address appears. Expected Results: I would expect the appearance of the global IPv6 address during booting. I also used VirtualBox to generate an openSUSE 12.1M2 system on the 11.4 system as the host, and I observed the same problem there. In the host I captured all traffic to the MAC address of VM using wireshark. So if this is of value I can upload that Wireshark capture file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c2
--- Comment #2 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c3
--- Comment #3 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c4
--- Comment #4 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c5
--- Comment #5 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c6
--- Comment #6 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c7
--- Comment #7 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c8
--- Comment #8 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c9
--- Comment #9 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c10
Li Bin
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c11
--- Comment #11 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c12
Marius Tomaschewski
After reading the man page "man ifcfg" I changed the file /etc/sysconfig/network/ifcfg-eth0 into: BOOTPROTO='static' IPADDR='192.168.1.40/24' IPADDR_1='2001:980:7480:1:192:168:1:40/64' STARTMODE='nfsroot'
After "ifdown eth0" and "ifup eth0" the eth0 does have three global IPv6 addresses; the two in the previous comment and the newly specified one.
Is STARTMODE='nfsroot' intentional or is it just set up by yast2 because of bug 677251? In "nfsroot" mode, IP addresses are never removed (a filesystem or volume is assumed to be accessed using one of them). When you don't need this special feature, switch back to STARTMODE=auto. (In reply to comment #9)
I did a test by configuring nothing in the network, so I got a system with one Ethernet interface, which is set to get all its parameters through DHCP, both v4 and v6. But also DNS and routing come through DNS.
OK.
Getting the IPv4 parameters is almost immediately, just a few seconds during booting, however getting the IPv6 parameters takes sometimes 10 minutes.
Hmm... Which router are you using? Please install "radvd" and dump the config provided by the router using "radvdump eth0".
After searching a lot of IPv6 information I found a commented out line in /etc/dhclient6.conf, which after removing the two hashes, solved the problem of the long delay. The line reads "##send dhcp6.rapid-commit;". It still takes more than getting the parameters for IPv4, but as soon as I can log in, the IPv6 network is ready. So I recommend to have these hashes removed, or maybe conditionally removed.
Yes, for 12.x we can enable rapid commit as default I think -- it should be supported by all dhcp6 servers. (In reply to comment #11)
I reinstalled openSUSE 12.1 M3 and watched the appearance of the Scope:Global IPv6 addresses. At first the appearance was fast. However after a reboot it took about 9 minutes. I removed the two hashes in /etc/dhclient6.conf and rebooted again. There was no apparent change in the time it takes to finally get the Scope:Global IPv6 addresses. The setup is traditional ifup with one Ethernet interface and DHCP4 and 6 enabled in YaST Network Settings. For some reason, I don't understand why, the interface gets two IPv6 addresses. But the removal of the hashes does not (always) work.
If you get one or multiple IPv6 addresses depends on the configuration of the router. Read about "AdvAutonomous" (client allowed to assing address itself) and the "AdvManagedFlag" and "AdvOtherConfigFlag" (-> dhcpv6) in radvd.conf(5) manual page. When you're using DHCPv4 and DHCPv6, the BOOTPROTO should be set to 'dhcp' or to 'dhcp4+dhcp6'. The later one forces to wait until both, dhcp4 and 6 clients finished the IP configurations. In BOOTPROTO='dhcp' mode, success of one of them is sufficient. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c13
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c14
--- Comment #14 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c15
--- Comment #15 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c16
--- Comment #16 from Freek de Kruijf
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c17
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=704666
https://bugzilla.novell.com/show_bug.cgi?id=704666#c18
--- Comment #18 from Freek de Kruijf
participants (1)
-
bugzilla_noreply@novell.com