mirror of https://github.com/mkerrisk/man-pages
veth.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1eef07f09a
commit
334299e22f
|
@ -69,11 +69,11 @@ network interface, using commands something like:
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
# \fBip link add ve_A type veth peer name ve_B\fP # Create veth pair
|
# \fBip link add ve_A type veth peer name ve_B\fP # Create veth pair
|
||||||
# \fBethtool -S ve_A\fP # Discover interface index of peer
|
# \fBethtool -S ve_A\fP # Discover interface index of peer
|
||||||
NIC statistics:
|
NIC statistics:
|
||||||
peer_ifindex: 16
|
peer_ifindex: 16
|
||||||
# \fBip link | grep '^16:'\fP # Look up interface
|
# \fBip link | grep '^16:'\fP # Look up interface
|
||||||
16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
|
16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
|
|
Loading…
Reference in New Issue