Ubuntu vlan
ubuntu vlan
netplanを使う。
/etc/netplan/xx.yml
network: ethernets: eth0: addresses: [] dhcp4: true vlans: vlan.11: id: 11 link: eth0 addresses: [192.168.0.22] version: 2
sudo netplan -debug generate sudo netplan apply
netplanを使う。
/etc/netplan/xx.yml
network: ethernets: eth0: addresses: [] dhcp4: true vlans: vlan.11: id: 11 link: eth0 addresses: [192.168.0.22] version: 2
sudo netplan -debug generate sudo netplan apply