LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2011, 02:05 AM   #1
Abhay_swami
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
Unhappy connect virtual linux to host linux in xen virtualization


Dear Friends,
I have installed virtual Redhat in Redhat using Xen virtualization. The ip of the virtual OS is 192.168.0.3 and of main OS is 192.168.0.2. But even then I apply "ping" command then "Destination unreachable" error occur.
PLEASE HELP ME to connect virtual and main Redhat !!!!!!
 
Old 01-30-2011, 10:50 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
first check your network configuration

should try these command both at .2 & .3

/sbin/route -n
/sbin/ifconfig

paste the output
 
Old 02-02-2011, 07:15 PM   #3
Abhay_swami
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
thank for sending reply..:-)
actually i was trying to connect eth0 of main os with eth0 of virtual os.
and what i should do was to connect virbr0 of main os with eth0 of virtual os.
 
Old 02-02-2011, 08:57 PM   #4
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
It looks like you are trying to use bridged networking so can you issue the commands below on the Domain-0 (main OS) and post the output:

`ifconfig`
`brctl show`

The main thing is to see if we have a physical interface that's bridge friendly, to make sure your bridge contains the ip address, and that the bridge contains the correct interfaces attached to it.

--Shaun

Last edited by binary_pearl; 02-02-2011 at 08:58 PM. Reason: Forgot my sig
 
Old 02-02-2011, 09:10 PM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
What is the subnet and gateway of your guest OS and host OS.
 
Old 02-03-2011, 12:17 AM   #6
Abhay_swami
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
subnet mask of main os: 255.255.255.0
subnet mask of virtual os: 255.255.0.0
 
  


Reply


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
xen virtualization host issues ramprakash Linux - Server 1 09-03-2009 07:55 PM
LXer: Linux Virtualization with Xen LXer Syndicated Linux News 1 06-01-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:52 AM.

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