Public bug reported:
1) Ubuntu release: 11.10
2) Package:
iproute:
Installed: 20110315-1build1
Candidate: 20110315-1build1
Version table:
*** 20110315-1build1 0
500 http://mirror.isoc.org.il/pub/ubuntu/ oneiric/main amd64 Packages
100 /var/lib/dpkg/status
3) In the following sequence, the second call to 'ip route del' should fail:
ip route add <IPV6> dev <ETH>
ping6 <IPV6>
ip route del <IPV6> dev <ETH>
ip route del <IPV6> dev <ETH>
4) Both calls to 'ip route del' succeed. The first one does not actually
delete the route.
Below is a script that reproduces the problem:
#!/bin/sh
# A weird behavior of the ip command for IPV6
# First call to "route del" returns success but the route remains
start()
{
echo "START: ip route add $1 dev $2"
ip route add $1 dev $2
echo "RES=$?"
}
stop()
{
echo "STOP: ip route del $1 dev $2"
ip route del $1 dev $2
echo "RES=$?"
}
if [ $# -lt 2 ]
then
echo "Usage: $0 <IP_ADDR> <DEVICE>"
exit 0
fi
start $1 $2
ping6 $1 -c 1 -w 1
stop $1 $2
stop $1 $2
stop $1 $2
** Affects: iproute (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/930899
Title:
iproute2 IPV6: ip route del succeeds but the route remains
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/930899/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs