Skip to content

Understanding Linux networking helps to understand how containers talk to each other, this repo is a summary of the steps to create 2 namespaces and connect them with a bridge

everythingeverywhere/networking-basics

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Networking basics

Understanding Linux networking helps to understand how containers talk to each other, this repo is a summary of the steps to create 2 namespaces and connect them with a bridge, connecting the namespaces to the host maching and internet.

Create a Linux VM if you don't have Linux

sh create-vm.sh

You will be in the VM to exit type exit if you need to get out

Inside the VM Clone this repo to have it on the vm and cd into it to access the scripts

git clone https://github.com/everythingeverywhere/networking-basics.git && cd networking-basics

Create the namespaces, veth's, and bridge from blog

sh create-net.sh

About

Understanding Linux networking helps to understand how containers talk to each other, this repo is a summary of the steps to create 2 namespaces and connect them with a bridge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages