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

Probleme beim Einrichten zusaetzlicher IP-Adressen



Einen schoenen guten Abend, Liste,


Mal eine Frage an die Netzwerk-Gurus:

Ich habe ein Problem beim Einrichten von zusaetzlichen IP-Adressen auf
meinem Server.

Ich habe bei Hetzner fuer einen unserer Server eine zusaetzliche Range
von IP-Adressen beantragt.
Diese habe ich, wie im Hetzner-Wiki beschrieben, in
"/etc/network/interfaces" eingetragen.
Ich habe dann noch ein paar Eintraege in der "/etc/hosts" hinzugefuegt
(brauche ich fuer Apache).
Ebenfalls habe ich fuer die in "/etc/hosts" eingetragenen DNS-Namen
die entsprechenden Nameserver-Eintraege gesetzt.

Wenn ich nun das Netzwerk neu starte ("/etc/init.d/network restart"),
bekomme ich die folgende Fehlermeldung, mit der ich nun gar nichts
anfangen kann:

========[snip]=============
Debian-40-etch-64-LAMP:/home/bart# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
done.
========[snap]=============

Meine Configs (ein klein wenig verfremdet, hoffe, das macht nichts)
nachstehend, vielleicht gibt's hier ja jemanden, der mir sagen kann,
ob ich ein Problem habe & wenn ja, welches....

Das Komische:

Anpingbar (aus dem Hetzer-Netz) sind alle IPs sowie DNS-Namen (www.
... etc.), auch die Ausgabe von "ifconfig" schaut gut aus...

Bitte lasst mich nicht dumm sterben....

Gregor


Hetzer hat mir die folgende Range mitgeteilt:

========[snip]=============
nachstehend finden Sie Ihre zusätzlichen IP-Adressen,
die dem Server 213.xxx.207.yyy zugewiesen sind.

Bitte beachten Sie, dass Sie das Subnetz nur für diesen
Server verwenden können.

IP: 78.47.xx.0
Maske: 255.255.255.248
Broadcast: 78.47.xx.7

Verwendbare IP-Adressen:
78.47.xx.1 bis 78.47.xx.6
========[snap]=============

########################
/etc/network/interfaces
########################
# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto eth0
iface eth0 inet static
address 213.xxx.207.yyy
broadcast 213.xxx.207.zzz
netmask 255.255.255.224
gateway 213.xxx.207.ggg

## IP Zusatz-IP1
auto eth0:0
iface eth0:0 inet static
address 78.47.xx.1
broadcast 78.47.xx.7
netmask 255.255.255.248
#
## IP Zusatz-IP2
auto eth0:1
iface eth0:1 inet static
address 78.47.xx.2
broadcast 78.47.xx.7
netmask 255.255.255.248
#
## IP Zusatz-IP3
auto eth0:2
iface eth0:2 inet static
address 78.47.xx.3
broadcast 78.47.xx.7
netmask 255.255.255.248
#
## IP Zusatz-IP4
auto eth0:3
iface eth0:3 inet static
address 78.47.xx.4
broadcast 78.47.xx.7
netmask 255.255.255.248
#
## IP Zusatz-IP5
auto eth0:4
iface eth0:4 inet static
address 78.47.xx.5
broadcast 78.47.xx.7
netmask 255.255.255.248
#
## IP Zusatz-IP6
auto eth0:5
iface eth0:5 inet static
address 78.47.xx.6
broadcast 78.47.xx.7
netmask 255.255.255.248

# default route to access subnet:
up route add -net 213.xxx.207.192 netmask 255.255.255.224 gw
213.239.207.193 eth0

########################
/etc/hosts
########################
127.0.0.1       localhost Debian-40-etch-64-LAMP db
213.xxx.207.yyy domaene_1.de
#
78.47.20.1      domaene_2.com
78.47.20.2      domaene_3.de domaene_4.de
# 78.47.20.3
# 78.47.20.4
# 78.47.20.5
# 78.47.20.6


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

########################
Beispiel fuer einen Nameserver-Eintrag:
########################
$TTL 86400
@	IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
		2008051900     ; serial
		14400          ; refresh
		1800           ; retry
		604800         ; expire
		86400 )        ; minimum

@                IN	NS	robotns3.second-ns.com.
@                IN	NS	robotns2.second-ns.de.
@                IN	NS	ns1.first-ns.de.

@                IN	A	78.47.xx.1
localhost        IN	A	127.0.0.1
mail             IN	A	78.47.xx.1
www              IN	A	78.47.xx.1
ftp              IN	CNAME	www
imap             IN	CNAME	www
loopback         IN	CNAME	localhost
pop              IN	CNAME	www
relay            IN	CNAME	www
smtp             IN	CNAME	www
@                IN	MX 10	mail

########################
Ausgabe /etc/init.d/network restart
########################
Debian-40-etch-64-LAMP:/home/bart# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
done.

########################
Ausgabe ifconfig
########################
eth0      Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:213.xxx.207.yyy  Bcast:213.xxx.207.zzz  Mask:255.255.255.224
          inet6 addr: [some_ip6_adress] Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1238 errors:0 dropped:0 overruns:0 frame:0
          TX packets:761 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:106586 (104.0 KiB)  TX bytes:124894 (121.9 KiB)
          Interrupt:10 Base address:0x4000

eth0:0    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.1  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

eth0:1    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.2  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

eth0:2    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.3  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

eth0:3    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.4  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

eth0:4    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.5  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

eth0:5    Link encap:Ethernet  HWaddr 00:19:DB:AC:BE:14
          inet addr:78.47.xx.6  Bcast:78.47.xx.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:396 (396.0 b)  TX bytes:396 (396.0 b)

-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371


Reply to: