Skip to content

Instantly share code, notes, and snippets.

View cynecx's full-sized avatar
🌧️
(~˘▾˘)~ 🌧

cynecx cynecx

🌧️
(~˘▾˘)~ 🌧
  • Germany
  • 16:54 (UTC +01:00)
View GitHub Profile
@cynecx
cynecx / ns-inet.sh
Created March 17, 2019 22:56 — forked from brauner/ns-inet.sh
Setup a network namespace with Internet access
#!/usr/bin/env bash
set -x
NS="ns1"
VETH="veth1"
VPEER="vpeer1"
VETH_ADDR="10.200.1.1"
VPEER_ADDR="10.200.1.2"