Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
everythingeverywhere committed May 28, 2020
1 parent 75c4c08 commit 357efa8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 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

# First clone this repo if you want to run the script to create vm's on your machine

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

# Create a Linux VM if you don't have one
sh create-vm.sh

> You will be in the VM to exit type `exit`
# clone this repo to have it on the vm

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

# Create the all from blog
sh create-net.sh
7 changes: 0 additions & 7 deletions create-net.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@

# To install using Homebrew:
brew cask install multipass
# Spin up a vm with the name ‘linux-vm’
multipass launch -n linux-vm
# To enter into a shell in your vm use the following:
multipass shell linux-vm
# To see the interfaces on your device enter
ip link list
# Let’s create a two network namespaces pb and jelly
Expand Down
6 changes: 6 additions & 0 deletions create-vm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# To install using Homebrew:
brew cask install multipass
# Spin up a vm with the name ‘linux-vm’
multipass launch -n linux-vm
# To enter into a shell in your vm use the following:
multipass shell linux-vm

0 comments on commit 357efa8

Please sign in to comment.