Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have configured my network inteface according to this guide.

And now I can ping to server from my computer but I can't ping from server to outside world.

Note: I can ping

Can anyone explain whats the problem? Maybe because there is no gateway in eth0? but I need to have this configuration to run KVMs.


I think it's a DNS problem. I can ping IPs but I cant ping domains. sorry for misunderstanding.

# ping
ping: unknown host 
share|improve this question
You contradict yourself. Since you can ping Google's DNS server (, you can ping the outwide world. Though you claim you can't. What host can't you ping exactly so that you concluded that you don't have access to the outside world? – Ihor Kaharlichenko Aug 17 '12 at 11:39
I think it's a DNS problem. I didn't really notice. I can ping IPs but I cant ping domains. sorry for misunderstanding. # ping ping: unknown host Thanks – Zim3r Aug 17 '12 at 11:44
I have DNS setup in ifcfg-br0: DNS1= DNS2= What else can be the problem? – Zim3r Aug 17 '12 at 11:49
nslookup tells you...? – Bart Silverstrim Aug 17 '12 at 12:01
Thanks Bart, it works fine now. – Zim3r Aug 17 '12 at 12:08
up vote 3 down vote accepted

Since it is a dns problem put the following in your /etc/resolv.conf:


That would set up your DNS servers system-wide.

share|improve this answer
Really Thanks, It works like a charm now. – Zim3r Aug 17 '12 at 12:07
sorry for unrelated comment but can I ask for a book about this stuff ? I'd appreciate if you name some of those. – Zim3r Aug 17 '12 at 12:35
Give Red Hat Enterprise Linux Deployment Guide a try. – Ihor Kaharlichenko Aug 17 '12 at 12:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.