[opensuse] QEMU and accessing the local network
I am trying to get qemu on openSUSE 11.2 to access the local network. It needs to do this when booting the OS (a variant of openSUSE built with KIWI - boots over PXE and is diskless, using AoE to access the root partition - it needs the network to boot). I get to the point where the guest OS wants to do something over the network. It has things set up to use qemu's private network, which is not what I need. I was looking at this for some help: http://people.redhat.com/berrange/olpc/sdk/network-bridge.html This seems to be describing what I want to accomplish. I have dnsmasq and vde installed. But I cannot find anything called qemu-network. I am guessing it is a Red Hat thing. Is there perhaps a counterpart for openSUSE? Or am I going about this in the wrong way? I need the guest OS to use it's own MAC address, and to pass all things to the local network. I think this is a bridged setup. Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 3/4/2011 11:15 AM, Roger Oberholtzer wrote:
I am trying to get qemu on openSUSE 11.2 to access the local network. It needs to do this when booting the OS (a variant of openSUSE built with KIWI - boots over PXE and is diskless, using AoE to access the root partition - it needs the network to boot).
I get to the point where the guest OS wants to do something over the network. It has things set up to use qemu's private network, which is not what I need.
I was looking at this for some help:
http://people.redhat.com/berrange/olpc/sdk/network-bridge.html
This seems to be describing what I want to accomplish. I have dnsmasq and vde installed. But I cannot find anything called qemu-network. I am guessing it is a Red Hat thing. Is there perhaps a counterpart for openSUSE? Or am I going about this in the wrong way?
I need the guest OS to use it's own MAC address, and to pass all things to the local network. I think this is a bridged setup.
Yours sincerely,
Roger Oberholtzer
It is a bridged setup. If you aren't sure how to do this, I'm sure I or someone else can help you. There are other documentation resources that outline the process though. -Matt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2011-03-04 at 11:19 -0500, Matt Hayes wrote:
It is a bridged setup. If you aren't sure how to do this, I'm sure I or someone else can help you. There are other documentation resources that outline the process though.
I would like the bridge to be to the eth1 interface, which looks like
this:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.2.10.41/28'
MTU=''
NAME='RTL-8139/8139C/8139C+'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
4: eth1:
On Fri, 2011-03-04 at 11:19 -0500, Matt Hayes wrote:
On 3/4/2011 11:15 AM, Roger Oberholtzer wrote:
I am trying to get qemu on openSUSE 11.2 to access the local network. It needs to do this when booting the OS (a variant of openSUSE built with KIWI - boots over PXE and is diskless, using AoE to access the root partition - it needs the network to boot).
I get to the point where the guest OS wants to do something over the network. It has things set up to use qemu's private network, which is not what I need.
I was looking at this for some help:
http://people.redhat.com/berrange/olpc/sdk/network-bridge.html
This seems to be describing what I want to accomplish. I have dnsmasq and vde installed. But I cannot find anything called qemu-network. I am guessing it is a Red Hat thing. Is there perhaps a counterpart for openSUSE? Or am I going about this in the wrong way?
I need the guest OS to use it's own MAC address, and to pass all things to the local network. I think this is a bridged setup.
Yours sincerely,
Roger Oberholtzer
It is a bridged setup. If you aren't sure how to do this, I'm sure I or someone else can help you. There are other documentation resources that outline the process though.
I guess there are two steps: 1. Set up a bridge in openSUSE 2. Tell qemu to use it. I think this page was useful for step 2. http://compsoc.dur.ac.uk/~djw/qemu.html But I am not sure how to set up the bridge permanently on openSUSE. The man page for ifcfg-bridge seems to be a good starting point. I guess I need to make a file called /etc/sysconfig/network/ifcfg-br0, and fill it with brilliance. Maybe something like: BOOTPROTO='static' IPADDR='10.1.9.1/24' address 192.168.1.2 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
-Matt
Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Matt Hayes
-
Roger Oberholtzer