Hi Erezsh,
wow! The output of the command is empty
[root@n02 ~]# ip -o link show |egrep ^17: | awk -F': ' '{print $2}'
because the 17-th interface (peer of tapbf3135d2-4b) is defined inside the DHCP namespace!
[root@n02 ~]# ip netns
qdhcp-570dc494-a876-401c-a80d-6696e2140a5f
qdhcp-74c147c0-4529-4ca2-99b3-086f6a4e81d8
qrouter-6e95aabe-b64a-4139-b12a-1413444071c1
[root@n02 ~]# ip netns exec qdhcp-570dc494-a876-401c-a80d-6696e2140a5f ip -o link show
13: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
17: ns-bf3135d2-4b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\ link/ether fa:16:3e:04:4c:f7 brd ff:ff:ff:ff:ff:ff
Of course it's the same for the other 2 peer interfaces (15, the DHCP of a second IB network, and 26, the router)
[root@n02 ~]# ip netns exec qdhcp-74c147c0-4529-4ca2-99b3-086f6a4e81d8 ip -o link show
14: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
15: ns-8b6eea59-74: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\ link/ether fa:16:3e:b3:f6:a3 brd ff:ff:ff:ff:ff:ff
[root@n02 ~]# ip netns exec qrouter-6e95aabe-b64a-4139-b12a-1413444071c1 ip -o link show
21: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
26: qr-03eecdb6-1b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\ link/ether fa:16:3e:52:32:68 brd ff:ff:ff:ff:ff:ff
30: qg-96f34856-9d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\ link/ether fa:16:3e:51:aa:65 brd ff:ff:ff:ff:ff:ff
Thanks
Ale