Re: World IPv6 Day Problems
On 06/08/2011 11:27 PM, Alexander Boström wrote: I've never used the v6 support in libvirt, so I'm guessing here, but wlan0 is the physical interface on the host that you're running radvd on, right? That would pick up router advertisements from the router in your wireless LAN, if you have one. I guess if radvd is bound to virbr0 then that interface would pick up an address from your prefix though. What is the output of ip -6 addr ? /abo Sorry, I guess I wasn't clear. my ifcfg-wlan0 has an IPv6 address that is supposed to be assigned to wlan0. It isn't. The kernel complains kernel: [ 13.872649] ADDRCONF(NETDEV_UP): wlan0: link is not ready So, in my rc.local script I ifdown/ifup and it fixes it. At first I thought it didn't, but I had a long running script that ended up before that ifdown/ifup and so it wasn't taking. Now, the problem is only that link is not ready junk. Thank you, Trever -- SMOG: Evidence of lack of faith. It is the result of needing to see what you breath. -- Harl Adams signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
World IPv6 Day Problems
DIVERT and SOCKET are not usable for TPROXY4 stuff in Squid due to what bug https://bugzilla.redhat.com/show_bug.cgi?id=662399 calls a user space problem. libvirtd VMs cannot have outside accessible IPv6 addresses autoconfigured. I mentioned the problem, at least as far as I was able to find it at https://bugzilla.redhat.com/show_bug.cgi?id=514749 I would be doing more IPv6 testing but none of the F15 isos from fedoraproject.org will boot. They all crash on boot. Trever signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 08/06/11 16:20, Trever L. Adams wrote: libvirtd VMs cannot have outside accessible IPv6 addresses autoconfigured. I mentioned the problem, at least as far as I was able to find it at https://bugzilla.redhat.com/show_bug.cgi?id=514749 Works fine for my VMs with bridged networking - they see the radvd on the network and configure an address. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 06/08/2011 09:32 AM, Tom Hughes wrote: Works fine for my VMs with bridged networking - they see the radvd on the network and configure an address. Tom Would you care to share some documentation of some kind? network nameTheCommons/name uuid/uuid forward mode='route'/ bridge name='virbr0' stp='off' delay='0' / ip address='10.0.1.1' netmask='255.255.255.0' /ip ip family='ipv6' address='fd00:::1::1' prefix='64' /ip ip family='ipv6' address='2001:::0::1' prefix='64' /ip /network That didn't automatically add any of the ipv6 addresses. As I said, no radvd. If I read the bug reports correctly, it is supposed to be automagic. Also, the systctl stuff mentioned in the bugs reports I mentioned were set to not allow ipv6, etc. Did you override these defaults somewhere? Thank you, Trever signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On Wed, Jun 08, 2011 at 09:42:22AM -0600, Trever L. Adams wrote: On 06/08/2011 09:32 AM, Tom Hughes wrote: Works fine for my VMs with bridged networking - they see the radvd on the network and configure an address. Tom Would you care to share some documentation of some kind? network nameTheCommons/name uuid/uuid forward mode='route'/ bridge name='virbr0' stp='off' delay='0' / ip address='10.0.1.1' netmask='255.255.255.0' /ip ip family='ipv6' address='fd00:::1::1' prefix='64' /ip ip family='ipv6' address='2001:::0::1' prefix='64' /ip /network That didn't automatically add any of the ipv6 addresses. As I said, no radvd. If I read the bug reports correctly, it is supposed to be automagic. Yes, when you add that ip family='ipv6' line and then restart the network (virsh net-destroy TheCommons virsh net-create TheCommons) it should have started radvd automatically. The guest should then have automatically got an address from radvd. This all works fine in my testing. Also, the systctl stuff mentioned in the bugs reports I mentioned were set to not allow ipv6, etc. Did you override these defaults somewhere? That other bug is irrelevant, refering to much older libvirt prior to the introduction of IPv6 support. Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 08/06/11 16:42, Trever L. Adams wrote: Would you care to share some documentation of some kind? network nameTheCommons/name uuid/uuid forward mode='route'/ bridge name='virbr0' stp='off' delay='0' / ip address='10.0.1.1' netmask='255.255.255.0' /ip ip family='ipv6' address='fd00:::1::1' prefix='64' /ip ip family='ipv6' address='2001:::0::1' prefix='64' /ip /network That didn't automatically add any of the ipv6 addresses. As I said, no radvd. If I read the bug reports correctly, it is supposed to be automagic. Ah that's a virtual bridge between your VMs. I'm bridging my VMs to br0 which is a bridge that includes the host's ethernet interface so that the guests have direct access to the local LAN and can see the radvd that is running on our gateway router. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On Wed, Jun 08, 2011 at 04:53:51PM +0100, Tom Hughes wrote: Ah that's a virtual bridge between your VMs. I'm bridging my VMs to br0 which is a bridge that includes the host's ethernet interface so that the guests have direct access to the local LAN and can see the radvd that is running on our gateway router. Indeed - this is also the way I have libvirt configured, and my guests are getting IPv6 addresses automatically from radvd running elsewhere on my LAN. For reference, here is how I configure the network: # cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=dhcp ONBOOT=yes DELAY=0 NM_CONTROLLED=no and then I just connect each guest directly to the bridge: interface type='bridge' mac address='52:54:00:12:ab:a9'/ source bridge='br0'/ model type='virtio'/ /interface http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 06/08/2011 09:53 AM, Tom Hughes wrote: Ah that's a virtual bridge between your VMs. I'm bridging my VMs to br0 which is a bridge that includes the host's ethernet interface so that the guests have direct access to the local LAN and can see the radvd that is running on our gateway router. Tom I cannot remember what my problem was, but all heck broke loose when I tried to do it to a real device. So, I am stuck where I am for the time being. Trever -- But these [serious NT security flaws] are not inherent flaws in the operating system -- they don't happen by accident. They are the result of deliberate and well-thought-out efforts. -- Mike Nash, Microsoft. The _flaws_ are deliberate? signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 06/08/2011 09:52 AM, Daniel P. Berrange wrote: On Wed, Jun 08, 2011 at 09:42:22AM -0600, Trever L. Adams wrote: Would you care to share some documentation of some kind? network nameTheCommons/name uuid/uuid forward mode='route'/ bridge name='virbr0' stp='off' delay='0' / ip address='10.0.1.1' netmask='255.255.255.0' /ip ip family='ipv6' address='fd00:::1::1' prefix='64' /ip ip family='ipv6' address='2001:::0::1' prefix='64' /ip /network That didn't automatically add any of the ipv6 addresses. As I said, no radvd. If I read the bug reports correctly, it is supposed to be automagic. Yes, when you add that ip family='ipv6' line and then restart the network (virsh net-destroy TheCommons virsh net-create TheCommons) it should have started radvd automatically. The guest should then have automatically got an address from radvd. This all works fine in my testing. Ok, I had rebooted the system to do this before. It did NOT work. Now, I just did the virsh and it worked. I also had my wlan0 come up without proper IPv6 when I rebooted even with IPV6INIT=yes in the file for it. So, even though I restart wlan0 from rc.local, I get this: Jun 8 14:56:00 HC kernel: [ 14.219624] ADDRCONF(NETDEV_UP): wlan0: link is not ready So, no IPv6 address. And radvd claims it isn't started and isn't running. After restarting from rc.local wlan0 has fe80, but not 2001 address assigned. However, virbr0 got it right this time. Thank you, Trever -- One Woman can make you fly like an eagle Another can give you the strength of a lion But only One in the cycle of life can fill your heart with wonder And the wisdom that you have known a singular joy. -- Unknown signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
In a previous message I had this quote: But these [serious NT security flaws] are not inherent flaws in the operating system -- they don't happen by accident. They are the result of deliberate and well-thought-out efforts. -- Mike Nash, Microsoft. The _flaws_ are deliberate? Someone kindly pointed out that the [] clarification is NOT accurate in the large quote. I found the grammatical error funny. I apologize for my signature and to Mike Nash for mischaracterize what he said. As this was a recent posting, I figured I should at least apologize here. Sorry for the noise. Trever signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
On 06/08/2011 03:07 PM, Trever L. Adams wrote: So, even though I restart wlan0 from rc.local, I get this: Jun 8 14:56:00 HC kernel: [ 14.219624] ADDRCONF(NETDEV_UP): wlan0: link is not ready Does anyone know what would cause this? It takes the IPv4 address fine. Again, the ifdown/ifup in rc.local get the fe80 address, but not my configured addresses. This is Mode=Master with hostapd. This is very strange. Trever -- Honor isn't about making the right choices. It's about dealing with the consequences. -- Midori Koto signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: World IPv6 Day Problems
ons 2011-06-08 klockan 15:07 -0600 skrev Trever L. Adams: After restarting from rc.local wlan0 has fe80, but not 2001 address assigned. I've never used the v6 support in libvirt, so I'm guessing here, but wlan0 is the physical interface on the host that you're running radvd on, right? That would pick up router advertisements from the router in your wireless LAN, if you have one. I guess if radvd is bound to virbr0 then that interface would pick up an address from your prefix though. What is the output of ip -6 addr ? /abo -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel