Мой 01-netcfg.yaml выглядит так:
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
ens1f0np0:
dhcp4: no
addresses: [ 10.200.127.50/24 ]
gateway4: 10.200.127.254
nameservers:
search: [ schonfeld.com ]
addresses:
# - "10.200.4.240"
- "10.200.56.51"
ens2f0np0:
dhcp4: no
addresses: [ 10.200.101.50/24 ]
# gateway4: 10.200.101.254
nameservers:
search: [ schonfeld.com ]
addresses:
# - "10.200.4.240"
- "10.200.56.51"
Я хотел бы добавить vlan к ens1f0np0, как это сделать? ОС детали:
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"