Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set up an LXC Container to have an IP Address from the same Subnet as the Host (i.e. a Bridge Setup) on Ubuntu 12.04LTS.

The Host/LXC does not assign any adresses, this is done inside the container w/ the usuall means (/etc/network/interfaces).

This works fine, but I need to set some static routes inside the Container and this doesn't seem to work as usuall (pre-up ip ro add ... in /etc/network/interfaces).

How do I set static routes in an LXC 0.7.x Container running Ubuntu 12.04LTS on a Ubuntu 12.04LTS Host?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.