[lxc-users] Lxc container, add custom route

Fajar A. Nugraha list at fajar.net
Wed Jan 27 21:46:24 UTC 2016


On Wed, Jan 27, 2016 at 4:55 PM, Florian Leparoux <t1locs at gmail.com> wrote:

> Thank you for your reply
>
> I've created the file and now I'm not able to restart the network inside
> the CT
>
>
That's an expected result. You're not supposed to run commands like
"ifdown" or "service network restart" (or anything that involves bringing
any network interface down) when you set networking inside lxc config file.

Choose one:
- setup networking inside lxc config file, OR
- setup networking inside the container OS config files

Don't use both.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160128/7c8dca6d/attachment.html>


More information about the lxc-users mailing list