[CentOS] Can't reach Internet

Ed Donahue III liberaled at gmail.com
Sun Aug 31 21:14:10 UTC 2014


$ route -n

the one listed as gateway is your default route.
On Aug 31, 2014 5:03 PM, "reynierpm at gmail.com" <reynierpm at gmail.com> wrote:

> What you mean with check default route?
> On Aug 31, 2014 4:31 PM, <alexandre at onda.net.br> wrote:
>
> >
> > Check default route.. If installed
> > --
> > Enviado pelo aplicativo muMail para Android
> > domingo, 31 agosto 2014, 05:53PM -03:00 de "reynierpm at gmail.com" <
> > reynierpm at gmail.com>:
> > I'm having some issues with Internet access from CentOS7 server which is
> > installed in Vmware Workstation 10.0.3 build-1895310 in Windows 7 x64. At
> > this point I can't get if the error is on CentOS configuration or it's
> > another problem so I leave here what I did in order to get Internet
> working
> > on that VM.
> > 1) */etc/resolv.conf*
> > # Generated by NetworkManager
> > nameserver 8.8.8.8
> > nameserver 8.8.4.4
> > nameserver 4.2.2.2
> > 2) */etc/sysconfig/network*
> > # Created by anaconda
> > HOSTNAME=webserver
> > DNS1=8.8.8.8
> > DNS2=8.8.4.4
> > DNS3=4.2.2.2
> > 3)* /etc/sysconfig/network-scripts/ifcfg-eno16777728*
> > TYPE=Ethernet
> > BOOTPROTO=dhcp
> > DEFROUTE=yes
> > NAME="Internet Eth0"
> > UUID=0a79e5fc-ee8a-41eb-93dd-a76e3cb8c7c1
> > ONBOOT=yes
> > HWADDR=00:50:56:2E:E2:4
> > 4) ifconfig -a
> > *eno16777728*: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
> >         inet 192.168.1.112  netmask 255.255.255.0  broadcast
> 192.168.1.255
> >         ether 00:50:56:2e:e2:45  txqueuelen 1000  (Ethernet)
> >         RX packets 186  bytes 20568 (20.0 KiB)
> >         RX errors 0  dropped 0  overruns 0  frame 0
> >         TX packets 31  bytes 4956 (4.8 KiB)
> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> > *eno33555200*: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
> >         inet 192.168.3.131  netmask 255.255.255.0  broadcast
> 192.168.3.255
> >         ether 00:50:56:3f:86:30  txqueuelen 1000  (Ethernet)
> >         RX packets 1016  bytes 106110 (103.6 KiB)
> >         RX errors 0  dropped 0  overruns 0  frame 0
> >         TX packets 859  bytes 108641 (106.0 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
> >         loop  txqueuelen 0  (Local Loopback)
> >         RX packets 8  bytes 552 (552.0 B)
> >         RX errors 0  dropped 0  overruns 0  frame 0
> >         TX packets 8  bytes 552 (552.0 B)
> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> > *eno16777728 *is the interface that should access to Internet since this
> is
> > the one I've configured in Vmware as bridged (connected directly to the
> > physical network interface of host) and also it's replicating physical
> > network connection. When I try to ping any as for example:
> www.google.com
> > DNS are not responding, see below:
> > # ping google.com
> > ping: unknown host google.com
> > Is something wrong in my configuration? I have some others CentOS 6.5 VM
> > running on the same Vmware Workstation and all of them can access
> Intertnet
> > but this one not. Any help?
> > Thx
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list