各位,最近在折腾内网穿透的事情并且使用过zerotier,然后有个疑问就是Linux如何通过zerotier这个虚拟网卡将报文传递出去的.
假设某台Linux服务器为A并且仅通过一条网线与路由器相连接,假设这个物理网卡为eth0,IP地址为10.10.10.200,并且zerotier新增的虚拟网卡为eth1,IP地址为192.168.111.100(仅举例)
此时我通过zerotier的虚拟IP去ping其他zerotier节点的IP,假设为192.168.111.101,那么我tcpdump -i
eth1抓eth1网卡时是可以看到icmp的request和reply报文的,但是我tcpdump -i
eth0这个真实的物理网卡确实看不到icmp报文的。
我的疑问是既然这台Linux服务器只有一个物理网卡,那么网络流量肯定是走这个物理网卡eth0出去的,但是为何tcpdump看不到这个icmp报文呢?


-- 
All the best!

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email to 
[email protected]. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到[email protected]。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/CACb3DvPenXf_BagkDYK2qHotXfrqqj6Qc0p7udo-ZuPEtZb3mg%40mail.gmail.com。

Reply via email to