[lxc-users] Ipvlan Network weirdness
Saint Michael
venefax at gmail.com
Sat Jun 20 12:20:07 UTC 2020
>
> allow-hotplug ens192
>
auto ens192
iface ens192 inet dhcp
auto eth0
iface eth0 inet manual
> pre-up ip link add link ens192 name eth0 type ipvlan mode l2
Then I add eth0 to my container is type=phys, and it works.
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.
Does that make sense?
uname -r
5.4.0-37-generic
Ubuntu 18.04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20200620/da9bc1e5/attachment.htm>
More information about the lxc-users
mailing list