[libvirt] kvm network modes

Hi all, On an ubuntu host, I have the network: virsh # net-dumpxml default <network> <name>default</name> <uuid>9af73579-2dea-d0a9-020d-a45b0526b07f</uuid> <forward mode='nat'/> <bridge name='virbr0' stp='on' forwardDelay='0' /> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254' /> </dhcp> </ip> </network> Would you now some doecumentation on non NATing configuration? I would like to give my guests public IP adresses. I create my guests using: virt-install --connect qemu:///system \ [...] \ --network=network:default where 'default' is the configuration above. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 33 11 207 36

11/09/2009 12:06 PM, Rakotomandimby Mihamina:
Would you now some doecumentation on non NATing configuration? I would like to give my guests public IP adresses.
I create my guests using: virt-install --connect qemu:///system \ [...] \ --network=network:default where 'default' is the configuration above.
I found one solution: http://www.rktmb.org/post/2009/11/09/KVM-Ubuntu It works for me. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 33 11 207 36

On Tue, Nov 10, 2009 at 06:38:00AM +0300, Rakotomandimby Mihamina wrote:
11/09/2009 12:06 PM, Rakotomandimby Mihamina:
Would you now some doecumentation on non NATing configuration? I would like to give my guests public IP adresses.
I create my guests using: virt-install --connect qemu:///system \ [...] \ --network=network:default where 'default' is the configuration above.
I found one solution: http://www.rktmb.org/post/2009/11/09/KVM-Ubuntu
FYI, our recommended best practice for networking is documented on the libivrt wiki: http://wiki.libvirt.org/page/Networking Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
participants (2)
-
Daniel P. Berrange
-
Rakotomandimby Mihamina