Skip to content

Instantly share code, notes, and snippets.

@arindamchoudhury
Last active August 29, 2015 14:01
Show Gist options
  • Save arindamchoudhury/4050a4c1fe15fae3b839 to your computer and use it in GitHub Desktop.
Save arindamchoudhury/4050a4c1fe15fae3b839 to your computer and use it in GitHub Desktop.
managing br-ex on single NIC
ip addr add 172.24.4.229/28 dev br-ex
iptables -t nat -I POSTROUTING 1 -s 172.24.4.224/28 -j MASQUERADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment