Git Product home page Git Product logo

k8s-the-hard-way's People

Contributors

yangyuqian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

k8s-the-hard-way's Issues

关于vxlan的一些问题,求解答

我看了这篇文章之后,自己在2台云服务器进行测试的过程中发现一些问题,有空请解答,万分感谢。

  1. 在主机上ping不通另一边的container,当然主机上的container也ping不通另一边的container。

    • 在1主机 ping 2主机的container时,已将2的container ip和2的vtep mac加到1主机的arp表里。
    • 通过tcpdump抓包可以看到从主机ping container时,流量只发到对方主机的vxlan设备上,没有往docker0转发,不知道为什么,按照路由表应该会走向docker0?
  2. 发现如果先改了docker的bip之后启动docker,再创建vxlan设备,就会出现主机vtep之间无法ping通的情况;如果先创建vxlan再启动docker则没有这个问题。

debug信息:

(我将文章中使用的192.1.x.x系列ip换为192.168.x.x)

主机1的route, arp, fdb table以及所有设备:
image

主机2的route, arp, fdb table以及所有设备:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.