[Bug 1288981] [NEW] Interfaces in the same namespace can not ping each other
Weiwen Chen
wei-wen.chen at hp.com
Thu Mar 6 20:46:51 UTC 2014
Public bug reported:
Seems like a bug as you can see the two interfaces in the same namespace
are not pingable. No iptables rule block on the system with Ubuntu
12.04.
# dpkg -l | grep -i route
ii iproute 20111117-1ubuntu2.1 networking and traffic control tools
# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qg-63628516-82 Link encap:Ethernet HWaddr 44:44:44:b3:ea:d2
inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::4644:44ff:feb3:ead2/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:15986 errors:0 dropped:13607 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1275885 (1.2 MB) TX bytes:18098 (18.0 KB)
qr-de498afa-fb Link encap:Ethernet HWaddr 44:44:44:ce:a8:08
inet addr:20.1.1.1 Bcast:20.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::4644:44ff:fece:a808/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:15524 errors:0 dropped:14130 overruns:0 frame:0
TX packets:825 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1227342 (1.2 MB) TX bytes:76546 (76.5 KB)
root at hp-nn3:~# uname -a
Linux hp-nn3 3.5.0-37-generic #58~precise1-Ubuntu SMP Wed Jul 10 17:48:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 arp -a
? (20.1.1.3) at 44:44:44:a6:dd:3f [ether] on qr-de498afa-fb
? (192.168.254.254) at b4:b5:2f:58:31:00 [ether] on qg-63628516-82
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.254.254 0.0.0.0 UG 0 0 0 qg-63628516-82
20.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-de498afa-fb
192.168.254.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-63628516-82
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ping -I qg-63628516-82 20.1.1.1
PING 20.1.1.1 (20.1.1.1) from 192.168.254.1 qg-63628516-82: 56(84) bytes of data.
>From 192.168.254.254 icmp_seq=1 Destination Host Prohibited
>From 192.168.254.254 icmp_seq=2 Destination Host Prohibited
# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ping -I qr-de498afa-fb 192.168.254.1
PING 192.168.254.1 (192.168.254.1) from 20.1.1.1 qr-de498afa-fb: 56(84) bytes of data.
>From 20.1.1.1 icmp_seq=1 Destination Host Unreachable
>From 20.1.1.1 icmp_seq=2 Destination Host Unreachable
>From 20.1.1.1 icmp_seq=3 Destination Host Unreachable
** Affects: iproute (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iproute in Ubuntu.
https://bugs.launchpad.net/bugs/1288981
Title:
Interfaces in the same namespace can not ping each other
Status in “iproute” package in Ubuntu:
New
Bug description:
Seems like a bug as you can see the two interfaces in the same
namespace are not pingable. No iptables rule block on the system with
Ubuntu 12.04.
# dpkg -l | grep -i route
ii iproute 20111117-1ubuntu2.1 networking and traffic control tools
# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qg-63628516-82 Link encap:Ethernet HWaddr 44:44:44:b3:ea:d2
inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::4644:44ff:feb3:ead2/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:15986 errors:0 dropped:13607 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1275885 (1.2 MB) TX bytes:18098 (18.0 KB)
qr-de498afa-fb Link encap:Ethernet HWaddr 44:44:44:ce:a8:08
inet addr:20.1.1.1 Bcast:20.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::4644:44ff:fece:a808/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:15524 errors:0 dropped:14130 overruns:0 frame:0
TX packets:825 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1227342 (1.2 MB) TX bytes:76546 (76.5 KB)
root at hp-nn3:~# uname -a
Linux hp-nn3 3.5.0-37-generic #58~precise1-Ubuntu SMP Wed Jul 10 17:48:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 arp -a
? (20.1.1.3) at 44:44:44:a6:dd:3f [ether] on qr-de498afa-fb
? (192.168.254.254) at b4:b5:2f:58:31:00 [ether] on qg-63628516-82
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.254.254 0.0.0.0 UG 0 0 0 qg-63628516-82
20.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-de498afa-fb
192.168.254.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-63628516-82
root at hp-nn3:~# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ping -I qg-63628516-82 20.1.1.1
PING 20.1.1.1 (20.1.1.1) from 192.168.254.1 qg-63628516-82: 56(84) bytes of data.
From 192.168.254.254 icmp_seq=1 Destination Host Prohibited
From 192.168.254.254 icmp_seq=2 Destination Host Prohibited
# ip netns exec qrouter-561907b3-96b4-4f58-8f5b-0936cf5e1ee4 ping -I qr-de498afa-fb 192.168.254.1
PING 192.168.254.1 (192.168.254.1) from 20.1.1.1 qr-de498afa-fb: 56(84) bytes of data.
From 20.1.1.1 icmp_seq=1 Destination Host Unreachable
From 20.1.1.1 icmp_seq=2 Destination Host Unreachable
From 20.1.1.1 icmp_seq=3 Destination Host Unreachable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1288981/+subscriptions
More information about the foundations-bugs
mailing list