LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-29-2012, 02:28 AM   #1
zama
Member
 
Registered: Mar 2012
Posts: 34

Rep: Reputation: Disabled
ping failing from master to guest hosts in a virtualized environment created using xe


I am trying to configure virtualized hosts on RHEL 5 using xen virtualization technology. I was able to successfully create two virtualized machines using virt-manager . The issue for me is that I am not able to ping from the master machine to the guest machines and vice versa . But I can ping among the guest machines.

The following are the settings on the master machine:

eth0 Link encap:Ethernet HWaddr 00:22:??:03:?8:99 inet addr:192.168.1.2 (from DHCP server) Bcast:192.168.1.255 Mask:255.255.255.0

xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1

virbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0


On the guest machines the ips are configured using static IP:The ip are as follows:

node1:192.168.1.3 node2:192.168.1.5

While configuring the guest machines using "virt-manager" , Under the "Network Settings(to connect the new virtual machine to the host network)" , I selected "Virtual network (Defualt) " . Apart from default I could not see any option under Virtual Network .

Where I went wrong ? What I want is that I should be able to ping from master machine to the guest machines and vice versa. Any help will be highly appreciated . If you need any other info please let me know .

Thanks in Advance
 
Old 04-01-2012, 04:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have you considered NATing or bridging? Specifically if you choose the same IP
address range you'll have problems of the kind you see here without bridging.



Cheers,
Tink
 
Old 04-01-2012, 05:03 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <VIRTUALISATION> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-09-2012, 07:54 AM   #4
zama
Member
 
Registered: Mar 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks Tinkster for replying back. I actually tried a re-installation of xen and used NATing while configuring the device as Virtual network . That looks to have resolved my problem.
 
  


Reply

Tags
xen



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can ping Ubuntu hosts but not Debian hosts by hostnames garyozzy Linux - Networking 6 03-09-2012 10:32 AM
Runtime identification of virtualized environment velusamyg Linux - Virtualization and Cloud 3 01-10-2012 06:43 PM
virtualized real windows guest on linux host gtludwig Linux - Virtualization and Cloud 4 09-26-2011 07:40 PM
can't ping local IP address but can ping remote hosts rob_xx17 Linux - Networking 4 12-02-2006 08:39 AM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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

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