[Ubutnu] Create bridged network for qemu

Simple way to create bridged network between Ubuntu host and qemu client Install bridge-utils package first. sudo apt-get install bridge-utils Edit /etc/network/interfaces, and append the following configurations. Add a bridged network (br0) to your host network adapter (eth0)
------------------------
auto br0
iface br0 inet dhcp
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0
------------------------
Restart your network. sudo /etc/init.d/networking restart Edit your script to boot qemu client, here is an example (-net nic, -net bridge,br=br0) qemu -net nic, -net bridge,br=br0 you are now ready to boot your qemu client with bridged network

No comments:

Post a Comment

Orange - data analysis tool

Installation pip install orange3 Run orange python -m Orange.canvas