Re: Probleme beim Einrichten zusaetzlicher IP-Adressen
Hi Heiko,
so, hier mal ein Ergebnis:
Debian-40-etch-64-LAMP:/# ifdown eth0:0 && ifup -v eth0:0
Configuring interface eth0:0=eth0:0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
ifconfig eth0:0 78.47.xx.1 netmask 255.255.255.248 broadcast
78.47.xx.7 up
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntp
run-parts: executing /etc/network/if-up.d/postfix
Laeuft bis eth0:4 wunderbar.
Bei eth0:5 wird's dann lustig:
Debian-40-etch-64-LAMP:/# ifdown eth0:5 && ifup -v eth0:5
ifdown: interface eth0:5 not configured
Configuring interface eth0:5=eth0:5 (inet)
run-parts --verbose /etc/network/if-pre-up.d
ifconfig eth0:5 78.47.xx.6 netmask 255.255.255.248 broadcast
78.47.xx.7 up
route add -net 213.239.yyy.192 netmask 255.255.255.224 gw 213.239.yyy.193 eth0
SIOCADDRT: File exists
Failed to bring up eth0:5.
eth0:5 ist aber konfiguriert, laesst sich anpingen, auch im ifconfig
schaut's gut aus:
eth0:5 Link encap:Ethernet HWaddr 00:19:DB:AC:BE:14
inet addr:78.47.20.6 Bcast:78.47.20.7 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x4000
VON WAS FUER EINER DATEI SPRICHT DAS TEIL DA?!?!?
Wie gesgat, eigentlich klappt soweit im Moment alles, aber diese
Meldung macht mich doch ein wenig nervoes, daher waere ich fuer Tips
recht dankbar :)
Gruss
Gregor
Nochmal zur Info meine /etc/network/interfaces:
### Hetzner Online autoconfig
# 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.223
netmask 255.255.255.224
gateway 213.xxx.207.193
## 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.xxx.207.193 eth0
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Reply to: