This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear expert,
we can add vlan when the board powered on with following command, and vlan is working.
vconfig add eth0 11
ifconfig eth0.11 172.17.1.2 netmask 255.255.255.0 up
Then we add below config to /etc/network/interfaces
auto eth0.11
iface eth0.11 inet static
add below config to /etc/systemd/network/11-eth0-vlan11.network
[Match]
Name=eth0.11
[Network]
Address=172.17.1.2
Broadcast=172.17.1.255
Netmask=255.255.255.0
after power cycle the board, there is no vlan interface if we perform ifconfig command
seems the /etc/network/interfaces not working, how could I add VLAN permanently?