Perdida de paquetes a la red interna
Buenas....
Me ocurre algo extraño con la conexión a determinadas maquinas de
mi red ( Tanto MS como GNU/linux) y no me pasa con internet ( el router)
######### Router
--- 192.168.120.216 ping statistics ---
123 packets transmitted, 123 received, 0% packet loss, time 122002ms
rtt min/avg/max/mdev = 0.615/0.679/0.904/0.045 ms
######### Dns terra por ip
--- 195.235.113.3 ping statistics ---
57 packets transmitted, 57 received, 0% packet loss, time 56075ms
rtt min/avg/max/mdev = 42.530/78.492/784.084/139.174 ms
######### Ping a www.google.es
--- www.l.google.com ping statistics ---
69 packets transmitted, 69 received, 0% packet loss, time 480143ms
rtt min/avg/max/mdev = 63.151/68.214/71.530/2.217 ms
-Mi maquina es un debian/squeeze
Se me desconectaba la sesión ssh ( también vía web) al poco de
entrar, así que empece a hacer pruebas y veo que es porque pierdo
paquetes en la red interna
############# Pruebas de ping
root@jmramirezmachine:/home/jmramirez# ping 192.168.120.55
PING 192.168.120.55 (192.168.120.55) 56(84) bytes of data.
64 bytes from 192.168.120.55: icmp_req=6 ttl=64 time=0.134 ms
64 bytes from 192.168.120.55: icmp_req=7 ttl=64 time=0.143 ms
64 bytes from 192.168.120.55: icmp_req=8 ttl=64 time=0.153 ms
64 bytes from 192.168.120.55: icmp_req=9 ttl=64 time=0.157 ms
64 bytes from 192.168.120.55: icmp_req=10 ttl=64 time=0.142 ms
64 bytes from 192.168.120.55: icmp_req=11 ttl=64 time=0.135 ms
64 bytes from 192.168.120.55: icmp_req=12 ttl=64 time=0.146 ms
64 bytes from 192.168.120.55: icmp_req=13 ttl=64 time=0.158 ms
64 bytes from 192.168.120.55: icmp_req=14 ttl=64 time=0.155 ms
64 bytes from 192.168.120.55: icmp_req=15 ttl=64 time=0.146 ms
64 bytes from 192.168.120.55: icmp_req=16 ttl=64 time=0.147 ms
64 bytes from 192.168.120.55: icmp_req=17 ttl=64 time=0.138 ms
64 bytes from 192.168.120.55: icmp_req=18 ttl=64 time=0.132 ms
64 bytes from 192.168.120.55: icmp_req=19 ttl=64 time=0.147 ms
64 bytes from 192.168.120.55: icmp_req=20 ttl=64 time=0.167 ms
64 bytes from 192.168.120.55: icmp_req=21 ttl=64 time=0.277 ms
64 bytes from 192.168.120.55: icmp_req=22 ttl=64 time=0.138 ms
^C
--- 192.168.120.55 ping statistics ---
34 packets transmitted, 17 received, 50% packet loss, time 33079ms
rtt min/avg/max/mdev = 0.132/0.153/0.277/0.035 ms
##############
--- 192.168.120.55 ping statistics ---
139 packets transmitted, 61 received, 56% packet loss, time 138062ms
rtt min/avg/max/mdev = 0.127/0.168/1.347/0.154 ms
##############
--- 192.168.120.55 ping statistics ---
4025 packets transmitted, 1242 received, 69% packet loss, time 4025274ms
rtt min/avg/max/mdev = 0.121/0.152/3.210/0.088 ms
##############
--- 192.168.120.55 ping statistics ---
106 packets transmitted, 39 received, 63% packet loss, time 105038ms
rtt min/avg/max/mdev = 0.130/0.155/0.295/0.027 ms
##############
Pensando que era problemas de la tarjeta de red (en placa), me
puse a usar la otra tarjeta ( pci), dando las pruebas el mismo
resultado. No tengo ningun tipo de FW ni reglas creadas:
##############
root@jmramirezmachine:/home/jmramirez# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
##############
Para seguir con la batería de pruebas, arranco con un livecd ( solo
tenia a mano un mint) y las pruebas son todas correctas, no pierde
ningún paquete en las ip's internas e internet sigue funcionando
correctamente.
Por "casualidades de la vida" deje un ARping a la .55 "olvidado sin
querer" y al realizar las pruebas de nuevo de ping me daban todas
correctas ( en mi sistema squeeze). Cuando me di cuenta de que no
fallaban por el arping, casi me corto las venas.... XD
########## ARping
--- 192.168.120.55 statistics ---
502 packets transmitted, 502 packets received, 0% unanswered (0 extra)
root@jmramirezmachine:/home/jmramirez#
########## Ping mientras estaba el arping
--- 192.168.120.55 ping statistics ---
502 packets transmitted, 502 received, 0% packet loss, time 500998ms
rtt min/avg/max/mdev = 0.133/0.158/0.282/0.024 ms
Pero en cuando paro el arping y vuelvo a ejecutar el ping a "secas"
me sigue fallando.
No tengo mucha idea de redes, no he encontrado ( supongo que por no
saber hacer la pregunta o que preguntar :S) en google nada. Creo que
puede resultar de ayuda el listado arp:
######### Arp
root@jmramirezmachine:/home/jmramirez# arp -vn
Address HWtype HWaddress Flags
Mask Iface
192.168.120.216 ether 00:23:f8:be:fa:7b
C eth1
192.168.120.54 ether 00:10:75:06:3d:c8
C eth1
192.168.120.232 ether 00:11:25:a4:6d:c9
C eth1
192.168.120.20 ether 00:1b:78:e2:a1:3c
C eth1
192.168.120.55 ether 00:13:8f:db:88:8b
C eth1
Entries: 5 Skipped: 0 Found: 5
Muchas gracias por leer todo este "tocho"..... espero que se me
entienda y que no falten datos. ¿Alguna idea? no veo nada raro en
"/var/log/messages".
Mas datos de mi maquina:
root@jmramirezmachine:/home/jmramirez# dmesg | grep eth1
[ 0.935007] eth1: RealTek RTL8139 at 0xe800, 00:00:1c:d7:1f:50, IRQ 18
[ 26.993828] eth1: link up, 100Mbps, full-duplex, lpa 0x41E1
root@jmramirezmachine:/home/jmramirez# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
root@jmramirezmachine:/home/jmramirez# uname -a && cat /etc/debian_version
Linux jmramirezmachine 2.6.32-5-686 #1 SMP Thu Aug 12 13:38:27 UTC 2010
i686 GNU/Linux
squeeze/sid
Un saludo
--
"This is Unix-Land. In quiet nights, you can hear the Windows machines reboot"
No me envie correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
Reply to: