Internet Access Issue

Issues related to configuring your network
Post Reply
amomen
Posts: 2
Joined: 2021/06/21 12:27:09

Internet Access Issue

Post by amomen » 2021/06/21 13:25:40

Hello everybody!!

I have vmware workstation 16 installed on my computer with CentOS7 VM and two virtual interfaces. I added one of the interfaces after installation of os. My ifcfg files are attached. The interface "enNAT" is connected to a nat interface which is supposed to give the VM the host's internet, and the interface "enHOST" is connected to a host-only interface for inter PC connection purposes. The problem is that I cannot have access to the internet on CentOS VM while the "enHOST" interface is up and I can't even get destination IP address from DNS, i.e. I have to shutdown the interface enHOST first using "ifdown" command and then my internet begins to work. It is also noteworthy that I have another Windows VM with these two interfaces that accesses the internet without problem.

I really appreciate your help.

Best regards,
Ali
Attachments
ifcfg-enNAT.txt
Obviously this file doesn't have extension on CentOS
(107 Bytes) Downloaded 66 times
ifcfg-enHOST.txt
Obviously this file doesn't have extension on CentOS
(507 Bytes) Downloaded 93 times

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Internet Access Issue

Post by TrevorH » 2021/06/21 13:42:37

Remove GATEWAY= from ifc-enHOST
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

amomen
Posts: 2
Joined: 2021/06/21 12:27:09

Re: Internet Access Issue

Post by amomen » 2021/10/13 09:54:25

Outstanding, I sensed it has something to do with routing, thank you ;) :D

Post Reply