V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Oathbinder
V2EX  ›  Linux

用 GRE tunnel 和 VXLAN 怎么连接两个 Linux network namespace

  •  
  •   Oathbinder · Oct 28, 2019 · 3678 views
    This topic created in 2377 days ago, the information mentioned may be changed or developed.

    网络拓扑结构是这个:shorturl.at/tuE07draw.io 画的图) 如果用 GRE tunnel 或者 VXLAN 连接 NS1 和 NS2 应该怎么配置 ip route 和 ip tunnel ?用 GRE tunnel 的话算三层连接,VXLAN 就是二层,两种方案分别需要怎么配置 NS1 和 NS2 以及中转的 NST ?

    3 replies    2019-10-30 14:42:39 +08:00
    k8ser
        1
    k8ser  
       Oct 28, 2019
    你的短链接好像失效了
    k8ser
        3
    k8ser  
       Oct 30, 2019
    解决了吗老哥,我只做过 veth 设备打通两个 namespace,GRE 或者 Vxlan 只用来跨主机。帮不了你了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1107 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 17:34 · PVG 01:34 · LAX 10:34 · JFK 13:34
    ♥ Do have faith in what you're doing.