ManicalEngineer
Posts: 14
Joined: Tue Feb 23, 2016 5:13 pm

Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 3:41 pm

Thanks in advance,

I can ping google.com and get a response, however when I ping 8.8.8.8 i get "Destination Host Unreachable"

I'm not even sure where to start. I have another pi that works fine on the same network.

Anyone have any advice?

Thanks,

Sean

User avatar
B.Goode
Posts: 8058
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 3:52 pm

I'm not even sure where to start.

Start by providing some basic information to give volunteer helpers a chance to assist...

What model of RPi?

What Operating System?

What mode of network connection - WiFi or cabled?

Any information about the local network. At home, as part of a domestic broadband Internet service, or something in an office/business or school/college/Uni?

A recent problem, or something that has never worked?

Any changes you have made to a 'standard' operating system installation?

ManicalEngineer
Posts: 14
Joined: Tue Feb 23, 2016 5:13 pm

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 4:04 pm

Model: Raspberry Pi B+
OS: Raspbian GNU/Linux
Connected Via Wifi
Home Network, Wifi router connected to cable modem
Recent problem, previously ran as an in-home web sever for a django site
No changes to the standard system

Thanks!

User avatar
DougieLawson
Posts: 35594
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 5:05 pm

I'll assume it's a 2018 3B+ not a 2014 B+.

Can you ping bbc.co.uk and ping 151.101.192.81?
Can you ping 8.8.4.4?
Does https://google.com/ work in a web browser?

Have you activated any firewall?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ManicalEngineer
Posts: 14
Joined: Tue Feb 23, 2016 5:13 pm

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 5:36 pm

Actually is it a 2014 B+ you'd think if I'd been buying pis this long I'd have a clue right? lol

I can ping bbc.co.uk but not 151.101.192.81
I cannot ping 8.8.4.4
I can browse to google.com

No firewall

User avatar
DougieLawson
Posts: 35594
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 5:59 pm

That makes no sense whatsoever. Is your network exclusively IPv6?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
rpdom
Posts: 14770
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 6:01 pm

Can you post the full output of the ping bbc.co.uk please. It might give a clue.

What I get is:

Code: Select all

pi@raspberrypi:~ $ ping -c 1 bbc.co.uk
PING bbc.co.uk (151.101.0.81) 56(84) bytes of data.
64 bytes from 151.101.0.81 (151.101.0.81): icmp_seq=1 ttl=58 time=16.6 ms

--- bbc.co.uk ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 16.634/16.634/16.634/0.000 ms

ManicalEngineer
Posts: 14
Joined: Tue Feb 23, 2016 5:13 pm

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 6:06 pm

Code: Select all


PING bbc.co.uk(2a04:4e42:600::81 (2a04:4e42:600::81)) 56 data bytes
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=1 ttl=56 time=28.9 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=2 ttl=56 time=31.2 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=3 ttl=56 time=29.3 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=4 ttl=56 time=30.0 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=5 ttl=56 time=30.6 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=6 ttl=56 time=38.0 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=7 ttl=56 time=31.7 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=8 ttl=56 time=30.9 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=9 ttl=56 time=29.7 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=10 ttl=56 time=30.0 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=11 ttl=56 time=29.4 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=12 ttl=56 time=30.2 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=13 ttl=56 time=29.5 ms
64 bytes from 2a04:4e42:600::81 (2a04:4e42:600::81): icmp_seq=14 ttl=56 time=29.1 ms
^C
--- bbc.co.uk ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13020ms
rtt min/avg/max/mdev = 28.929/30.661/38.083/2.215 ms

User avatar
rpdom
Posts: 14770
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Cant ping 8.8.8.8 get "Destination Host Unreachable"

Sat Jun 15, 2019 6:39 pm

It looks like Doug was right. You're only using IPv6, so pinging an IPv4 address isn't going to work.

Return to “Troubleshooting”