El vie, 22-02-2008 a las 09:52 +0100, Camaleón escribió:
El 22/02/08, Marco Aurelio Moncada Coello escribió:
Sigue sin funcionar, y no se por que, ustedes lo sabes, o se imaginan.
Lo primero, antes de hacer ninguna prueba de comunicación, sería detener los servicios en los equipos que te dan problemas de conexión ("a" y "z") y luego intentar las conexiones vía ssh entre ambos.
El orden los factores sí altera el producto en este caso :-).
ssh: connect to host moncada port 22: No route to host
Hum... este mensaje sí es importante.
En el primer correo decías que los equipos "x" e "y" alcanzan sin problemas al equipo "a". Saca la información de la configuración de las rutas (route) de "x" (por ejemplo), de la red (ifconfig) y de iptables (iptables -L) para ver si hay alguna discrepancia entre este equipo, que sí llega bien, y el equipo "z", que se traba.
mrco1965@Local54:~$ sudo ifconfig Password: eth0 Link encap:Ethernet HWaddr 00:E0:4C:F5:BD:1B inet dirección:10.71.0.44 Bcast:10.71.0.63 Máscara:255.255.255.224 dirección inet6: fe80::2e0:4cff:fef5:bd1b/64 Alcance:Vínculo ARRIBA BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:47939 errors:0 dropped:0 overruns:0 frame:0 TX packets:29723 errors:0 dropped:0 overruns:0 carrier:0 collisions:53 txqueuelen:1000 RX bytes:61403492 (58.5 MiB) TX bytes:8517408 (8.1 MiB) Interrupción:18 Base address:0xe400 lo Link encap:Bucle local inet dirección:127.0.0.1 Máscara:255.0.0.0 dirección inet6: ::1/128 Alcance:Anfitrión ARRIBA LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:400 (400.0 b) TX bytes:400 (400.0 b) mrco1965@Local54:~$ sudo iptables -L 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 mrco1965@Local54:~$ ssh local55 Password: Password: mrco1965@Local54:~$ ssh root@local55 Password: Password: Last login: Thu Feb 21 21:36:13 2008 from local54 Have a lot of fun... local55:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:16:EC:8D:CF:39 inet addr:10.71.0.45 Bcast:255.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::216:ecff:fe8d:cf39/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1284 errors:0 dropped:0 overruns:0 frame:0 TX packets:978 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:681077 (665.1 Kb) TX bytes:112302 (109.6 Kb) Interrupt:20 Base address:0xe400 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:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1704 (1.6 Kb) TX bytes:1704 (1.6 Kb) local55:~ # iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-IN-ILL-TARGET ' DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING ' Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR ' Chain forward_ext (0 references) target prot opt source destination Chain input_ext (2 references) target prot opt source destination DROP all -- anywhere anywhere PKTTYPE = broadcast ACCEPT icmp -- anywhere anywhere icmp source-quench ACCEPT icmp -- anywhere anywhere icmp echo-request LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:22 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:22 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:53 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:53 ACCEPT udp -- anywhere anywhere udp dpt:22 ACCEPT udp -- anywhere anywhere udp dpt:53 reject_func tcp -- anywhere anywhere tcp dpt:113 state NEW LOG all -- anywhere anywhere limit: avg 3/min burst 5 PKTTYPE = multicast LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' DROP all -- anywhere anywhere PKTTYPE = multicast LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG udp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG all -- anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT-INV ' DROP all -- anywhere anywhere Chain reject_func (1 references) target prot opt source destination REJECT tcp -- anywhere anywhere reject-with tcp-reset REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable local55:~ # exit logout Connection to local55 closed. mrco1965@Local54:~$ ssh root@moncada Password: Last login: Fri Feb 22 06:21:44 2008 from routerwireless Have a lot of fun... moncada:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:14:2A:F3:DD:DB inet addr:10.50.15.100 Bcast:10.50.15.127 Mask:255.255.255.224 inet6 addr: fe80::214:2aff:fef3:dddb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6879 errors:0 dropped:0 overruns:0 frame:0 TX packets:5099 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9262550 (8.8 Mb) TX bytes:881288 (860.6 Kb) Interrupt:18 Base address:0xdc00 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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 b) TX bytes:100 (100.0 b) moncada:~ # iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-IN-ILL-TARGET ' DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING ' Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR ' Chain forward_ext (0 references) target prot opt source destination Chain input_ext (2 references) target prot opt source destination ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:137 ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:138 DROP all -- anywhere anywhere PKTTYPE = broadcast ACCEPT icmp -- anywhere anywhere icmp source-quench ACCEPT icmp -- anywhere anywhere icmp echo-request LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:80 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:80 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:53 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:53 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:445 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:445 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:139 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:139 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:22 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:22 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:21 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:21 LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpts:40000:40500 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpts:40000:40500 ACCEPT udp -- anywhere anywhere udp dpt:22 ACCEPT udp -- anywhere anywhere udp dpt:53 ACCEPT udp -- anywhere anywhere udp dpt:138 ACCEPT udp -- anywhere anywhere udp dpt:137 ACCEPT udp -- anywhere anywhere udp dpt:20 reject_func tcp -- anywhere anywhere tcp dpt:113 state NEW LOG all -- anywhere anywhere limit: avg 3/min burst 5 PKTTYPE = multicast LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' DROP all -- anywhere anywhere PKTTYPE = multicast LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG udp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG all -- anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT-INV ' DROP all -- anywhere anywhere Chain reject_func (1 references) target prot opt source destination REJECT tcp -- anywhere anywhere reject-with tcp-reset REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable moncada:~ # exit logout Connection to moncada closed. mrco1965@Local54:~$ mrco1965@Local54:~$ traceroute 10.50.15.100 traceroute to 10.50.15.100 (10.50.15.100), 30 hops max, 40 byte packets 1 AdslWireLess (10.71.0.33) 0.346 ms 0.332 ms 0.311 ms 2 10.255.255.254 (10.255.255.254) 492.384 ms 1138.195 ms 1205.531 ms 3 10.0.0.1 (10.0.0.1) 1185.042 ms 617.418 ms 621.528 ms 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * mrco1965@Local54:~$ ssh moncada Password: Connection closed by 10.50.15.100 mrco1965@Local54:~$ traceroute 10.71.0.44 traceroute to 10.71.0.44 (10.71.0.44), 30 hops max, 40 byte packets 1 Local54 (10.71.0.44) 0.107 ms 0.068 ms 0.033 ms mrco1965@Local54:~$ traceroute local54 traceroute: Warning: local54 has multiple addresses; using 10.71.0.44 traceroute to Local54 (10.71.0.44), 30 hops max, 40 byte packets 1 Local54 (10.71.0.44) 0.074 ms 0.058 ms 0.034 ms mrco1965@Local54:~$ traceroute local55 traceroute to Local55 (10.71.0.45), 30 hops max, 40 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * mrco1965@Local54:~$ traceroute local74 traceroute: unknown host local74 mrco1965@Local54:~$ traceroute 10.71.0.53 traceroute to 10.71.0.53 (10.71.0.53), 30 hops max, 40 byte packets 1 Local54 (10.71.0.53) 4.518 ms 1.552 ms 0.648 ms mrco1965@Local54:~$ traceroute local52 traceroute to Local52 (10.71.0.42), 30 hops max, 40 byte packets 1 Local52 (10.71.0.42) 1.932 ms 0.345 ms 0.316 ms mrco1965@Local54:~$ ssh moncada Password: Last login: Thu Feb 21 20:34:31 2008 from local54 Have a lot of fun... mrco1965@moncada:~> traceroute local54 -bash: traceroute: command not found mrco1965@moncada:~> su Contraseña: moncada:/home/mrco1965 # yast2 moncada:/home/mrco1965 # exit exit mrco1965@moncada:~> traceroute local54 -bash: traceroute: command not found mrco1965@moncada:~> su Contraseña: moncada:/home/mrco1965 # yast2 moncada:/home/mrco1965 # exit exit mrco1965@moncada:~> traceroute local54 -bash: traceroute: command not found mrco1965@moncada:~> exit logout Connection to moncada closed. mrco1965@Local54:~$ ssh local55 Password: Last login: Thu Feb 21 12:01:44 2008 from local54 Have a lot of fun... mrco1965@local55:~> traceroute moncada -bash: traceroute: command not found mrco1965@local55:~> En mis maquinas que estan en opensuse 10.3, no pude instalar el traceroute. Lo busque en yast2, instale todo lo que me presento pero aun asi dice que no existe el comando. mrco1965@Local54:~$ ssh local74 mrco1965@local74's password: [mrco1965@Local74 mrco1965]$ traceroute local54 traceroute: unknown host local54 [mrco1965@Local74 mrco1965]$ traceroute 10.71.0.44 traceroute to 10.71.0.44 (10.71.0.44), 30 hops max, 38 byte packets 1 Local44 (10.71.0.44) 1.726 ms 0.859 ms 0.791 ms [mrco1965@Local74 mrco1965]$ traceroute 10.71.0.42 traceroute to 10.71.0.42 (10.71.0.42), 30 hops max, 38 byte packets 1 * * [mrco1965@Local74 mrco1965]$ traceroute 10.71.0.41 traceroute to 10.71.0.41 (10.71.0.41), 30 hops max, 38 byte packets 1 Local74 (10.71.0.53) 2999.724 ms !H 2995.244 ms !H 2999.582 ms !H [mrco1965@Local74 mrco1965]$ traceroute 10.71.0.45 traceroute to 10.71.0.45 (10.71.0.45), 30 hops max, 38 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * [mrco1965@Local74 mrco1965]$ Por que, no puedo ver la local55, desde local74, ni moncada. Envio el dibujo de la estructura. De la local75 a local54 no se ven, pero eso no he visto nada. Y ahi si pasa por el router linksys inalambrico, aun que la local75 esta conectada por cable. Pero no he visto nada, por el momento.
Saludos,
-- Te invito a que visites mi pagina. http://www.i-moncads-s.co.cc http://www.marco-a-moncada.co.cc En el curso de la vida, suceden muchas cosas extraordinarias, de las cuales hay que siempre aprovechar a su máximo. La vida, debes de verla con los mejores ojos, y nunca guardar rencores, por que, eso te envejece. Vive la vida, con una sonrisa, es mas reírte de ti mismo, cuando encuentran un error en tus pasos. Marco Aurelio Moncada Coello Calle Francisco Lozada Chavèz, numero 20, local 5. Atizapan de Zaragoza, Estado de México México, 044-55-1920-2224, 011-521-551920-2224 :D