alyu/lxctools — pull request #1 by snowmantw (2012-10-24 17:46:25+00:00)
Title: Add iptables and virtual interfaces in one physical node.

Hello, I need to manage multiple physical nodes in my school lab, and need some features beyond simple creating/bindind static IPs to LXC containers. So I create a new script file to

1. create `ethX:name-num` virtual interfaces in `ethX` NIC, and
2. bind user assigned IPs to these virtual interfaces, and
3. setup iptables rules to forward these public/private IPs to LXC containers.

But the main side-effect is user must delete these settings manually, while them want to destroy those containers.

The script file is: `bin/attach-ip-x`, and user can skip the step to avoid the files be modified.