Saturday, December 21, 2013

How to locate veth peers


# ip link show dev phy-br-eth3
8: phy-br-eth3: <BROADCAST,MULTICAST,UP,LOWER_

UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether f0:de:f1:00:50:da brd ff:ff:ff:ff:ff:ff


# ip link show dev int-br-eth3
9: int-br-eth3: <BROADCAST,MULTICAST,UP,LOWER_
UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether f0:de:f1:3a:6f:8d brd ff:ff:ff:ff:ff:ff

..
..

# ethtool -S phy-br-eth3
NIC statistics:
peer_ifindex: 10

# ethtool -S int-br-eth3
NIC statistics:
peer_ifindex:9

No comments:

Post a Comment