<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">allow-hotplug ens192<br></blockquote>auto ens192<br>iface ens192 inet dhcp<br>auto eth0<br>iface eth0 inet manual<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-size:small">pre-up ip link add link ens192 name eth0 type ipvlan mode l2</span></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Then I add eth0 to my container is type=phys, and it works.</div><div class="gmail_default" style="font-size:small">The weird thing is is that suppose  I have a second "real" interface, ens224, and use this physical interface as the source for eth0..X, then my container can't connect to the network.  But ens224 is fine, for if I use it directly in the container as type=phys, it works, but it cannot be used as the "seed" ipvlan derived interfaces.</div><div class="gmail_default" style="font-size:small">Does that make sense?</div><div class="gmail_default" style="font-size:small">uname -r<br>5.4.0-37-generic<br></div><div class="gmail_default" style="font-size:small">Ubuntu 18.04</div></div></div>