[lxc-users] Lxc container, add custom route

Florian Leparoux t1locs at gmail.com
Wed Jan 27 09:55:31 UTC 2016


Thank you for your reply

I've created the file and now I'm not able to restart the network inside 
the CT

cat ifcfg-eth0
BOOTPROTO=none
#IPADDR=
#NETMASK=
#NETWORK=

service network restart
  systemd[1]: Failed to start LSB: Bring up/down networking.



Le 27/01/2016 05:22, Fajar A. Nugraha a écrit :
> On Tue, Jan 26, 2016 at 7:05 PM, florian leparoux <t1locs at gmail.com 
> <mailto:t1locs at gmail.com>> wrote:
>
>     Hello,
>
>     I try to setup a custom route for my CT.
>     I've add the route-eth0 file with my route but this file is
>     ignored because the ifcfg-eth0 doesn't exist.
>
>
> try creating ifcfg-eth0, with BOOTPROTO=none, and IPADDR, NETMASK, 
> NETWORK lines commented out (i.e. don't put IP address and friends in 
> the file)
>
> -- 
> Fajar
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160127/4378525e/attachment.html>


More information about the lxc-users mailing list