Skip to content

Instantly share code, notes, and snippets.

View brauner's full-sized avatar
🌴
I may be slow to respond.

Christian Brauner brauner

🌴
I may be slow to respond.
View GitHub Profile
@brauner
brauner / ns-inet.sh
Last active March 17, 2019 22:56 — forked from dpino/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"