LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2013, 07:49 AM   #1
makupl
LQ Newbie
 
Registered: Sep 2013
Posts: 21

Rep: Reputation: Disabled
How to create second network in two virtual hosts.


Hello.
I'm practising with virtualisation.
Although in Vmbox it looks for me easy I'm in trouble when using RHEL virtualisation.
I have two guests in host. Per default there is NAT interface on both hosts which take network from guest dhcp. (BTW. There is no need to have ifcfg-ethX configuration for that? This is what I see at least).
They can see each other and also outside network with this NAT interfaces.
But now I would like to create second network on next interface. I tested with vibr, vinet and I'm lost. (Only second NAT with dhcp works for me).
When adding any of above interface type I see next ethX network interface. So I create ifcfg-ethX with static settings per interface on each guest host.
When I restart network I see configured ethX interfaces on both guests. And that's it. But they can't see each other.
Any help will be appreciated.
 
Old 11-02-2013, 09:28 AM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 876

Rep: Reputation: 113Reputation: 113
I usually run bridged mode, it might work out alot of the kinks you are getting.

I actually run a OpenVZ system with a couple guest OS installed and when I use the NAT aka venet, I sort of get the same problem, because the way my router is built, So I have to create a bridged device on my host node and create veth devices, so my router actually sees them.
 
  


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
Create IPv6 Virtual Network sura2k Linux - Networking 6 08-21-2012 12:55 PM
Can I share a virtual network using vmware server on two different hosts ElectroLinux Linux - General 5 07-29-2007 11:07 PM
How to create Virtual Network Conections `neo Linux - Networking 7 06-25-2006 05:30 AM
apache virtual hosts: how do I view them on local network? wendallsan Linux - Software 2 01-16-2005 11:57 PM
Unable to create virtual hosts in Apache figure8car Mandriva 2 12-05-2004 09:34 AM


All times are GMT -5. The time now is 01:27 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