V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
owenliang
V2EX  ›  Docker

关于 calico bgp 的一个问题

  •  1
     
  •   owenliang ·
    owenliang · Mar 8, 2019 · 3510 views
    This topic created in 2613 days ago, the information mentioned may be changed or developed.
    192.168.97.2 dev calic285cddbb40 scope link
    blackhole 192.168.97.0/26 proto bird
    192.168.210.192/26 via 10.173.32.26 dev eth0 proto bird
    192.168.211.0/26 via 10.173.32.25 dev eth0 proto bird

    其中一台主机的路由表如上,我想问的是第 1 行。

    为什么 calico 要直接把 container ip 直接从 veth 送进去,而不是通过一条 192.168.97.*的路由直接在 docker0 网桥上做交换呢?

    后者在技术上也是能实现的吧?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2369 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:53 · PVG 13:53 · LAX 22:53 · JFK 01:53
    ♥ Do have faith in what you're doing.