Skip to content

Instantly share code, notes, and snippets.

@sameo
Last active December 5, 2016 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sameo/ba7e8bd7ae00c5ee6ee839cf1c802e03 to your computer and use it in GitHub Desktop.
Save sameo/ba7e8bd7ae00c5ee6ee839cf1c802e03 to your computer and use it in GitHub Desktop.
root@netnode:/# ip link show dev phy-br-eth2
8: phy-br-eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether 82:a4:31:98:d2:f3 brd ff:ff:ff:ff:ff:ff
root@netnode:/# ip link show dev int-br-eth2
9: int-br-eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether c6:60:28:48:4f:7d brd ff:ff:ff:ff:ff:ff
root@netnode:/# ethtool -S phy-br-eth2
NIC statistics:
peer_ifindex: 9
root@netnode:/# ethtool -S int-br-eth2
NIC statistics:
peer_ifindex: 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment