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

Re: Destination Host Unreachable al cambiar IP estática



El día 23 de septiembre de 2009 13:51, debian@mstaaravin.com.ar
<debian@mstaaravin.com.ar> escribió:
> 2009/9/22 Jarley dg <jarley73@gmail.com>:
>> - 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.
>> 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
>> #------------------------------------------------------
>
> Porque esto....?
> Vos sos tu propio gateway.....?
>
>
>> #iNet3  Telecable
>> auto eth3
>> iface eth3 inet static
>>        address 14.15.16.18
>>        netmask
>>        gateway 14.15.16.1
>>        dns-nameservers 212.89.0.31
> Primero, si quieres salir por eth1, no es necesario que pongas un
> gateway en las demas interfacess.
>
> Segundo, por favor configurar como corresponde tu inets, por ejemplo:
> auto eth3
> iface eth3 inet static
>      address 14.15.16.18
>     netmask  255.255.255.128
>     network 14.15.16.0
>     broadcast 14.15.16.127
>
> Y listo, reitero, NO ES NECESARIO colocar un gateway en cada interface
> si pertenecen a la misma red.
>
> --
>
> "La Voluntad es el unico motor de nuestros logros"
> <Mstaaravin />
> http://www.mstaaravin.com.ar/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

Ahi va el tcpdump.

Deleterio:~# tcpdump -vv -i eth0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
20:58:58.731319 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:58:59.209434 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
ICMP (1), length 84) Deleterio > 14.15.16.1: ICMP echo request, id
12304, seq 255, length 64
20:58:59.789174 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789228 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789291 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789353 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789418 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789481 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789581 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789648 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789715 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789782 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789850 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:58:59.789918 00:e0:07:01:fe:33 (oui Unknown) > Broadcast, ethertype
Unknown (0x4744), length 60:
        0x0000:  0100 e007 01fe 33fe f921 d800 4950 2034  ......3..!..IP.4
        0x0010:  3036 2044 5300 0000 0000 0000 0000 0004  06.DS...........
        0x0020:  0000 0001 0000 0000 c0a8 cba0 0301       ..............
20:59:00.193399 arp who-has 14.15.16.1 tell Deleterio
20:59:00.209426 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
ICMP (1), length 84) Deleterio > 14.15.16.1: ICMP echo request, id
12304, seq 256, length 64
20:59:00.730465 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:01.193404 arp who-has 14.15.16.1 tell Deleterio
20:59:01.209436 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
ICMP (1), length 84) Deleterio > 14.15.16.1: ICMP echo request, id
12304, seq 257, length 64
20:59:02.193403 arp who-has 14.15.16.1 tell Deleterio
20:59:02.209432 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
ICMP (1), length 84) Deleterio > 14.15.16.1: ICMP echo request, id
12304, seq 258, length 64
20:59:02.729587 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:03.213403 arp who-has 14.15.16.1 tell Deleterio
20:59:03.458944 arp who-has 14.15.168.237 tell 14.15.168.254
20:59:03.459306 arp who-has 14.15.168.237 tell 14.15.168.254
20:59:04.213404 arp who-has 14.15.16.1 tell Deleterio
20:59:04.728724 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:05.213404 arp who-has 14.15.16.1 tell Deleterio
20:59:05.720617 arp who-has 14.15.168.35 tell 14.15.168.254
20:59:05.721408 arp who-has 14.15.168.35 tell 14.15.168.254
20:59:06.734853 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:07.217406 arp who-has 14.1516.1 tell Deleterio
20:59:08.217402 arp who-has 14.15.16.1 tell Deleterio
20:59:08.726954 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:09.217400 arp who-has 14.15.16.1 tell Deleterio
20:59:10.203984 arp who-has 192.168.203.101 tell mi.dominio.local
20:59:10.726092 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:11.221404 arp who-has 14.15.16.1 tell Deleterio
20:59:12.221400 arp who-has 14.15.16.1 tell Deleterio
20:59:12.725439 STP 802.1w, Rapid STP, Flags [Learn, Forward,
Agreement], bridge-id 8000.00:1e:c1:22:fa:e0.800e, length 43
        message-age 0.00s, max-age 20.00s, hello-time 2.00s,
forwarding-delay 15.00s
        root-id 8000.00:1e:c1:22:fa:e0, root-pathcost 0, port-role Designated
20:59:13.221407 arp who-has 14.15.16.1 tell Deleterio
20:59:13.221669 arp who-has 192.168.203.101 tell mi.dominio.local

1351 packets captured
3178 packets received by filter
1827 packets dropped by kernel

---------------------------------------------------------------
@debian@mstaaravin.com.ar   -  Gracias por la corrección.

Deleterio:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

#Onboard interface eth0
auto eth0
iface eth0 inet static
        address 14.15.16.17
        netmask 255.255.255.128
        network 14.15.16.0
        broadcast 14.15.16.127
        gateway 14.15.16.1
        dns-nameservers 212.89.0.31


#PCI Interface eth1
auto eth1
iface eth1 inet static
        address 192.168.203.99
        netmask 255.255.255.0
        network 192.168.203.0
        broadcast 192.168.203.255
        dns-nameservers 192.168.203.100
-----------------------------------------------------------------------

Deleterio:/etc/network# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
14.15.16.0     *               255.255.255.128 U     0      0        0 eth0
localnet        *               255.255.255.0   U     0      0        0 eth1
-----------------------------------------------------------------------

Bien, he instalado un debian lenny 5.0 desde cero actualizado etc.. le
he puesto otra eth (eth1) para poder escribir en la lista y hacer las
pruebas en este mismo
y tengo conexión a traves de la localnet usando un proxy que tengo en
otro servidor windows el cual sale por esta misma red 14.15.16.1

El servidor anterior le he puesto otra vez la ip de jazztel porque no
podemos estar sin correo, y pues ahi esta funcionando como siempre,
todo bien.

No obstante este linux recien instalado en otro ordenador, tiene el
mismo problema que el servidor que quiero migrar a esta ip, cero
conexion a 14.15.16.1

El escenario ahora mismo es el siguiente.

Router telecable -> switch -> y a este switch tengo conectado:
1- linux recien instalado en otro pc para las pruebas con esta nueva ip.
2- cable a un switch donde tengo los demás servidores. windows/linux

Deleterio:/etc/network# ping 14.15.16.1
PING 14.15.16.1 (14.15.16.1) 56(84) bytes of data.
>From 14.15.16.17 icmp_seq=2 Destination Host Unreachable
>From 14.15.16.17 icmp_seq=3 Destination Host Unreachable
>From 14.15.16.17 icmp_seq=4 Destination Host Unreachable
^C
--- 14.15.16.1 ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6019ms
, pipe 3
----------------------

Deleterio:/etc/network# ping 192.168.203.100
PING 192.168.203.100 (192.168.203.100) 56(84) bytes of data.
64 bytes from 192.168.203.100: icmp_seq=1 ttl=128 time=0.303 ms
64 bytes from 192.168.203.100: icmp_seq=2 ttl=128 time=0.292 ms
64 bytes from 192.168.203.100: icmp_seq=3 ttl=128 time=0.275 ms
^C
--- 192.168.203.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.275/0.290/0.303/0.011 ms
--------------------------------------

salu2 y gracias a todos por las respuestas.

JDG


Reply to: