ich konfiguriere einen Server mit mehreren ips auf einer eth
seit kurzem habe ich folgende probleme
- Gateway vom Rootserver nicht anpingbar,
jedoch ist eine ssh/sftp verbindung nach einer minute möglich
bei den vserver eth0:1 bis eth0:4 funkt alles
arp auf den gw vom rootserver funkt auch
Code: Alles auswählen
# arp xxx.XXX.xxx.73
Address HWtype HWaddress Flags Mask Iface
xxx.XXX.xxx.73 ether 00:02:85:0E:BC:40 C eth0
Code: Alles auswählen
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.XXX.xxx.72
broadcast xxx.XXX.xxx.79
netmask 255.255.255.248
gateway xxx.XXX.xxx.73
auto eth0:0
iface eth0:0 inet static
address xxx.XXX.xxx.74
netmask 255.255.255.248
auto eth0:1
iface eth0:1 inet static
address xxx.XXX.xxx.75
netmask 255.255.255.248
auto eth0:2
iface eth0:2 inet static
address xxx.XXX.xxx.76
netmask 255.255.255.248
auto eth0:3
iface eth0:3 inet static
address xxx.XXX.xxx.77
netmask 255.255.255.248
auto eth0:4
iface eth0:4 inet static
address xxx.XXX.xxx.78
netmask 255.255.255.248
# default route to access subnet
up route add -net xxx.XXX.xxx.72 netmask 255.255.255.248 gw xxx.XXX.xxx.73 eth0
Code: Alles auswählen
# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFFLAGS: Cannot assign requested address
Failed to bring up eth0:2.
done.
Code: Alles auswählen
# ping xxx.XXX.xxx.73
PING xxx.XXX.xxx.73 (xxx.XXX.xxx.73) 56(84) bytes of data.
--- xxx.XXX.xxx.73 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 4999ms
Code: Alles auswählen
# vserver vs3 enter
vs3:/# ping xxx.XXX.xxx.73
PING xxx.XXX.xxx.73 (xxx.XXX.xxx.73) 56(84) bytes of data.
64 bytes from xxx.XXX.xxx.73: icmp_seq=1 ttl=255 time=180 ms
64 bytes from xxx.XXX.xxx.73: icmp_seq=2 ttl=255 time=0.272 ms
64 bytes from xxx.XXX.xxx.73: icmp_seq=3 ttl=255 time=0.310 ms
64 bytes from xxx.XXX.xxx.73: icmp_seq=4 ttl=255 time=0.283 ms
--- xxx.XXX.xxx.73 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.272/45.298/180.328/77.959 ms
Code: Alles auswählen
# ping xxx.XXX.xxx.76
PING xxx.XXX.xxx.76 (xxx.XXX.xxx.76) 56(84) bytes of data.
64 bytes from xxx.XXX.xxx.76: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from xxx.XXX.xxx.76: icmp_seq=2 ttl=64 time=0.026 ms
64 bytes from xxx.XXX.xxx.76: icmp_seq=3 ttl=64 time=0.019 ms
--- xxx.XXX.xxx.76 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.019/0.027/0.036/0.007 ms
Code: Alles auswählen
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.XXX.xxx.72 xxx.XXX.xxx.73 255.255.255.248 UG 0 0 0 eth0
xxx.XXX.xxx.72 0.0.0.0 255.255.255.248 U 0 0 0 eth0
0.0.0.0 xxx.XXX.xxx.73 0.0.0.0 UG 0 0 0 eth0
Code: Alles auswählen
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:DB:F8:C7:59
inet addr:xxx.XXX.xxx.72 Bcast:xxx.XXX.xxx.79 Mask:255.255.255.248
inet6 addr: fe80::219:dbff:fef8:c759/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12566095 errors:0 dropped:0 overruns:0 frame:0
TX packets:7725691 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16445944708 (15.3 GiB) TX bytes:1513545113 (1.4 GiB)
Interrupt:217 Base address:0xc000
eth0:0 Link encap:Ethernet HWaddr 00:19:DB:F8:C7:59
inet addr:xxx.XXX.xxx.74 Bcast:xxx.XXX.xxx.79 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:217 Base address:0xc000
eth0:1 Link encap:Ethernet HWaddr 00:19:DB:F8:C7:59
inet addr:xxx.XXX.xxx.75 Bcast:xxx.XXX.xxx.79 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:217 Base address:0xc000
eth0:3 Link encap:Ethernet HWaddr 00:19:DB:F8:C7:59
inet addr:xxx.XXX.xxx.77 Bcast:xxx.XXX.xxx.79 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:217 Base address:0xc000
eth0:4 Link encap:Ethernet HWaddr 00:19:DB:F8:C7:59
inet addr:xxx.XXX.xxx.78 Bcast:xxx.XXX.xxx.79 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:217 Base address:0xc000
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:147474 errors:0 dropped:0 overruns:0 frame:0
TX packets:147474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17063818 (16.2 MiB) TX bytes:17063818 (16.2 MiB)
dieses problem entstand nach dem ich meinen serverhouser darüber informiert hatte, daß ich nicht alle ips auf längere zeit hochfahren kann
also ifup eth0:1 bis 4
und nach 5 minuten waren nur mehr eth0, eth0:0 und th0:1
mit der xxx.XXX.xxx.76 hats was
nach der supportanfrage wurde meine ssh connection zum rootserver unterbrochen.
ich konnte mich dann über eine der vserver ips zum rootserver verbinden
nach einem /etc/init.d/networking restart war die rootserver ip xxx.XXX.xxx.74 wieder da
freu mich auf Tips und Trix
MfG
Andreas