Mam świeżo zainstalowanego Debiana w trybie tekstowym i chciałem statycznie przypisać na jednej karcie sieciowej dwa interfejsy. Mój plik intefaces wygląda następująco:
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.105
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 10.11.11.1
netmask 255.255.255.0
Po zrestartowaniu poleceniem:
Kod: Zaznacz cały
/etc/init.d/networking restart
wyświetla błąd
Kod: Zaznacz cały
eth1:ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth1: ERRROR while getting inteface flags: No such device
Failed to bring up eth1.