Juanb, can you please also post /etc/hosts?
You should find at least 2 entries:
*the definition of 127.0.0.1 as "localhost"
*the definition of 192.168.1.9 as "juanbox" (if that's the name of your machine)
Originally Posted by juanb
nameserver 22.214.171.124 (the dns of my isp)
Judging by your /etc/resolv.conf, you are contacting your own host (127.0.0.1 is
the loopback address for your machine) as primary DNS nameserver.
If your machine is indeed a DNS server, than this is OK (but you may want to check your
DNS configuration). If not, omit the line that contains "127.0.0.1" from /etc/resolv.conf.
Note also that only DNS servers may be listed as "nameserver" in /etc/resolv.conf.
If your network gateway is just a router/firewall (no DNS server), then you also need
to omit the line with "192.168.1.1" from /etc/resolv.conf.
In any case, DNS and your /etc/resolv.conf are not used when you ping to an IP-address (only
when you use a hostname, since DNS just translates hostnames to IP-addresses). So they can't be responsible for the "destination host unreachable".
You may also want to check if there are any firewalls preventing access to your gateway (192.168.1.1) (I mean, on your machine, the gateway or anywhere inbetween on the network).
They may need to be reconfigured.