Am 07.12.2006 um 17:30 schrieb Stefan Fuhrmann:
da stehen noch ein paar zeilen drüber, die hab ich halt nicht gepostet:# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). ist glaub ich nicht so interessant
Doch sind sie. Damit kann man nämlich sinnvoll die Zeilen zählen.
Aliase ala :0 sind ueble Hacks von vor ~5 Jahren.
Das kannst du ruhig verdoppeln. ifconfig ist eigentlich seit Kernel 2.1 deprecated, und 2.1 ist vom 30. Sep. 1996
nochmal: # 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 allow-hotplug eth0 address 127.0.0.1
Und das währe dann Zeile 10. Das stellt sich doch die Frage, was zum Geier bitte schön ist das und wo kommt das her? Bitte entsorgen.
netmask 255.0.0.0
Und diese Zeile gleich mit.
#iface eth0 inet dhcp auto eth0 iface eth0 inet static address 192.168.1.250 netmask 255.255.255.0 gateway 192.168.1.254 dns-nameservers 192.168.1.253 auto eth0:0 iface eth0:0 inet static address 192.168.1.251 netmask 255.255.255.0
Was du mit zwei Interfaces im gleichen Netz willst musst du selbst wissen. Sinn ergibt das nicht wirklich.
cheetah:~# /etc/init.d/networking restartReconfiguring network interfaces.../etc/network/interfaces:10: misplacedoption
Da steht es doch eindeuig was ihm nicht gefällt. ttyl8er, t.k.
Attachment:
PGP.sig
Description: Signierter Teil der Nachricht