Hi,
When "playing" with Cent OS 5.x Virtualization, I could have a host with IP:192.168.10.40 and the guests with IP's: 192.168.10.41, 192.168.10.42... an so on.
But now after installing Cent OS 6.0 as a host, I can't figure out how to make my guest get the same IP's.
My host is still 192.168.10.40, but the 1. guest i make, get an IP of 192.168.122.x !
I can see something in virtual-manager concerning virtual-networks. It looks new compared to COS 5.x.
Is it not possible ?
Regards Thomas
----- Original Message ----- | Hi, | | When "playing" with Cent OS 5.x Virtualization, I could have a host | with | IP:192.168.10.40 and the guests with IP's: 192.168.10.41, | 192.168.10.42... an so on. | | But now after installing Cent OS 6.0 as a host, I can't figure out how | to make my guest get the same IP's. | | My host is still 192.168.10.40, but the 1. guest i make, get an IP of | 192.168.122.x ! | | I can see something in virtual-manager concerning virtual-networks. It | looks new compared to COS 5.x. | | Is it not possible ? | | Regards Thomas
Sounds to me that you have not created the virtual bridges/networks that are on the the other host. Is the output of virsh net-list the same?
Well, is there any other (better) documentation, than the one from Redhat_Enterprise_6.0_Virtualization ?
James A. Peltier wrote:
----- Original Message ----- | Hi, | | When "playing" with Cent OS 5.x Virtualization, I could have a host | with | IP:192.168.10.40 and the guests with IP's: 192.168.10.41, | 192.168.10.42... an so on. | | But now after installing Cent OS 6.0 as a host, I can't figure out how | to make my guest get the same IP's. | | My host is still 192.168.10.40, but the 1. guest i make, get an IP of | 192.168.122.x ! | | I can see something in virtual-manager concerning virtual-networks. It | looks new compared to COS 5.x. | | Is it not possible ? | | Regards Thomas
Sounds to me that you have not created the virtual bridges/networks that are on the the other host. Is the output of virsh net-list the same?
Thomas,
Well, is there any other (better) documentation, than the one from Redhat_Enterprise_6.0_Virtualization ?
I agree. This is a very poor piece of documentation. Basically it is just a collection of descriptions of tools and parameters. It does not give any insight about various concepts and it does not help at all to choose the right solution
| When "playing" with Cent OS 5.x Virtualization, I could have a host | with | IP:192.168.10.40 and the guests with IP's: 192.168.10.41, | 192.168.10.42... an so on. | | But now after installing Cent OS 6.0 as a host, I can't figure out how | to make my guest get the same IP's. | | My host is still 192.168.10.40, but the 1. guest i make, get an IP of | 192.168.122.x ! |
I ran across the same problem. Looks like Centos is setting up a NAT network rather than a bridged network by default. It appears that the host is acting as a DHCP server for the virtualized machines.
Hope this helps.
Ok.. thanks. Can I use virt-manager to setup a bridged-network or shall i use the commandtool ? I also think that Cent os 5.6 used bridged as default...
Michael Schumacher wrote:
Thomas,
Well, is there any other (better) documentation, than the one from Redhat_Enterprise_6.0_Virtualization ?
I agree. This is a very poor piece of documentation. Basically it is just a collection of descriptions of tools and parameters. It does not give any insight about various concepts and it does not help at all to choose the right solution
| When "playing" with Cent OS 5.x Virtualization, I could have a host | with | IP:192.168.10.40 and the guests with IP's: 192.168.10.41, | 192.168.10.42... an so on. | | But now after installing Cent OS 6.0 as a host, I can't figure out how | to make my guest get the same IP's. | | My host is still 192.168.10.40, but the 1. guest i make, get an IP of | 192.168.122.x ! |
I ran across the same problem. Looks like Centos is setting up a NAT network rather than a bridged network by default. It appears that the host is acting as a DHCP server for the virtualized machines.
Hope this helps.
Thomas,
Ok.. thanks. Can I use virt-manager to setup a bridged-network or shall i use the commandtool ? I also think that Cent os 5.6 used bridged as default...
I was using the command line. The RHEL-docs can be used for this purpose.
You are right, Centos5 used bridged network as default. But then of course that was a XEN-environmnet and now we have KVM. Quite a few things work differently.
Michael
Thanks.
I have found the way of making a bridged network in the docs.
I will be using RH 6.0 for both host and guests, so as I read, the KVM para-virtualized drivers are already loaded and installed. Correct ? Should be best for database performance.
What about PCI device assignment and SR-IOV ? Is that an issue, I should think about ?
And guest timing management ? Isn't that for more real-time applications ?
Med venlig hilsen / Best Regards
Thomas Rønshof Tel: +45 44923626 / 39551529
Mobil: +45 40575588
Mail: tr@kyborg.dk mailto:tr@kyborg.dk
Web: www.kyborg.dk http://www.kyborg.dk
Den 24-09-2011 23:10, Michael Schumacher skrev:
Thomas,
Ok.. thanks. Can I use virt-manager to setup a bridged-network or shall i use the commandtool ? I also think that Cent os 5.6 used bridged as default...
I was using the command line. The RHEL-docs can be used for this purpose.
You are right, Centos5 used bridged network as default. But then of course that was a XEN-environmnet and now we have KVM. Quite a few things work differently.
Michael
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Thomas,
I will be using RH 6.0 for both host and guests, so as I read, the KVM para-virtualized drivers are already loaded and installed. Correct ?
I think so. If I think about it: How can I distinguish which drivers it uses?
What about PCI device assignment and SR-IOV ? Is that an issue, I should think about ?
I don't know.
And guest timing management ? Isn't that for more real-time applications ?
perhaps a specialist could shed some light...
Michael
On 9/22/11, Thomas Rønshof tr@kyborg.dk wrote:
Hi,
When "playing" with Cent OS 5.x Virtualization, I could have a host with IP:192.168.10.40 and the guests with IP's: 192.168.10.41, 192.168.10.42... an so on.
But now after installing Cent OS 6.0 as a host, I can't figure out how to make my guest get the same IP's.
My host is still 192.168.10.40, but the 1. guest i make, get an IP of 192.168.122.x !
I can see something in virtual-manager concerning virtual-networks. It looks new compared to COS 5.x.
Is it not possible ?
I'm probably missing something here but doesn't editing ifcfg-ethX in the guest give them the required IP or is virt-manager overriding those settings?