摘要:
通过ip link查看网络设备的序列号 ip link 查询结果中,最左边的一列,就是这个网络接口,在主机上的序列号。 阅读全文
posted @ 2023-07-31 13:58
Zhai_David
阅读(307)
评论(0)
推荐(0)
摘要:
查看原有的设备名称为veth1 [root@centos7 ~]# ip netns exec ns1 ip link 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 lin 阅读全文
posted @ 2023-07-31 11:49
Zhai_David
阅读(110)
评论(0)
推荐(0)
摘要:
可以通过ethool工具进行查询,查询网络设备的属性 [root@centos7 ~]# ethtool -k enp0s3 | grep netns-local netns-local: off [fixed] [root@centos7 ~]# [root@centos7 ~]# ethtool 阅读全文
posted @ 2023-07-31 11:21
Zhai_David
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号