Aeca
V2EX  ›  问与答

求助 centos7 在虚拟机里面配置了 Teaming 之后两个网卡的 mac 地址就变一样了

  •  
  •   Aeca · Mar 13, 2020 · 2696 views
    This topic created in 2434 days ago, the information mentioned may be changed or developed.

    RT 求助

    4 replies  •  2020-03-16 09:00:20 +08:00
    Aeca
    Aeca
    OP
    Mar 13, 2020
    1
    然后关闭第二张网卡 ip 就 ping 不通了😂
    Aeca
    Aeca
    OP
    Mar 13, 2020
    2
    2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master team0 state UP mode DEFAULT group default qlen 1000
    link/ether 00:50:56:3b:11:99 brd ff:ff:ff:ff:ff:ff
    3: ens37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master team0 state UP mode DEFAULT group default qlen 1000
    link/ether 00:50:56:3b:11:99 brd ff:ff:ff:ff:ff:ff
    4: team0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 00:50:56:3b:11:99 brd ff:ff:ff:ff:ff:ff
    这是网卡链接信息
    ceyes
    ceyes
    Mar 13, 2020 via iPhone
    3
    mac 地址一样没啥问题吧,实现机制就是这样的,bonding 里有个参数 fail_over_mac 可以调,team 里应该有类似的。

    > 然后关闭第二张网卡 ip 就 ping 不通了
    这个要看下链路检测配置好了没,有个 link_watch 的参数。可以参考这个文档
    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configure_teamd_runners
    Aeca
    Aeca
    OP
    Mar 16, 2020
    4
    @ceyes 感谢解答 我这就去研究下😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4778 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:58 · PVG 09:58 · LAX 17:58 · JFK 20:58
    ♥ Do have faith in what you're doing.