Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Configure NIC for VMs and access Externally in OL 6.0 ?

Karthik AppsysNov 14 2014 — edited Nov 15 2014

Dear Legends,

I would like to Create 3 Virtual Machines from Oracle Linux Server 6.0 as Base(Host) OS. From Applications -> System Tools -> Virtual Machine Manager I'm able to create VMs, but now the issue is we could not access the Virtual Machines remotely or From the Internal(Office) world or From the External world.

Base OS: Oracle Linux 6.0 - 48G Ram - Xeon CPU

Guest OS: Oracle Linux

64bit

Physical NIC 1 (eth0)

192.168.1.100

Physical NIC 2 (eth1)

192.168.1.29

Out of the 2 NICs either of the 1 NIC is connected to our Router. via LAN cable

Router IP: 192.168.1.1

After Creating VMs and If I add or start the network it shows the IP as 192.168.122.1 .... 192.168.122.123.... - Why because the virbr0 by default this nic is adding to the VM and we could not configure it to the bridge.

Since all our Internal Network IPs start with 192.168.1.1. If we try to bridge a new virtual NIC (br0) by overwriting the eth0 it is working only for time being after a single server restart of host it is again fixed to 192.168.122.1.

Even we tried to use the "virsh" command to change the default.xml file for virbr0 but it again conflicts with eth0 has 192.168.1.1 series...

We are very new to the NIC configurations

We would like to do the following

1. Have a static IP for Host - 192.168.1.100

2. Have a static/dhcp IP for VMs - 192.168.1.103, 104,105

3. All the machines should ping each other

4. All the machines should ping google.com

5. All the machines should be accessible or ping or reacheable to the External and Internal world

6. After restarts of Hosts/Guests the IP should not change.

Any kind of help would be much appreciated. Thanks in advance.

Thanks,

Karthik

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2014
Added on Nov 14 2014
19 comments
5,833 views