我有一个Jetson,它在ifconfig中有以下接口。
rndis0: flags=4099 mtu 1500
ether 62:e5:4a:79:fd:e5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4099 mtu 1500
ether 62:e5:4a:79:fd:e7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ztbto4tsm2: flags=4163 mtu 2800
inet 172.25.242.102 netmask 255.255.0.0 broadcast 172.25.255.255
inet6 fe80::e8ec:cfff:fe69:1057 prefixlen 64 scopeid 0x20
ether ea:ec:cf:69:10:57 txqueuelen 1000 (Ethernet)
RX packets 17297 bytes 5830391 (5.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38581 bytes 40926618 (40.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0我知道rndis0和usb0与USB设备有关。然而,即使没有USB设备连接,我也能看到这些接口。如何研究为什么/在何处创建这些接口?
另外,我知道ztbto4tsm2接口来自于我的ZeroTier VPN,但是,是否有一个通用的命令/方法可以用来确定虚拟接口是由我的ZeroTier进程创建的?
发布于 2020-09-19 05:03:30
检查/etc/sysconfig/network-scripts/下的网络脚本
若要查看物理设备,可以使用以下内容。
$ lsusb $ lspci
ZTO提供了编译后的二进制文件,因此,除非您阅读它们的源代码,否则您无法找到多少。
下面是他们的linux构建脚本:
https://github.com/zerotier/ZeroTierOne/blob/master/make-linux.mk
您也可以尝试这样做:
sudo zerotier-cli listnetworks
https://unix.stackexchange.com/questions/610170
复制相似问题