No internet connection in vmware guest centos 7

General support questions
Post Reply
mmm286
Posts: 7
Joined: 2016/11/11 23:48:34

No internet connection in vmware guest centos 7

Post by mmm286 » 2019/08/19 22:17:09

Hi,
I've configured interface ethernet in nat mode but not works internet

Code: Select all

TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=72cae347-db68-4272-872d-cf998b0d956c
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.1.211
PREFIX=24
GATEWAY=192.168.1.1
DNS1=8.8.8.8
IPV6_PRIVACY=no

ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.211 icmp_seq=1 Destination Host Unreachable
From 192.168.1.211 icmp_seq=2 Destination Host Unreachable
Any help please?
Thanks

aks
Posts: 2829
Joined: 2014/09/20 11:22:14

Re: No internet connection in vmware guest centos 7

Post by aks » 2019/08/20 19:09:23

What? Where's the NAT? What's the subnet mask?

tony_down_under
Posts: 49
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

Re: No internet connection in vmware guest centos 7

Post by tony_down_under » 2019/08/21 07:53:46

Post back the output of the following:

Code: Select all

ip addr

User avatar
TrevorH
Forum Moderator
Posts: 26568
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No internet connection in vmware guest centos 7

Post by TrevorH » 2019/08/21 09:32:32

If you set it up with NAT networking then you need to use DHCP to get an ip address from the vmware DHCP server.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”