JIKE
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users

    运维:服务器多网口导致的网络不通

    技术分享
    运维 网络运维 马甲踩坑
    1
    1
    106
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • malaohu
      我是小马甲~ 🤫 last edited by

      最近2天公司遇到这么一个网络问题。分享出来防止大家以后踩坑。

      公司是在一个大局域网内。

      主办公区内网段:192.168.1.x
      开发服务器内网:192.168.8.x

      192.168.1.100 无法PING通 192.168.8.100

      192.168.8.100 也无法PING通 192.168.1.100

      [root@dev ~]# ping 192.168.1.100
      PING 192.168.1.100 (192.168.1.160) 56(84) bytes of data.
      From 192.168.1.41 icmp_seq=1 Destination Host Unreachable
      From 192.168.1.41 icmp_seq=2 Destination Host Unreachable
      From 192.168.1.41 icmp_seq=3 Destination Host Unreachable
      
      

      看显示,不太对呀!怎么出口IP不是 192.168.8.100 ?

      我突然想起来可能是多网卡导致的。

      果然网卡2配置的IP是192.168.1.41。

      直接禁掉网卡2就好了。

      唐宋元明清,连排小工兵!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post