Linux 多网卡设置同一网段,引发的问题 Server有两个网口,两个网口IP均为同一个网段 网口1:172.16.18.102/16,通往公司局域网 网口2:172.16.18.13/16,直接连接一个NAS服务器,NAS与上述两个IP也为同一个网段 NAS服务器:172.16.16.20/16 问题表现: 按照上述连接,Server访问任何机器都好使,就是无法访问NAS服务器 原理: 路由表决策, [root@localhost ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.0.0 0.0.0.0 255.255.0.0 U 100 0 0 enp2s0f0 172.16.0.0 &
Linux 多网卡设置同一网段,引发的问题
最新推荐文章于 2024-05-11 16:27:08 发布