LXC: Created veth0 removed on reboot

dsh

Well-Known Member
Jul 6, 2016
45
3
48
35
I need to have a veth0 interface, however when lxc is restarted veth0 is deleted.

Is there a way to prevent this?
 
hi,

what do you mean? can you give us an example and describe what you're trying to do?
 
@oguz Thanks.
I have a software that relies on virtual ethernet.

I have configured virtual ethernet on my lxc server. However lxc's network is provisioned by host and when I reboot the lxc server. my virtual ethernet disappears.


I need to veth0a device persist after reboot on lxc machine.
 

Attachments

  • Untitled.png
    Untitled.png
    96.4 KB · Views: 4