Centos 7 No internet access

Issues related to configuring your network
peter_tharwat
Posts: 2
Joined: 2017/12/03 11:27:33

Centos 7 No internet access

Postby peter_tharwat » 2017/12/03 11:42:51

Hi guys
this is my first post here and English is not my native language

I'm new in linux(Centos 7) but i can't access to internet

ifconfig

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.213.128 netmask 255.255.255.0 broadcast 192.168.213.255
inet6 fe80::20c:29ff:fe18:6044 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:18:60:44 txqueuelen 1000 (Ethernet)
RX packets 365 bytes 35727 (34.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 469 bytes 46307 (45.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


the configuration file of ens33
/etc/sysconfig/network-scripts/ifcfg-ens33

TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="ens33"
UUID="5b94ac72-47c5-4937-8e40-f5ccdbe75e28"
DEVICE="ens33"
ONBOOT="yes"
DNS1=8.8.8.8
DNS2=8.8.4.4
PEERDNS="yes"
PEERROUTES="yes"


I'm using virtual machine and my network using proxy sever 10.51.51.51 with port 80

thanks in advanced

tunk
Posts: 220
Joined: 2017/02/22 15:08:17

Re: Centos 7 No internet access

Postby tunk » 2017/12/03 14:51:33

I suggest that you start by looking at the network settings on your VM software.

peter_tharwat
Posts: 2
Joined: 2017/12/03 11:27:33

Re: Centos 7 No internet access

Postby peter_tharwat » 2017/12/03 20:18:36

My Network settings is NAT
there is no problem in it , I'm sure