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

Destination Host Unreachable al cambiar IP estática



Hola lista:

Hoy luego de cambiar la ip estática de mi Debian Lenny 5.0.3 a otra,
no logro volver a establecer conexión con el mundo exterior -_-" ....

Que he intentado y no funciona :

- Revisado los archivos de configuración 847539857394375934 veces y
asumo que están bien.
- Poner la ip estática anterior  y nada.
- Poner el cable de red del servidor el solito directo a un switch,
también a un hub y luego al router y también del server al router
directamente y nada
- No tengo iptables ni ningún firewall
- Ping al router - Destination Host Unreachable
- Ping a otro ordenador con IP estática en la misma red , Destination
Host Unreachable
- Cables probados, tarjetas de red probadas con lspci que están
funcionando, quito y pongo el cable de red y obtengo mensaje en
consola de connect y desconnect.

Lo que funciona :

Ping al nombre de mi server, funciona (DNS Ok)
Ping a las 3 tarjetas de red que tiene dicho server, funciona
Ping desde otro ordenador con windows y con IP estática en la misma
red a mi servidor, responde el ping pero con fallos
aleatorios. 3 recibidos 1 fallo, 4 fallos 1 recibidos, etc...
Poner la IP de este linux en otro servidor Windows, funciona, navega y
ve el router.

Archivos de configuración :

cat /etc/resolv.conf
domain midominio.es
nameserver 127.0.0.1
nameserver 192.168.203.200
nameserver ip.de.mi.servidor
nameserver 212.89.0.31  <--- dns telecable

----------------------------------------------------------------
cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
#-----------------------------------------------------
#iNet1 Telecable
auto eth1
iface eth1 inet static
        address 14.15.16.17
        netmask 255.255.255.128
        gateway 14.15.16.1
        dns-nameservers 212.89.0.31
#-----------------------------------------------------
#LAN network
auto eth2
iface eth2 inet static
        address 192.168.203.200
        netmask 255.255.255.0
        gateway 192.168.203.200
        dns-nameservers 192.168.203.200
#------------------------------------------------------
#iNet3  Telecable
auto eth3
iface eth3 inet static
        address 14.15.16.18
        netmask 255.255.255.128
        gateway 14.15.16.1
        dns-nameservers 212.89.0.31
----------------------------------------------------------
:~/scripts# ifconfig
eth1      Link encap:Ethernet  HWaddr XXXXXXXXXX
          inet addr:14.15.16.17  Bcast:XXXXXXX  Mask:255.255.255.128
          inet6 addr: xxxxxxxxxxxxxxxxxxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3355 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1394514 (1.3 MiB)  TX bytes:177980 (173.8 KiB)

eth2      Link encap:Ethernet  HWaddr 00:04:23:88:b8:b5
          inet addr:192.168.203.200  Bcast:192.168.203.255  Mask:255.255.255.0
          inet6 addr: fe80::204:23ff:fe88:b8b5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24911 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15082 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5565249 (5.3 MiB)  TX bytes:12895177 (12.2 MiB)

eth3      Link encap:Ethernet  HWaddr xxxxxxxxxxxxxxxxx
          inet addr:14.15.16.18  Bcast:XXXXXXXXX  Mask:255.255.255.128
          inet6 addr: xxxxxxxxxxxxxxxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22744 errors:0 dropped:0 overruns:1 frame:0
          TX packets:4353 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2695945 (2.5 MiB)  TX bytes:296180 (289.2 KiB)
          Interrupt:21 Base address:0x2000

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

-----------------------------------------
:~/scripts# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
14.15.16.17     *               255.255.255.128 U     0      0        0 eth3
14.15.16.18     *               255.255.255.128 U     0      0        0 eth1
192.168.203.0   *               255.255.255.0   U     0      0        0 eth2

entonces hago :

route add default gw 14.15.16.1 dev eth1

:~/scripts# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
14.15.16.17     *               255.255.255.128 U     0      0        0 eth3
14.15.16.18     *               255.255.255.128 U     0      0        0 eth1
192.168.203.0   *               255.255.255.0   U     0      0        0 eth2
default         14.15.16.1   0.0.0.0         UG    0      0        0 eth1

:~/scripts# ping 14.15.16.1
PING 14.15.16.1 (14.15.16.1) 56(84) bytes of data.
>From 14.15.16.18 icmp_seq=10 Destination Host Unreachable
>From 14.15.16.18 icmp_seq=11 Destination Host Unreachable
>From 14.15.16.18 icmp_seq=12 Destination Host Unreachable
^C
--- 14.15.16.1 ping statistics ---
13 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12013ms
, pipe 3

:~/scripts# ping www.google.es
ping: unknown host www.google.es

--------------------------------------------------------------------------
Sinceramente o estoy muy saturado y es una tonteria como siempre
o tengo estudiar mas pq no veo por ningún lado que falla o que me
falta por cambiar...

Gracias por adelantado por la ayuda.

salu2  JDG


Reply to: