Buenas
Uso GNU/Linux, distribución Kubuntu 9.04 en una laptop HP Pavilion serie dv2000. Como es de esperarse, la laptop tienen una tarjeta inalámbrica.
Resulta que para el trabajo necesito conectarme a una red interna (10.39.x.x) por ethernet, pero para salir a internet quiero conectarme por Wifi que es independiente de la red esta.
Por ethernet necesito IP estática, la Wifi me da IP dinámica. Para conectarme por ethernet modifico manualmente el archivo /etc/networking/interfaces, para el Wifi lo hago mediante el network manager del sistema (selecciono y coloco clave, no más).
En teoría tengo todo bien, pero resulta que no puedo acceder a todas las máquinas de la red, no encuentro por qué. ¿alguien podría darme una pista?.
Código:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.39.1.35
netmask 255.255.0.0
network 10.39.0.0
broadcast 10.39.255.255
gateway 10.39.1.254
Código:
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:d3:ac:19:ae
inet addr:10.39.1.35 Bcast:10.39.255.255 Mask:255.255.0.0
inet6 addr: fe80::216:d3ff:feac:19ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342776 errors:0 dropped:0 overruns:0 frame:0
TX packets:6193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:39094073 (39.0 MB) TX bytes:2109007 (2.1 MB)
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:5349 errors:0 dropped:0 overruns:0 frame:0
TX packets:5349 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2553764 (2.5 MB) TX bytes:2553764 (2.5 MB)
wlan0 Link encap:Ethernet HWaddr 00:1b:77:ae:ef:bb
inet addr:192.168.1.77 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:77ff:feae:efbb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65869 errors:0 dropped:0 overruns:0 frame:0
TX packets:52657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:74752287 (74.7 MB) TX bytes:7794653 (7.7 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-1B-77-AE-EF-BB-66-62-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Llevo semanas trabajando así sin problemas ... pero hoy detecté algunas máquinas que no puedo ver pero que si me conecto a otra sí que responden ... ¿?
Espero poder explicarlo con esta secuencia de comandos:
- Hago ping a algunas máquinas con diferentes sectores, todas responden. Hago ping a la 10.39.24.201 y no responde, pero me conecto por ssh a otra máquina de mi mismo sector y sí que responde.
Código:
$ ping 10.39.1.72
PING 10.39.1.72 (10.39.1.72) 56(84) bytes of data.
64 bytes from 10.39.1.72: icmp_seq=1 ttl=64 time=0.804 ms
64 bytes from 10.39.1.72: icmp_seq=2 ttl=64 time=0.179 ms
^C
--- 10.39.1.72 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.179/0.491/0.804/0.313 ms
$ ping 10.39.2.1
PING 10.39.2.1 (10.39.2.1) 56(84) bytes of data.
64 bytes from 10.39.2.1: icmp_seq=1 ttl=63 time=7.31 ms
64 bytes from 10.39.2.1: icmp_seq=2 ttl=63 time=0.245 ms
^C
--- 10.39.2.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.245/3.781/7.317/3.536 ms
$ ping 10.39.101.201
PING 10.39.101.201 (10.39.101.201) 56(84) bytes of data.
64 bytes from 10.39.101.201: icmp_seq=1 ttl=63 time=2.84 ms
64 bytes from 10.39.101.201: icmp_seq=2 ttl=63 time=0.460 ms
^C
--- 10.39.101.201 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.460/1.653/2.846/1.193 ms
$ ping 10.39.24.201
PING 10.39.24.201 (10.39.24.201) 56(84) bytes of data.
From 10.39.1.35 icmp_seq=1 Destination Host Unreachable
From 10.39.1.35 icmp_seq=2 Destination Host Unreachable
From 10.39.1.35 icmp_seq=3 Destination Host Unreachable
^C
--- 10.39.24.201 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3006ms
, pipe 3
$ ssh 10.39.1.198
10.39.1.198's password:
Linux chinche 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Wed Aug 19 17:40:43 2009 from 10.39.1.35
10.39.1.198:~$ ping 10.39.24.201
PING 10.39.24.201 (10.39.24.201) 56(84) bytes of data.
64 bytes from 10.39.24.201: icmp_seq=1 ttl=61 time=29.2 ms
64 bytes from 10.39.24.201: icmp_seq=2 ttl=61 time=71.0 ms
^C
--- 10.39.24.201 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 29.208/50.141/71.074/20.933 ms
El contenido del archivo interfaces es el mismo entre las máquinas ... ¿qué puede ser?

.