I'm been having major problems since installing version 5 on Windows 10. I usually setup 2 network interfaces (NAT and Host-Only) to allow me to have both internet access and a host only network. Since I upgraded to version 5 from 4.3 I can no longer access the internet from the guest.
Hopefully the following will help explain what I've setup:
VBOX setup on host (Windows 10):
Network Adapter 1 (NAT)
Network Adapter 2 (Host-only Adapter)
I've tried both Intel PRO/1000 MT and PCNet Fast III with no luck
N.B. on 4.3 it worked with the Intel adapter.
ipconfig on host:
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::58b9:e78c:6173:f23e%13
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Linux Guest (Centos 6.7)
[root@dbhost1 rules.d]# ifconfig
eth2 Link encap:Ethernet HWaddr 08:00:27:57:60:50
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2660 (2.5 KiB) TX bytes:9474 (9.2 KiB)
eth3 Link encap:Ethernet HWaddr 08:00:27:79:8C:14
inet addr:192.168.56.71 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2527 (2.4 KiB) TX bytes:1392 (1.3 KiB)
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:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2953 (2.8 KiB) TX bytes:2953 (2.8 KiB)
[root@dbhost1 rules.d]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth2
192.168.56.0 0.0.0.0 255.255.255.0 U 1 0 0 eth3
0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0 eth2
[root@dbhost1 rules.d]# cat 70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:57:60:50", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:79:8c:14", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[root@dbhost1 rules.d]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR=08:00:27:57:60:50
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth0
UUID=92232545-79c8-4203-a3bc-cc4ef0e19e09
ONBOOT=yes
LAST_CONNECT=1446748427
[root@dbhost1 rules.d]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
HWADDR=08:00:27:79:8C:14
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.56.71
PREFIX=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth1
UUID=3b6b97d5-ec9a-4a16-927b-82f0078cbc29
ONBOOT=yes
LAST_CONNECT=1446748426