[Solved] Guest <=> Host Cannot Ping (Ubuntu Host and Guest)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
heyraffaello
Posts: 3
Joined: 22. Sep 2016, 18:50
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu 18.04, Windows Server 2012 R2, Windows 10

[Solved] Guest <=> Host Cannot Ping (Ubuntu Host and Guest)

Post by heyraffaello »

This is a relatively sudden problem as the issue appeared after a host system restart recently.

Host: Ubuntu 16.04.1 LTS
VirtualBox: 5.0.26
Guests: Ubuntu 16.04.1 LTS (2), Windows 10 Desktop, Windows Server 2012 R2 (all have GuestAdditions installed).

Really, this is only an issue for one of the Ubuntu guest servers that I am using as a web server which needs to forward a subdomain to the host for remote administration. The issue does not appear to be firewall related as the firewall is currently disabled on both the host and guest. The host machine is running an IEEE 802.3ad Dynamic link aggregation (4 interfaces on 2 nics) on bond0, and had been before the issue came up. All of the guests are running bridged connections. Here is some relevant info:

Host ifconfig (ipv6 is disabled):

Code: Select all

bond0     Link encap:Ethernet  HWaddr 14:fe:b5:c8:70:76  
          inet addr:192.168.1.80  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
          RX packets:143316 errors:0 dropped:21 overruns:0 frame:0
          TX packets:53667 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:162887524 (162.8 MB)  TX bytes:60901030 (60.9 MB)

eno1      Link encap:Ethernet  HWaddr 14:fe:b5:c8:70:76  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:2982 errors:0 dropped:11 overruns:0 frame:0
          TX packets:45030 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1901758 (1.9 MB)  TX bytes:56471245 (56.4 MB)

eno2      Link encap:Ethernet  HWaddr 14:fe:b5:c8:70:76  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:1071 errors:0 dropped:17 overruns:0 frame:0
          TX packets:5542 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:134703 (134.7 KB)  TX bytes:2500552 (2.5 MB)

eno3      Link encap:Ethernet  HWaddr 14:fe:b5:c8:70:76  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:29203 errors:0 dropped:14 overruns:0 frame:0
          TX packets:958 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3448725 (3.4 MB)  TX bytes:349440 (349.4 KB)

eno4      Link encap:Ethernet  HWaddr 14:fe:b5:c8:70:76  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:110060 errors:0 dropped:19 overruns:0 frame:0
          TX packets:2137 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:157402338 (157.4 MB)  TX bytes:1579793 (1.5 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:136294 errors:0 dropped:0 overruns:0 frame:0
          TX packets:136294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:73987556 (73.9 MB)  TX bytes:73987556 (73.9 MB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.1  P-t-P:10.8.0.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP 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:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

virbr0    Link encap:Ethernet  HWaddr 52:54:00:8a:37:29  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST 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)
Host /etc/network/interfaces

Code: Select all

  GNU nano 2.5.3                   File: /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

auto eno1
iface eno1 inet manual
bond-master bond0
#bond-primary eno1

auto eno2
iface eno2 inet manual
bond-master bond0

auto eno3
iface eno3 inet manual
bond-master bond0

auto eno4
iface eno4 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 192.168.1.80
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 8.8.8.8 8.8.4.4
#bonding protocol
bond-mode 4
bond-miimon 100
bond-lcap-rate 1
bond-slaves eno1 eno2 eno3 eno4
post-up ifconfig eno1 mtu 9000 && ifconfig eno2 mtu 9000 && ifconfig eno3 mtu 9000 && ifconfig eno4 mtu 9000 $
mtu 9000
Guest ifconfig:

Code: Select all

enp0s3    Link encap:Ethernet  HWaddr 08:00:27:c7:a2:85  
          inet addr:192.168.1.91  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fec7:a285/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3880 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:505253 (505.2 KB)  TX bytes:640914 (640.9 KB)

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:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:960 (960.0 B)  TX bytes:960 (960.0 B)
Guest VM Info:

Code: Select all

Name:            Ubuntu 16.04 (Web Server)
Groups:          /
Guest OS:        Ubuntu (64-bit)
UUID:            d2c8bc22-2515-42ab-a5e8-b746fd4991e3
Config file:     /home/virtualbox/VirtualBox VMs/Ubuntu 16.04 (Web Server)/Ubuntu 16.04 (Web Server).vbox
Snapshot folder: /home/virtualbox/VirtualBox VMs/Ubuntu 16.04 (Web Server)/Snapshots
Log folder:      /home/virtualbox/VirtualBox VMs/Ubuntu 16.04 (Web Server)/Logs
Hardware UUID:   d2c8bc22-2515-42ab-a5e8-b746fd4991e3
Memory size:     4096MB
Page Fusion:     off
VRAM size:       12MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  2
PAE:             off
Long Mode:       on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
State:           running (since 2016-09-22T17:09:20.370000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      1
Storage Controller Bootable (0):        on
Storage Controller Name (1):            IDE
Storage Controller Type (1):            PIIX4
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  2
Storage Controller Port Count (1):      2
Storage Controller Bootable (1):        on
SATA (0, 0): /home/virtualbox/VirtualBox VMs/Ubuntu 16.04 (Web Server)/Ubuntu 16.04 (Web Server).vdi (UUID: 28fc70dd-65e0-4aae-b7c2-bf1ad7b37852)
IDE (1, 0): /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: d96e8dfe-0cd2-4745-9e44-f4f6f936c188)
NIC 1:           MAC: 080027C7A285, Attachment: Bridged Interface 'bond0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Clipboard Mode:  disabled
Drag and drop Mode: disabled
Session name:    headless
Video mode:      800x600x32 at 0,0 enabled
VRDE:            enabled (Address 0.0.0.0, Ports 3382, MultiConn: on, ReuseSingleConn: off, Authentication type: null)
VRDE port:       3382
Video redirection: disabled
VRDE property: TCP/Ports  = "3382"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
VRDE property: Audio/LogPath = <not set>
USB:             disabled
EHCI:            disabled
XHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       /home/virtualbox/VirtualBox VMs/Ubuntu 16.04 (Web Server)/Ubuntu 16.04 (Web Server).webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
OS type:                             Linux26_64
Additions run level:                 2
Additions version:                   5.0.26 r108824


Guest Facilities:

Facility "VirtualBox Base Driver": active/running (last update: 2016/09/22 17:09:37 UTC)
Facility "VirtualBox System Service": active/running (last update: 2016/09/22 17:09:39 UTC)
Facility "Seamless Mode": not active (last update: 2016/09/22 17:09:37 UTC)
Facility "Graphics Mode": not active (last update: 2016/09/22 17:09:37 UTC)
heyraffaello
Posts: 3
Joined: 22. Sep 2016, 18:50
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu 18.04, Windows Server 2012 R2, Windows 10

Re: [Solved] Guest <=> Host Cannot Ping (Ubuntu Host and Guest)

Post by heyraffaello »

Appears to be fixed with an update to 5.1.6.
Post Reply