Linux veth 名称中的 '@' 是什么意思?

Linux veth 名称中的 '@' 是什么意思?

启动docker后,发现veth名字里有@,一般情况下veth pair的名字是veth0@veth1veth1@veth0,但是我发现docker veth是vethb00e848@if7

那么 '@' 是什么意思?或者我可以将其更改veth0@xxx为吗veth0@yyy

➜  ~ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 68:f7:28:67:b3:94 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:c5:d4:df:e9:13 brd ff:ff:ff:ff:ff:ff
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 02:42:78:12:f6:12 brd ff:ff:ff:ff:ff:ff
5: br-02c830829a97: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:32:81:fd:21 brd ff:ff:ff:ff:ff:ff
6: br-3000ca4de5c1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:52:5c:c6:88 brd ff:ff:ff:ff:ff:ff
8: vethb00e848@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT group default 
    link/ether 02:34:e8:9f:b9:50 brd ff:ff:ff:ff:ff:ff link-netnsid 0

相关内容