I cannot access Internet with router

Issues related to configuring your network
Post Reply
zzzist
Posts: 2
Joined: 2015/04/16 07:54:38

I cannot access Internet with router

Post by zzzist » 2015/04/16 08:16:05

Hi there.
I can't access Internet when my centos7 PC linking on a router,but other windows PC on this same router can.Whatever I use auto DHCP or configure the IP address manually.
In this condition,I can ping other PC on the router and I can configure the router on the centos PC,but I cannot access Internet(can't use google).
When the centos PC directly links to adsl modon by UTP,I can access Internet instead.
I'm really a new hand,and I've been confused a long time,can anybody help me there?Grateful!

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: I cannot access Internet with router

Post by lightman47 » 2015/04/16 16:11:03

Experiment (DNS check):
From a terminal window

ping -c3 google.com

If it works, then skip the rest - your DNS is working and something else is amiss.if that bombed however, then

ping -c3 8.8.8.8

If that works, (but pinging a 'name' fails) then you have a DNS (name resolution) issue. Try using 8.8.8.8 and 8.8.8.4 as your DNS servers.in your network card config.

zzzist
Posts: 2
Joined: 2015/04/16 07:54:38

Re: I cannot access Internet with router

Post by zzzist » 2015/04/17 05:30:05

thanks for all.
The problem has been solved.It's not centos's fault but my computer.I don't know where the prblem is,but when I restart the PC,and ues only one of the Ethernet port,the router does work so I can access Internet.

Post Reply