Zusätzliche ip adresse

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
delirium
Posts: 3
Joined: 2008-11-24 11:16
 

Zusätzliche ip adresse

Post by delirium »

Hallo zusammen,
habe beim server4you ein Testserver (Debian 3.1) und habe dort eine zusätzliche IP beantrag und diese auch bekommen.
Nun wollte ich diese IP einbinden aber es funktioniert nicht wirklich.

unter /etc/network/interfaces
habe ich folgendes eingetragen:

Code: Select all

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address   xx.yy.83.132
        netmask   255.255.255.0
        network   xx.yy.83.0
        broadcast xx.yy.83.255
        gateway   xx.yy.83.1

[b]## Erste Zusatz-IP[/b]
auto eth0:1
iface eth0:1 inet static
address xx.yy.89.183
broadcast xx.yy.89.191
netmask 255.255.255.240

Danach ein /etc/init.d/networking restart
ausgeführt.
Ausgabe davon =

Code: Select all

Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...ifup: interface lo already configured
done.
Danach mittels ifconfig das ganze anzeigen lassen

Code: Select all

eth0      Link encap:Ethernet  HWaddr xyz  
          inet addr:IPADRESSE1  Bcast:BCAST1  Mask:BCAST1
          inet6 addr: xyz:72af/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20274000 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13431401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2084877882 (1.9 GiB)  TX bytes:1874793714 (1.7 GiB)
          Interrupt:16 Base address:0xe500 

eth0:1    Link encap:Ethernet  HWaddr xyz  
          inet addr: xx.yy.89.183  Bcast: xx.yy.89.191  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 Base address:0xe500 

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:97923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97923 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7522711 (7.1 MiB)  TX bytes:7522711 (7.1 MiB)

Aber die zusätzliche IP Adresse ist einfach nicht Erreichbar. (Ping)
Was habe ich noch vergessen?
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Zusätzliche ip adresse

Post by daemotron »

Schon mal probiert, was ein traceroute (bzw. tracert) zu der neuen IP ausspuckt? Wie schaut Deine Routing-Tabelle aus (route -n)?
delirium
Posts: 3
Joined: 2008-11-24 11:16
 

Re: Zusätzliche ip adresse

Post by delirium »

route -n auf dem Server

Code: Select all

> route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
80.86.89.176    0.0.0.0         255.255.255.240 U     0      0        0 eth0
80.86.83.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         80.86.83.1      0.0.0.0         UG    0      0        0 eth0

Trace von der vorhandenen IP (die geht)

Code: Select all

Traceroute Resultat:

traceroute to xx.yy.132 (xx.yy.83.132), 30 hops max, 40 byte packets
 1  zh1-cr2.ch-meta.net (80.74.128.14)  0.581 ms  0.553 ms  0.554 ms
 2  zh1-cr3.ch-meta.net (80.74.128.21)  0.535 ms  0.531 ms  0.527 ms
 3  interoute-gig02-cr3.ch-meta.net (80.74.134.9)  1.173 ms  1.170 ms  1.158 ms
 4  PO4-3.fra-006-access-2.interoute.net (212.23.43.214)  6.794 ms * *
 5  xe-3-1-0-0.fra-006-score-1-re0.interoute.net (212.23.42.137)  6.455 ms  6.454 ms  6.445 ms
 6  tge-4-0-0-0a.cr1.fra.routeserver.net (80.81.193.21)  7.716 ms  8.003 ms  7.866 ms
 7  static-ip-85-25-225-148.inaddr.intergenia.de (85.25.225.148)  9.202 ms  7.837 ms  8.202 ms


ipadresse die nicht geht

Code: Select all

traceroute to xx.yy.89.183 (xx.yy.89.183), 30 hops max, 40 byte packets
 1  zh1-cr2.ch-meta.net (80.74.128.14)  0.298 ms  0.493 ms  0.485 ms
 2  zh1-cr3.ch-meta.net (80.74.128.21)  0.234 ms  0.469 ms  0.462 ms
 3  interoute-gig02-cr3.ch-meta.net (80.74.134.9)  0.894 ms  0.887 ms  0.876 ms
 4  PO4-3.fra-006-access-2.interoute.net (212.23.43.214)  6.632 ms * *
 5  xe-3-1-0-0.fra-006-score-1-re0.interoute.net (212.23.42.137)  6.609 ms  6.601 ms  6.591 ms
 6  tge-4-0-0-0a.cr1.fra.routeserver.net (80.81.193.21)  8.068 ms !N  7.635 ms !N  8.213 ms !N
 6  tge-4-0-0-0a.cr1.fra.routeserver.net (80.81.193.21)  8.068 ms !N  7.635 ms !N  8.213 ms !N
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Zusätzliche ip adresse

Post by daemotron »

Sieht so aus, als hätte Dein Provider vergessen, die Route zu Deiner neuen IP auch bei seinen Routern bekannt zu machen. Ich würde insgesamt 24 Stunden warten (kann sein, dass das immer nur 1x am Tag bzw. in der Nacht gemacht wird) und danach mal beim Support am Käfig rütteln.
delirium
Posts: 3
Joined: 2008-11-24 11:16
 

Re: Zusätzliche ip adresse

Post by delirium »

Ja habe ich mir auch gedacht aber dies ist schon 3 tage her. Ich werde da mal eine supportmail senden. ich wusste es doch bei mir klappt nie was auf anhieb. :cry:
Danke für deine unterstützung.