On Mon, 26 Apr 2010 18:12:09 +0000
ow...@bugs.debian.org (Debian Bug Tracking System) wrote:

> > # VE address:
> > ip route add 2002:d5ef:d6ab::2/128
> 
> Do you mean you run it in VE context?

Yes, but (sorry sorry!) I mean:

ip addr add 2002:d5ef:d6ab::2/128 dev venet0

> What is the output of
> "ip route show" before and after running this?

...I am installing script from vzctl 3.0.23-12 and...

before:

debtest:/# ip route show
192.0.2.1 dev venet0  scope link 
default via 192.0.2.1 dev venet0 
debtest:/# ip -6 route show
fe80::/64 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 
4294967295


debtest:/# ip addr add 2002:d5ef:d6ab::75/128 dev venet0
                                       ^^ 2 is already assigned, I am use a 
different address

after:

debtest:/# ip -6 route show
2002:d5ef:d6ab::75 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 
hoplimit 4294967295
fe80::/64 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 
4294967295
 
> > # HN address
> > ip route add 2002:d5ef:d6ab::1/0 dev venet0
> 
> vzctl is supposed to add this route itself.

> Again, can you
> please provide the output of "ip route show" before

debtest:/# ip route show
192.0.2.1 dev venet0  scope link 
default via 192.0.2.1 dev venet0 
debtest:/# ip -6 route show
2002:d5ef:d6ab::75 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 
hoplimit 4294967295
fe80::/64 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 
4294967295

debtest:/# ip route add 2002:d5ef:d6ab::75/0 dev venet0

debtest:/# ip -6 route show
2002:d5ef:d6ab::75 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 
hoplimit 4294967295
fe80::/64 dev venet0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 
4294967295
default dev venet0  metric 1024  mtu 1500 advmss 1440 hoplimit 4294967295
debtest:/# ping6 ipv6.google.com
PING ipv6.google.com(2a00:1450:8007::68) 56 data bytes
64 bytes from 2a00:1450:8007::68: icmp_seq=1 ttl=57 time=54.3 ms
64 bytes from 2a00:1450:8007::68: icmp_seq=2 ttl=57 time=54.2 ms
64 bytes from 2a00:1450:8007::68: icmp_seq=3 ttl=57 time=55.0 ms
^C
--- ipv6.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 54.206/54.538/55.075/0.468 ms

> this
> command (but after VE start)?


As I wrote here http://bugzilla.openvz.org/show_bug.cgi?id=1499#c1 there is bug 
with ::1 address init - loopback IPv6 address already assigned at the moment of 
network initialisation:

debtest:/# ifdown venet0
ifdown: interface venet0 not configured
debtest:/# ifconfig venet0 down
debtest:/# 
debtest:/# ifup -v venet0
Configuring interface venet0=venet0 (inet)
run-parts --verbose /etc/network/if-pre-up.d

ifconfig venet0 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0             
up

route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
route add default gw 192.0.2.1
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/bind9
run-parts: executing /etc/network/if-up.d/lprng
run-parts: executing /etc/network/if-up.d/mountnfs
if-up.d/mountnfs[venet0]: waiting for interface lo before doing NFS mounts 
(warning).
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/sendmail
Configuring interface venet0=venet0 (inet6)
run-parts --verbose /etc/network/if-pre-up.d
ifconfig venet0    up
ifconfig venet0 add ::1/128
SIOCSIFADDR: Cannot assign requested address
Failed to bring up venet0.

debtest:/# cat /etc/network/interfaces 
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# Auto generated interfaces
auto lo
iface lo inet loopback

auto venet0
iface venet0 inet static
        address 127.0.0.1
        netmask 255.255.255.255
        broadcast 0.0.0.0
        up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
        up route add default gw 192.0.2.1

iface venet0 inet6 static
        address ::1
        netmask 128
#       up ifconfig venet0 add 2002:d5ef:d6ab::75/0




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to