[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Debian whezzy & Xen 4.1 & IPv6



On Tue, 2013-07-16 at 11:25 +0000, Ronny Wagner wrote:
> Hi Ian,
> 
> sry for my late answer, i was sick the last days.
> 
> I change some files and the DomU started with ipv6:
> nano /etc/xen/xend-config.sxp
> Old:
> (network-script 'network-route netdev=eth0')
> (vif-script     'vif-route netdev=eth0')
> New:
> (network-script network-route)
> (vif-script     vif-route)
> 
> nano /etc/xen/scripts/vif-common.sh
> Old:
> ip_of()
> {
>   ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed -n '1 s,/.*,,p'
> }
> New:
> ip_of()
> {
>         ip -4 -o addr show primary dev $1 | awk '$3 == "inet" {print $4; 
> exit}' | sed 's#/.*##'
> }
> 
> But now, I can ping from the DomU to the Dom0 and not to the gateway
> or the the internet. Do you have a tip how I can fix this?

I'm afraid not, I've never setup a system with IPv6 and know very little
about the specifics of how one would do so. You issues seem to be
getting more into the realm of firewall/networking specific rather than
issues with Xen as such. Perhaps someone else on the list has done this
and can advise.

Ian.

> 
> Some entry I change in the file /etc/sysctl.conf:
> net.ipv4.conf.all.rp_filter = 1
> net.ipv4.icmp_echo_ignore_broadcasts = 1
> net.ipv4.ip_forward = 1
> net.ipv4.conf.eth0.proxy_arp = 1
> net.ipv6.conf.all.forwarding = 1
> net.ipv6.conf.all.proxy_ndp = 1
> net.ipv4.conf.default.proxy_arp = 1
> 
> ipv4 is not a problem, this ist okay, but ipv6 not.
> Traceroute:
> traceroute to ipv6.google.com (2a00:1450:4005:808::1012), 30 hops max, 80 
> byte packets
>  1  IPv6 Dom0 (IPv6 Dom0)  0.207 ms  0.149 ms  0.135 ms
>  2  IPv6 Dom0 (IPv6 Dom0)  2999.852 ms !H  2999.809 ms !H  2999.759 ms !H
> 
> Thank you very much
> 
> -----UrsprÃngliche Nachricht-----
> Von: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> Gesendet: Mittwoch, 10. Juli 2013 14:51
> An: Ronny Wagner
> Cc: Xen-users@xxxxxxxxxxxxx
> Betreff: Re: AW: [Xen-users] Debian whezzy & Xen 4.1 & IPv6
> 
> On Wed, 2013-07-10 at 05:56 +0000, Ronny Wagner wrote:
> > [...]
> > ++ dom0_ip
> > ++ local nd=eth0
> > +++ ip_of eth0
> > +++ sed -n '1 s,/.*,,p'
> > +++ awk '/^.*inet.*eth0$/{print $2}'
> > +++ ip addr show eth0
> > ++ local result=
> > ++ '[' -z '' ']'
> > ++ fatal
> 
> This looks like the issue -- your script appears to want to find an IP
> address on eth0.
> 
> Ian.
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.