lxd_vlan_macvlan
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lxd_vlan_macvlan [2021/10/17 09:44] – admin | lxd_vlan_macvlan [2021/10/17 10:07] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Netplan, | =====Netplan, | ||
- | |||
- | **work in progress** | ||
- | |||
Netplan (currently) does not support MACVLAN interfaces. So here I use a post-up hook script to create a MACVLAN interface for the host in order to communicate with containers. | Netplan (currently) does not support MACVLAN interfaces. So here I use a post-up hook script to create a MACVLAN interface for the host in order to communicate with containers. | ||
Line 36: | Line 33: | ||
MYNIC=" | MYNIC=" | ||
- | |||
- | echo " | ||
- | set >> /tmp/log | ||
- | |||
if [[ " | if [[ " | ||
Line 76: | Line 69: | ||
used_by: | used_by: | ||
</ | </ | ||
+ | * Apply config.< | ||
+ | netplan apply | ||
+ | </ | ||
{{tag> | {{tag> |
lxd_vlan_macvlan.txt · Last modified: 2021/10/17 10:07 by admin