<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 7:23 AM, StalkR <span dir="ltr"><<a href="mailto:stalkr@gmail.com">stalkr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello Jesper,<br>
<br>
Glad to see I'm not the only one to have this problem.<br>
I don't see any side effect of disabling IPv6 on eth0, since as you<br>
said IP address is carried by vmbr0.<br>
So, good finding, thanks!<br>
<br>
Sincerely,<br>
--<br>
<font color="#888888">StalkR<br>
</font><div><div></div><div class="h5"><br>
On Tue, Feb 8, 2011 at 12:24, Jesper Dangaard Brouer <<a href="mailto:jdb@comx.dk">jdb@comx.dk</a>> wrote:<br>
> Hi Proxmox users<br>
><br>
> I have (hopefully) identified the problem, with proxmox, where the "Open<br>
> VNC console" does NOT work for KVM virtual machines, but it works for<br>
> OpenVZ containers.<br>
><br>
> The problem is related to IPv6 socket bindings, which has been up on the<br>
> mailing list before see [1] and [2], and via a blog [3].<br>
><br>
> The real cause of the problem is that eth0 gets assigned an IPv6 address<br>
> automatically (related to its MAC). The interface eth0 is part of a<br>
> bridge, and thus must not be assigned any IPs (due to, how the kernel<br>
> bridge code works, one must use the bridge interface vmbr0). Somehow<br>
> the netcat/nc choose to bind to this address and screws up.<br>
><br>
> My solution was to disable IPv6 on eth0<br>
> via /proc/sys/net/ipv6/conf/eth0/disable_ipv6. This can be done via the<br>
> commands:<br>
><br>
> echo "net.ipv6.conf.eth0.disable_ipv6 = 1" > /etc/sysctl.conf<br>
> sysctl -p<br>
><br>
> One of the reasons eth0 gets assigned an IPv6, is most likely because,<br>
> the default install is missing a line in /etc/network/interfaces. The<br>
> file should contain:<br>
><br>
> iface eth0 inet manual<br>
><br>
> This line will propably also solve the issue.<br>
><br>
> System:<br>
> Problem found on a freshly installed Proxmox version 1.7<br>
><br>
> Links:<br>
> [1] <a href="http://pve.proxmox.com/pipermail/pve-user/2010-February/001236.html" target="_blank">http://pve.proxmox.com/pipermail/pve-user/2010-February/001236.html</a><br>
> [2] <a href="http://pve.proxmox.com/pipermail/pve-user/2010-February/001237.html" target="_blank">http://pve.proxmox.com/pipermail/pve-user/2010-February/001237.html</a><br>
> [3] <a href="http://blog.stalkr.net/2010/02/proxmox-kvm-reach-vnc-in-ipv6.html" target="_blank">http://blog.stalkr.net/2010/02/proxmox-kvm-reach-vnc-in-ipv6.html</a><br>
><br>
> --<br>
> Best regards<br>
> Jesper Brouer<br>
> ComX Networks A/S<br>
> Linux Network Kernel Developer<br>
> Cand. Scient Datalog / MSc.CS<br>
> Author of <a href="http://adsl-optimizer.dk" target="_blank">http://adsl-optimizer.dk</a><br>
> LinkedIn: <a href="http://www.linkedin.com/in/brouer" target="_blank">http://www.linkedin.com/in/brouer</a><br>
_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br><br>thanks!<br><br>but i think this:<br><br>echo "net.ipv6.conf.eth0.disable_ipv6 = 1" > /etc/sysctl.conf<br><br>s/b<br>echo "net.ipv6.conf.eth0.disable_ipv6 = 1" >> /etc/sysctl.conf<br>
<br>note the >> instead of ><br><br>