Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-15-2008, 01:56 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
Cannot ping xen guests from external computer

I installed centos 5 x86_64 with xen in order to create multiple guests. The install of both the host and first guest went smoothly. The first guest is running Fedora 8 x86 as a fully virtualized guest (not paravirtualized).

I can access the internet from the guest and can successfully ping from the host to the guest and from the guest to the host. I can also ping from another computer running on the network to the host. I cannot, however, ping from another computer to the guest.

I have tried a crossover cable to rule out gateway/firewall issues but get the same results. I have also tried googling this issue but could find nothing that directly addresses this issue.

How can I ping my xen guests from another computer on the network?
Old 09-16-2008, 11:51 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Might be worth checking that the firewall on the host is not inadvertedly protecting/blocking all communication to the guest. As it's clear you can establish communication to the outside world I would just double check iptables on the host.
Old 09-17-2008, 07:59 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0

Thanks for your response. It turns out there were two problems; both of which needed to be fixed to get the correct ping response. The first was with my router. I had to tell it to redirect the guest IP to the host IP. After I fixed that, I got a response that said "Destination port unreachable". The second is as you suggested. On the host I ran "iptables -F" and then got the proper ping response. Now I have to figure out how to make the iptable change permanent...
Old 06-04-2009, 02:44 PM   #4
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0

Was wondering if you found the permanent fix to the "iptables -F" stopgap?


centos5, ping, xen

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can ping network computer, cannot ping (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
my computer(FC4 linux) can't ping other computer? oimm Linux - Networking 1 03-24-2006 08:20 AM
can ping to external IP but can't get out Homer Glemkin Linux - Networking 5 11-30-2004 05:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration