Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: KVM network virtualization docs

  1. #1

    Default KVM network virtualization docs

    Hi,

    I have an Opensuse 11.1 system I am using to host a single Opensuse 10.3 KVM guest. The hardware has 2 nics that i would like the host to bridge to the guest. I have done many Googles and have not had a lot of luck finding a set of docs that I can use to help me set this up for Opensuse.

    Does anyone know of where the best documentation to perform this task might be?

    Thanks in advance for any help.

    Rick

  2. #2
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: KVM network virtualization docs

    rjmoseley wrote:

    >
    > Hi,
    >
    > I have an Opensuse 11.1 system I am using to host a single Opensuse
    > 10.3 KVM guest. The hardware has 2 nics that i would like the host to
    > bridge to the guest. I have done many Googles and have not had a lot of
    > luck finding a set of docs that I can use to help me set this up for
    > Opensuse.
    >
    > Does anyone know of where the best documentation to perform this task
    > might be?
    >
    > Thanks in advance for any help.
    >
    > Rick
    >
    >


    Hi, what is the output of:
    Code:
    rpm -q bridge-utils
    --
    Thanks, Andrew
    Posted from openSUSE 11.3 "Teal", KDE 4.5.5

  3. #3

    Default Re: KVM network virtualization docs

    bridge-utils-1.4-23.16 on the host

    bridge-utils-1.0.6-14.3.1 on the guest

  4. #4
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: KVM network virtualization docs

    Are you using libvirt and virt-manager to manage guests?

  5. #5

    Default Re: KVM network virtualization docs

    I am using the "Virtual Machine Manager" under Yast to manage guests.

  6. #6
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: KVM network virtualization docs

    Quote Originally Posted by rjmoseley View Post
    I am using the "Virtual Machine Manager" under Yast to manage guests.
    Yep, thats virt-manager. One more question, I presume you are managing your network with ifup and not NetworkManager? (You can find this out in YaST -> Network Devices -> Network Settings -> Global Options and look under Network Setup Method).

    If you are using ifup you can create a bridge under the host under YaST -> Network Devices -> Network Settings -> Overview -> Add -> Set Device Type dropdown to Bridge -> Next -> Set your IP address or if DHCP etc... -> Bridged Devices tab -> Tick ONE of the devices -> Next. Repeat this for the other network device with different ip etc...

    Doing this will disable IP address on eth0 and eth1 and instead you should get IP address on br0 and br1. If you set a static IP on your bridges make sure you have your name servers and gateway set correctly in Hostname/DNS and Routing tabs. Once setting this, I would do a restart of the host

    Then in Virtual Machine Manager you should be able to add a bridged network adapter

  7. #7

    Default Re: KVM network virtualization docs

    I am indeed not using NetworkManager nor am I using DHCP, rather I am setting static IP addresses. I have done pretty much what you said on the host side, it is the guest side that seems to be causing my problem. How in the Virtual Machine Manager can I set up a bridged network adapter for the guest?

    Thanks for your time,

    Rick

  8. #8
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: KVM network virtualization docs

    I am currently not at my server and can't remember how to do it. I should be home in a few hours and be able to tell you then. Maybe somebody else might be able to tell you how to do it in the mean time

  9. #9

    Default Re: KVM network virtualization docs


  10. #10
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: KVM network virtualization docs

    Quote Originally Posted by please_try_again View Post
    When I set up my KVM host that guide didn't exist so I followed this guide which was quite helpful. I figured out how to do the networking part of it on my own (which I can't remember now ):
    KVM Virtualization on openSUSE 11.3 | Spirit of Change

    I also followed this to unpatch virt-manager to get back the generic create vm wizard instead of the Novell one (which I personally find better - maybe I am used to the generic wizard). Even though it talks about Xen it still applies:
    Hackery Virt-manager on OpenSuse 11.3 to perform PV Guests installs via Apache Mirrors Xen Virtualization on Linux and Solaris

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •