Aeca
V2EX  ›  问与答

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

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

    RT 求助

    4 replies    2020-03-16 09:00:20 +08:00
    Aeca
        1
    Aeca  
    OP
       Mar 13, 2020
    然后关闭第二张网卡 ip 就 ping 不通了😂
    Aeca
        2
    Aeca  
    OP
       Mar 13, 2020
    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
        3
    ceyes  
       Mar 13, 2020 via iPhone
    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
        4
    Aeca  
    OP
       Mar 16, 2020
    @ceyes 感谢解答 我这就去研究下😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3822 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 00:10 · PVG 08:10 · LAX 17:10 · JFK 20:10
    ♥ Do have faith in what you're doing.