Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 8.8.8.8

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

EDIT:

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

# ping google.com
ping: unknown host 
share|improve this question
1  
You contradict yourself. Since you can ping Google's DNS server (8.8.8.8), 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 google.com ping: unknown host google.com Thanks –  Zim3r Aug 17 '12 at 11:44
    
I have DNS setup in ifcfg-br0: DNS1=8.8.8.8 DNS2=209.139.209.33 What else can be the problem? –  Zim3r Aug 17 '12 at 11:49
1  
nslookup tells you...? –  Bart Silverstrim Aug 17 '12 at 12:01
    
Thanks Bart, it works fine now. –  Zim3r Aug 17 '12 at 12:08

1 Answer 1

up vote 3 down vote accepted

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

nameserver 8.8.8.8
nameserver 209.139.209.33

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
1  
Give Red Hat Enterprise Linux Deployment Guide a try. –  Ihor Kaharlichenko Aug 17 '12 at 12:37

Your Answer

 
discard

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.