V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Halry
V2EX  ›  宽带症候群

为什么运行在 ESXi 上的 OP 不能作为多个网卡作为一个 interface,而普通路由器可以?

  •  
  •   Halry · 2015-06-29 23:12:08 +08:00 via Android · 3027 次点击
    这是一个创建于 3223 天前的主题,其中的信息可能已经有所发展或是发生改变。
    研究了一整天,把每个网卡分开建个vmnetwork,再加进去op,再在LAN的interface里面把网卡打勾,一点用都没有,电脑全部不互通,但是又能获取到ip,但是也上不了网,而只用一个网口后面接台交换机又可以了,是不是里面不能当交换机用?
    第 1 条附言  ·  2015-06-30 11:17:26 +08:00
    昨晚弄了一晚,看到openwrt的console里面有个进入混杂模式的提醒,才发现我ESXi里面没开混杂模式,开了立刻好了lol。现在运行结果不错,挺稳定的说,除了开机有时kernel panic
    2 条回复    2015-06-30 00:45:13 +08:00
    rssf
        1
    rssf  
       2015-06-30 00:03:47 +08:00 via iPhone   ❤️ 1
    应该要开混杂模式吧
    lhbc
        2
    lhbc  
       2015-06-30 00:45:13 +08:00   ❤️ 2
    OP是什么东西?OpenWRT?

    那是因为你的交换机不支持

    看我的万兆93

    #创建vlan
    vlan batch 2 10 20 30

    #建4个链路捆绑
    interface Eth-Trunk0
    port link-type trunk
    port trunk allow-pass vlan 2 10 20 30

    interface Eth-Trunk1
    port link-type trunk
    port trunk allow-pass vlan 2 10 20 30

    interface Eth-Trunk2
    port link-type trunk
    port trunk allow-pass vlan 2 10 20 30

    interface Eth-Trunk3
    port link-type trunk
    port trunk allow-pass vlan 30

    #把端口加到链路里
    interface XGigabitEthernet1/0/0
    eth-trunk 0
    interface XGigabitEthernet1/0/1
    eth-trunk 0

    #我就40G
    interface XGigabitEthernet1/0/2
    eth-trunk 1
    interface XGigabitEthernet1/0/3
    eth-trunk 1
    interface XGigabitEthernet1/0/4
    eth-trunk 1
    interface XGigabitEthernet1/0/5
    eth-trunk 1

    interface XGigabitEthernet1/0/6
    eth-trunk 2
    interface XGigabitEthernet1/0/7
    eth-trunk 2

    interface XGigabitEthernet1/0/8
    eth-trunk 3
    interface XGigabitEthernet1/0/9
    eth-trunk 3


    ESXi里再建多个虚拟交换机
    轻松跑20-40G带宽,而且vlan隔离
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1070 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:26 · PVG 06:26 · LAX 15:26 · JFK 18:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.