kristenjacobs / container-networking Goto Github PK
View Code? Open in Web Editor NEWContainer networking from scratch, from a single namespace to an overlay network.
License: MIT License
Container networking from scratch, from a single namespace to an overlay network.
License: MIT License
This command expects a UDP server to be running on the target node ($TO_NODE_IP) on port 9000. Otherwise, we get the following error:
$ sudo socat TUN:$TUNNEL_IP/16,iff-up UDP:$TO_NODE_IP:9000,bind=$NODE_IP:9000
2024/06/10 05:27:47 socat[4826] E read(7, 0x5e426d5e2000, 8192): Connection refused
I tried running a small UDP echo server on both nodes on port 9000 and slightly modified the socat command in setup.sh
to make it work-
$ sudo socat TUN:$TUNNEL_IP/16,iff-up UDP:$TO_NODE_IP:9000,bind=$NODE_IP:9001
Is there any misunderstanding? Shall I send a pull request?
Hi Kristen, I was trying your samples and noticed that container to container communication is not working for lab 2,3 as well as the Overlay scenario. Could it be because I am using a Cloud Linux VM's which may have inbuilt rules to disallow that. But even on my machine (win 10 with WSL) I could not get container to container communication working. I was able to ping the bridge/host successfully from the containers but not among between them on same node or different node with Overlay.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.