[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip-aliase funktionieren nicht unter etch



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


> Aliase ala :0 sind ueble Hacks von vor ~5 Jahren.

mag ja sein, funktionieren müsste es ja trotzdem
>
> Heutzutage setzt man mehrere IPs dirket auf eth0 mittels iproute2.

werde ich morgen dann mal testen
>
> Das ist zwar nicht debian-Way, laesst sich aber durch die
> up/down-Direktiven auch in die /e/n/interfaces pruegeln.

hmm auch ne Überlegung.
>
> Das mehrere Interfaces im gleichen Subnetz selten Sinn ergeben, ist  ja
> schon angesprochen worden.

ist ja auskommentiert, und sollte daher keine Probleme bereiten

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
netmask 255.0.0.0

#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

gibt weiterhin:


cheetah:~# /etc/init.d/networking restart
Reconfiguring network interfaces.../etc/network/interfaces:10: misplaced 
option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:10: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"

und line 10 ist definitiv:

address 127.0.0.1

was nun?

Stefan

Attachment: pgpkYR3GA_LW0.pgp
Description: PGP signature


Reply to: