Destination Host Is Unreachable

MichaelK

Member
Dec 8, 2018
2
0
6
55
I am a Proxmox and networking newb. I'm hoping someone could help me with the configuration for my first client, Ubuntu Server 16, install.

From the VM console I do not seem to be able to successfully ping the gateway, the host, or 8.8.8.8. 'Destination host is unreachable' is always the message returned.

Here are the host /etc/network/interfaces, the client /etc/network/interface, and the client /etc/hosts. Any ideas would be much appreciated.
 
I am a Proxmox and networking newb. I'm hoping someone could help me with the configuration for my first client, Ubuntu Server 16, install.

From the VM console I do not seem to be able to successfully ping the gateway, the host, or 8.8.8.8. 'Destination host is unreachable' is always the message returned.

Here are the host /etc/network/interfaces, the client /etc/network/interface, and the client /etc/hosts. Any ideas would be much appreciated.

Host /etc/network/interfaces


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens1f0
auto enslf0
iface ens1f0 inet static
address 216.244.86.250
netmask 255.255.255.248
gateway 216.244.86.249
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
#dns-search 27469
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp


auto vmbr1
iface vmbr1 inet static
address 216.244.86.251
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0


auto vmbr2
iface vmbr2 inet static
address 216.244.86.252
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0


auto vmbr3
iface vmbr3 inet static
address 216.244.86.253
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0


-----------------------------------------------------------------------------

Client etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ens18
iface ens18 inet static
address 216.244.86.251
netmask 255.255.255.248
network 216.244.86.248
broadcast 216.244.86.255
gateway 216.244.86.249

dns-nameservers 216.244.86.249
dns-search propomaha.com

-----------------------------------------------------------------------------

Client Etc/Hosts

127.0.0.1 Localhost
216.244.86.251 Ubuntu.Propomaha.Com Ubuntu

# The Following Lines Are Desirable For Ipv6 Capable Hosts
::1 Localhost Ip6-Localhost Ip6-Loopback
Ff02::1 Ip6-Allnodes
Ff02::2 Ip6-Allrouters
 
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp
* why would you need proxy_arp?
* usually you don't configure an ip on the ethernet interface, but create a bridge, add the NIC as a port to the bridge, and configure the IP on the bridge
* you don't need to create one bridge per guest, but add the guest's nic to the bridge
* you don't configure the same IP on the host and the guest

a linux bridge is like a virtual switch

check our reference documentation: https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_configuration
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!