[SOLVED] RHEL7 guest on windows host : no network connection

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Saiimone
Posts: 4
Joined: 5. Mar 2018, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: RHEL7

[SOLVED] RHEL7 guest on windows host : no network connection

Post by Saiimone »

Hello community,

My latop is running Windows 7 using wireless adapter. I installed VirtualBox 5.2.8 and I'm attempting to install a RHEL 7.4 as a guest operating system (network translation is NAT).

Installation is fine but networking is not working, direct result is my guest system is completely isolated and cannot connect with the outbound.

I looked on the web and try several configurations without success.

My previous experience with VirtualBox is it's easy to install a guest system but I don't understand why I'm struggling now.

I'll appreciate any help to resolve this issue. I believe if I don't fix this, I'll be having problem testing vagrant also to deploy several VMs

From my host system, the output of 'ipconfig /all' returns the following

Code: Select all

C:\Users\MyUserName>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : PMyUserName-1
   Primary Dns Suffix  . . . . . . . : fr.company.com
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : fr.company.com
                                       company.com
                                       lb.company.com
                                       ie.company.com
                                       us.company.com
                                       lux.company.com
                                       sg.company.com
                                       jp.company.com
                                       au.company.com
                                       scz.company.com

Ethernet adapter Connexion au réseau local* 3:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Juniper Network Connect Virtual Adapter
   Physical Address. . . . . . . . . : 00-FF-10-90-F6-0D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Connexion réseau Bluetooth:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Périphérique Bluetooth (réseau personnel)
   Physical Address. . . . . . . . . : 28-16-AD-56-D0-91
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Connexion réseau sans fil:

   Connection-specific DNS Suffix  . : fr.company.com
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 8260
   Physical Address. . . . . . . . . : 28-16-AD-56-D0-8D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::7d0b:c8a0:39b6:829e%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.26.17.4(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Lease Obtained. . . . . . . . . . : mercredi 21 mars 2018 07:36:34
   Lease Expires . . . . . . . . . . : samedi 24 mars 2018 12:56:48
   Default Gateway . . . . . . . . . : 10.26.16.1
   DHCP Server . . . . . . . . . . . : 172.21.45.224
   DHCPv6 IAID . . . . . . . . . . . : 304617133
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-61-A1-EA-D4-81-D7-8B-43-B3
   DNS Servers . . . . . . . . . . . : 172.21.17.212
                                       172.21.17.210
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Connexion au réseau local:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : fr.company.com
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-LM
   Physical Address. . . . . . . . . : D4-81-D7-8B-43-B3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : 0A-00-27-00-00-13
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::9c9:dad2:bd00:ee2d%19(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 302645287
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-61-A1-EA-D4-81-D7-8B-43-B3
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{79DD6285-952B-4E66-9D96-F854323FA344}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Carte Microsoft ISATAP #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.fr.company.com:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : fr.company.com
   Description . . . . . . . . . . . : Carte Microsoft ISATAP #5
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\MyUserName>
Within my guest system this is wthe output of ifconfig -a

Code: Select all

enpOs3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 
        inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 I 
        inet6 fe80::7702:9b96:eff6:f78 prefixlen 64 scopeid Ox20<link> 
        ether 08:00:27:98:92:15 txqueuelen 1000 (Ethernet) 
        RX packets 121 bytes 117760 (115.0 KiB) 
        RX errors 0 dropped 0 overruns 0 frame 0 
        TX packets 135 bytes 13455 (13.1 KiB) 
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
        
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 
    inet 127.0.0.1 netmask 255.0.0.0 
    inet6 ::1 prefixlen 128 scopeid Ox10<host> 
    loop txqueuelen 1 (Local Loopback) 
    RX packets 30 bytes 2092 (2.0 KiB) 
    RX errors 0 dropped 0 overruns 0 frame 0 
    TX packets 30 bytes 2092 (2.0 KiB) 
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
virbrO: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 
        inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 
        ether 52:54:00:d8:c3:63 txqueuelen 1000 (Ethernet) 
        RX packets 0 bytes 0 (0.0 B) 
        RX errors 0 dropped 0 overruns 0 frame 0 
        TX packets 0 bytes 0 (0.0 B) 
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
        
virbrO-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500 
            ether 52:54:00:d8:c3:63 txqueuelen 1000 (Ethernet) 
            RX packets 0 bytes 0 (0.0 B) 
            RX errors 0 dropped 0 overruns 0 frame 0 
            TX packets 0 bytes 0 (0.0 B) 
            TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
Last I add the output of 'route -n' from the guest system

Code: Select all

Kernel IP routing table 
Destination     Gateway     Genmask         Flags   Metric  Ref Use Iface 
0.0.0.0         10.0.2.2    0.0.0.0         UG      100     0   0   enpOs3 
10.0.2.0        0.0.0.0     255.255.255.0   U       100     0   0   enpOs3 
192.168.122.0   0.0.0.0     255.255.255.0   U       0       0   0   virbrO 
Thanks for your help

Simon
Last edited by Saiimone on 23. Mar 2018, 08:58, edited 4 times in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: RHEL7 guest on windows host : no network connection

Post by socratis »

There is something wrong in your copy/paste process. I edited your message to include the output in the "code" tag, but then I noticed something weird:
  • All colons ":" are replaced with "is " ("i", "s", <space>).
  • Periods separating addresses do not show up. Example:
    Saiimone wrote:
    inet 10 0 2 15 netmask 255 255 255 0 broadcast 10 0 2 255
    inet6 fe80is is 7702is 9b96is eff6is f78 prefixlen 64 scopeid 0x20<link>
Could you edit your post and fix the issue? I don't want to do too much editing, I might correct something that I'm not supposed to.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Sylvia Else
Posts: 7
Joined: 5. Mar 2018, 04:48

Re: RHEL7 guest on windows host : no network connection

Post by Sylvia Else »

Could you show the output from

route -n

on the guest?

Also see whether you can ping 10.0.2.2 from the guest.

Sylvia.
Saiimone
Posts: 4
Joined: 5. Mar 2018, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: RHEL7

Re: RHEL7 guest on windows host : no network connection

Post by Saiimone »

Hi Socratis,

Apologies for the late answer.

I corrected the

Code: Select all

 part that was containing 'is part'.

Feel free to contact me if anything is wrong or missing.

Thanks
Last edited by Saiimone on 22. Mar 2018, 18:01, edited 1 time in total.
Saiimone
Posts: 4
Joined: 5. Mar 2018, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: RHEL7

Re: RHEL7 guest on windows host : no network connection

Post by Saiimone »

Hi Sylvia,

Sorry for answering lately but I'll try to follow closely the forum now.

I added in my original post the output or 'route -n'

Thanks
Saiimone
Posts: 4
Joined: 5. Mar 2018, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: RHEL7

Re: RHEL7 guest on windows host : no network connection

Post by Saiimone »

Hello all,

Somehow the problem is fixed now !!!

The IT teams install a program named AutoProxy to allow us to work in our different offices or from home and it seems it corrects my issue.

I might be wrong but it's the only change on my laptop I'm aware of.

Thanks Sylvia and Socratis for your messages

Best

S,
Post Reply