LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2014, 07:53 AM   #1
supersteven
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Rep: Reputation: Disabled
Virtual Machines/KVM installs on Red Hat Linux 6.5


How setup Virtual Machines properly in Red Hat Linux 6.5?
 
Old 01-15-2014, 08:00 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
http://lmgtfy.com/?q=redhat+kvm+tutorial
 
1 members found this post helpful.
Old 01-15-2014, 08:01 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Have a look at the documentation provided by RedHat.

Red Hat Enterprise Linux 6 (bottom of the page)
 
1 members found this post helpful.
Old 01-16-2014, 08:44 AM   #4
supersteven
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you for this reply and I did read this over and got my local host RHEL 6.5 Server up and running and have created three VM's as well.

I was able to effectively SSH to two of these VM guests from the host RHEL Server since they are on the same network 192.168.122.0/24, but, I still have one guest that I have not figured out how to SSH into since it is on another network of 192.168.100.0/24. Can you provide any additional help on this SSH procedure?

Thanks again,

SuperSteven
 
Old 01-16-2014, 08:49 AM   #5
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I guess the routes are not setup.

You would need to set a route to 192.168.100.0/24 on the host you ssh from. And route 192.168.122.0/24 on the host you ssh to.
 
Old 01-20-2014, 08:30 AM   #6
supersteven
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
zhijm

Can you tell me how this is done or direct me to where I would find this information. I have provided the results of running "ifconfig" on my local host machine and the network and ipv4 addresses of my three VM's.

eth0 Link encap:Ethernet HWaddr 00:22:19:26:1C:A9
inet addr:10.0.0.111 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::222:19ff:fe26:1ca9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:214654 errors:0 dropped:0 overruns:0 frame:0
TX packets:18270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34796333 (33.1 MiB) TX bytes:4012049 (3.8 MiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:96901 errors:0 dropped:0 overruns:0 frame:0
TX packets:96901 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:217440896 (207.3 MiB) TX bytes:217440896 (207.3 MiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:40:56:5B
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19907 (19.4 KiB) TX bytes:16845 (16.4 KiB)

virbr1 Link encap:Ethernet HWaddr 52:54:00:E5:41:31
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1260 (1.2 KiB)


I have three VMs setup and there ip addresses and networks are as follows:

hostname: server1.example.com
ipv4: 192.168.122.50
network: 192.168.122.0/24

hostname: tester1.example.com
ipv4: 192.168.122.150
network: 192.168.122.0/24

hostname: clone1.example.org
ipv4: 192.168.100.10
network: 192.168.100.0/24

Steven
 
Old 01-20-2014, 09:05 AM   #7
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I advise to read up on routing some more. This helps tremendes. Here is a link for jump starting: http://www.tldp.org/HOWTO/NET3-4-HOWTO-5.html#ss5.7

Also check out subnetting.
 
  


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
Communication between KVM virtual machines on different hosts gmalva Linux - Virtualization and Cloud 2 09-19-2012 03:29 AM
KVM API for starting virtual machines guardian1 Linux - Virtualization and Cloud 2 09-04-2012 11:33 AM
LXer: Embiggen Your KVM Virtual Machines LXer Syndicated Linux News 0 12-05-2011 08:50 PM
LXer: Embiggen Your KVM Virtual Machines LXer Syndicated Linux News 1 12-05-2011 04:12 PM
Virtual machines running their own KVM's bill.loney Linux - Newbie 2 05-01-2009 03:08 PM


All times are GMT -5. The time now is 02:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration