Unable Resolve Private Cloud Hostname and Google But IP Address Is From NAT in Virtualbox For my Redhat Guest OS

Hi,

i can't resolve the hostname like google.com or private cloud hostname as well.

redhat_dns_issue.jpg

Thanks
Lucky ThamFreelancerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPRetiredCommented:
same response for your other question
In virtualbox what is the network adapter type for this vm?
When you setup redhat did you configure the network settings to also include your gateway ip address? Are you on the same subnet as your host machine?
Lucky ThamFreelancerAuthor Commented:
hi,

I am using NAT for this VM. see screenshot1.

vb_network1.jpg
I didn't configure anything on redhat except using DHCP client. Can you advice where and how to configure it?

Thanks.
Lucky ThamFreelancerAuthor Commented:
hi,

how to check and forward you whether it is on the same subnet or not?

Thanks.
Lucky ThamFreelancerAuthor Commented:
Anyone can help,

i've to add in the gateway but always come up this message "Created by anaconda"


redhat_gw1.jpg
Thanks.
Lucky ThamFreelancerAuthor Commented:
Hi,

my laptop configuration.

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Fortinet virtual adapter
   Physical Address. . . . . . . . . : 00-09-0F-FE-00-01
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::3147:29ba:bc5c:2942%5(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.19.0.9(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Monday, November 12, 2018 5:58:00 PM
   Lease Expires . . . . . . . . . . : Friday, December 20, 2154 12:30:24 AM
   Default Gateway . . . . . . . . . : 172.19.0.10
   DHCP Server . . . . . . . . . . . : 172.19.0.10
   DHCPv6 IAID . . . . . . . . . . . : 788531471
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-1E-13-43-10-E7-C6-EA-75-49
   DNS Servers . . . . . . . . . . . : 10.10.0.1
                                       0.0.0.0
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 8265
   Physical Address. . . . . . . . . : 68-EC-C5-29-AF-3B
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::5b1:9850:9fcf:3550%31(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.20.10.9(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.240
   Lease Obtained. . . . . . . . . . : Monday, November 12, 2018 5:36:36 PM
   Lease Expires . . . . . . . . . . : Tuesday, November 13, 2018 5:22:12 PM
   Default Gateway . . . . . . . . . : 172.20.10.1
   DHCP Server . . . . . . . . . . . : 172.20.10.1
   DHCPv6 IAID . . . . . . . . . . . : 375975109
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-1E-13-43-10-E7-C6-EA-75-49
   DNS Servers . . . . . . . . . . . : 10.10.0.1
                                       172.20.10.1
   NetBIOS over Tcpip. . . . . . . . : Enabled


C:\Users\P1319181>route print
===========================================================================
Interface List
 27...00 ac f8 91 38 68 ......VPN Client Adapter - VPN
  2...10 e7 c6 ea 75 49 ......Realtek PCIe GBE Family Controller
  5...00 09 0f fe 00 01 ......Fortinet virtual adapter
 31...68 ec c5 29 af 3b ......Intel(R) Dual Band Wireless-AC 8265
 11...68 ec c5 29 af 3f ......Bluetooth Device (Personal Area Network)
  1...........................Software Loopback Interface 1
 13...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #7
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      172.20.10.1      172.20.10.9     90
          0.0.0.0          0.0.0.0      172.19.0.10       172.19.0.9     35
  118.201.183.142  255.255.255.255      172.20.10.1      172.20.10.9     55
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
       172.19.0.0    255.255.255.0         On-link        172.19.0.9    291
       172.19.0.9  255.255.255.255         On-link        172.19.0.9    291
     172.19.0.255  255.255.255.255         On-link        172.19.0.9    291
      172.20.10.0  255.255.255.240         On-link       172.20.10.9    311
      172.20.10.9  255.255.255.255         On-link       172.20.10.9    311
     172.20.10.15  255.255.255.255         On-link       172.20.10.9    311
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link       172.20.10.9    311
        224.0.0.0        240.0.0.0         On-link        172.19.0.9    291
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link       172.20.10.9    311
  255.255.255.255  255.255.255.255         On-link        172.19.0.9    291
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      160.102.0.0      255.255.0.0    160.101.0.254       1
      160.103.0.0      255.255.0.0    160.101.0.254       1
          0.0.0.0          0.0.0.0    192.168.1.254  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 13    331 ::/0                     On-link
  1    331 ::1/128                  On-link
 13    331 2001::/32                On-link
 13    331 2001:0:9d38:6abd:8b3:11ad:8936:4871/128
                                    On-link
 31    311 fe80::/64                On-link
  5    291 fe80::/64                On-link
 13    331 fe80::/64                On-link
 31    311 fe80::5b1:9850:9fcf:3550/128
                                    On-link
 13    331 fe80::8b3:11ad:8936:4871/128
                                    On-link
  5    291 fe80::3147:29ba:bc5c:2942/128
                                    On-link
  1    331 ff00::/8                 On-link
 31    311 ff00::/8                 On-link
 13    331 ff00::/8                 On-link
  5    291 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None


Redhat

redhat_gw1.jpg
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Redhat

From novice to tech pro — start learning today.