reopen 551937
retitle 551937 iproute: "ip -6 route replace ..."  behaves as "ip -6 route add 
..."
found 551937 20090324-1
tag 551937 +ipv6
thanks

Vincent Danjean wrote:
> Version 20090324-1
> 
> The bug is fixed in the unstable version:
> # ip -6 route ls table 1
> ::192.88.99.1 dev tun6to4  metric 1024  mtu 1480 advmss 1420 hoplimit 
> 4294967295
> # ip -6 route replace ::c058:6301 src 2002:XXXX:YYYY::1 dev tun6to4 table 1

I'm sorry, I make a mistake: between these two commands, I restart my firewall
in another terminal and this restart flushed the routing table 1.
  So, contrary to what I was thinking, this bug is not fixed. However, this
bug is specific to ipv6.

# ip route ls table 1
# ip route replace 192.168.77.0/24 dev eth0.0003  proto kernel  scope link  src 
192.168.77.1 table 1
# ip route replace 192.168.77.0/24 dev eth0.0003  proto kernel  scope link  src 
192.168.77.1 table 1
# ip route ls table 1
192.168.77.0/24 dev eth0.0003  proto kernel  scope link  src 192.168.77.1
# ip route del 192.168.77.0/24 dev eth0.0003  proto kernel  scope link  src 
192.168.77.1 table 1
# ip -6 route ls table 1
# ip -6 route replace ::c058:6301 src 2002:XXXX:YYYY::1 dev tun6to4 table 1
# ip -6 route replace ::c058:6301 src 2002:XXXX:YYYY::1 dev tun6to4 table 1
RTNETLINK answers: File exists
# ip -6 route ls table 1
::192.88.99.1 dev tun6to4  metric 1024  mtu 1480 advmss 1420 hoplimit 4294967295
# ip -6 route del ::c058:6301 src 2002:XXXX:YYYY::1 dev tun6to4 table 1
# ip -6 route ls table 1
#

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanj...@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main




-- 
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