LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2019, 10:52 AM   #1
entwere
LQ Newbie
 
Registered: Jun 2019
Posts: 1

Rep: Reputation: Disabled
Unhappy Box has no network connectivity and ping gives Destination Host Unreachable


Hey, I'm hoping someone could help me as I'm quite new to Ubuntu and Linux in general.

I have Ubuntu box rented and I logged on the other day to discover there were DNS resolution issues so I followed the instructions here; https://stackoverflow.com/questions/...ame-resolution however after this the network did not appear to come back up. When I logged in over KVM, Netplan appears to have reset the /etc/netplan/01-netcfg.yaml. I've got the following information from my host;

Code:
IP	        Gateway	        Subnet	        Custom MAC
199.127.61.221	199.127.61.1	255.255.255.0	-
172.93.101.15	172.93.101.1	255.255.255.0	-
I have the following YAML configuration;

Code:
network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s25:
      addresses: [ 199.127.61.221/24, 172.93.101.15/24 ]
      gateway4: 199.127.61.1
      nameservers:
        addresses: [ 1.1.1.1, 1.0.0.1 ]
        search: [ dylanw.net ]
Since I can only access the box over KVM, I've got this by flicking between windows so although I've double checked it, it might have some small issues but netplan apply doesn't show any errors.

I can't ping anything, ping 8.8.8.8 gives

Here is the output of some commands; https://imgur.com/a/i2YuUTO

ping google.com gives Temporary failure in name resolution and ping 8.8.8.8 gives Destination Host Unreachable

Sorry if I've left out some important information, I've tried to get what I know will be needed I can give more information if that's needed.

Thanks in advance!
 
Old 07-01-2019, 12:22 AM   #2
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, Kali Linux, Raspbian
Posts: 166

Rep: Reputation: 10
first of all, ping your router 199.127.61.1. If it is pingable then try "traceroute -d 8.8.8.8 ". you will find where the packet is dropping.

You may need to check on router once it is reachable from Ubuntu box :

1. Check routers subnet mask
2. check firewall/ACL configuration on the router
3. check internet access from the router (by pinging 8.8.8.8)
 
Old 07-12-2019, 02:37 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
The default route might miss.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping to Honeyd virtual host replying Destination Host Unreachable Doejohn Linux - Networking 2 12-22-2023 10:43 AM
iptables - Reply Forwarding Error / Destination unreachable (Host unreachable) keflex87 Linux - Networking 1 05-12-2015 12:03 AM
Network is Unreachable/Unknown host/Destination Host Unreachable [Debian] denv Linux - Networking 4 03-27-2014 02:58 PM
[SOLVED] Pinging local machines gives "Destination host unreachable" Snark1994 Linux - Networking 12 06-20-2011 10:03 AM
Destination HOST Unreachable - cannot ping gateway rpkosuri Linux - Networking 5 06-16-2008 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration