Po mnoha letech upgraduju router, stary i novy jsou x86 s debianem a dvema fyzickymi eth iface.
do souboru /etc/modules
jsem na samostatne radky napsal dummy a 802.1q, nahral jsem na novy router puvodni soubor interfaces kde mam defanovano par vlan, nahradil jsem vsude eth0 za eno1 a eth1 za eno2, ulozil a rebootnul. Dostavam ale nasledujici hlasku:
Oct 31 16:54:49 machine systemd[1]: Starting Raise network interfaces...
Oct 31 16:54:49 machine ifup[2633]: Cannot find device "dummy0"
Oct 31 16:54:49 machine ifup[2633]: ifup: failed to bring up dummy0
Oct 31 16:54:49 machine ifup[2633]: Cannot find device "vlan46"
Oct 31 16:54:49 machine ifup[2633]: ifup: failed to bring up vlan46
Oct 31 16:54:49 machine systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 16:54:49 machine systemd[1]: networking.service: Failed with result 'exit-code'.
Oct 31 16:54:49 machine systemd[1]: Failed to start Raise network interfaces.
loopback mam definovany takto:
auto dummy0
iface dummy0 inet static
address 10.10.10.1
netmask 255.255.255.255
vlany mam definovane takto:
auto vlan46
iface vlan46 inet static
vlan_raw_device eno1
address 192.168.0.1
netmask 255.255.255.0
Oba fyzicke adaptery normalne najedou, ale vlany ne. Pokud je zkusim nahodit rucne ifup vlan46
tak dostanu cannot find device "vlan46"
ifup: failed to bring up vlan46
Co delam spatne? Zmenilo se za ty roky neco v definici vlanu? Zadnou zmenu jsem nevygooglil..