Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to install KVM on my VPS server, but I don't know much about setting up network bridges unter Linux (Debian Squeeze). In /etc/network/interfaces I have no eth0 controller, there is only

# Auto generated venet0 interfaces
auto venet0
iface venet0 inet static
        address 127.0.0.1
        netmask 255.255.255.255
        broadcast 0.0.0.0
        up route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0
        up route add default gw 191.255.255.1

ifconfig gives me following output:

venet0    Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet Adresse:127.0.0.1  P-z-P:127.0.0.1  Bcast:0.0.0.0  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1
          RX packets:2244901 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1245534 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:3251971555 (3.0 GiB)  TX bytes:69704302 (66.4 MiB)

venet0:0  Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet Adresse:XXX.XXX.XXX.XXX  P-z-P:XXX.XXX.XXX.XXX  Bcast:0.0.0.0  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1

venet0:1  Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet Adresse:XXX.XXX.XXX.XXX  P-z-P:XXX.XXX.XXX.XXX  Bcast:0.0.0.0  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1

How to setup a network bridge on venet controller?

Thanks for help!

share|improve this question
    
This won't answer your question, but this looks strange to install KVM on an already virtualised machine. Because a VPS is a virtual machine. –  Gregory MOUSSAT Feb 12 '12 at 19:54
    
I know, but I want to virtualize a Windows server on this VPS, and the VPS does have enough power to do that and also does support hardware virtualization needed for kvm, the only problem is to set up the network bridge. –  pbcoder Feb 12 '12 at 19:57
3  
Nested virtualization is rarely a good way to do things. In a strictly development environment, perhaps, but nowhere else. –  EEAA Feb 12 '12 at 20:06
    
It is only needed for testing, because we don't want to run testing on our productive servers. –  pbcoder Feb 12 '12 at 20:11
1  
Is KVM working? It may not be possible to install it depending on the hypervisor that your ISP is using. Check: fedorasolved.org/Members/kc8hfi/qemu-kvm-bridged-networking –  Peter Senna Feb 13 '12 at 1:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.