Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bridge [2012/11/04 20:59] (current)
Line 1: Line 1:
 +
 +@related : [[Emu]]
 +
 +
 +
 +http://kidsquid.com/cgi-bin/moin.cgi/bridge
 +
 +apt-get install bridge-utils
 +
 +
 +brctl addbr br0
 +ifconfig eth0 0.0.0.0 up
 +brctl addif br0 eth0
 +
 +
 +echo 1 > /proc/sys/net/ipv4/ip_forward
 +
 +cat /etc/qemu-ifup
 +
 +mv /etc/qemu-ifup  /etc/qemu-ifup.orig
 +
 +cat <<EOF > /etc/qemu-ifup  ; chmod a+rx /etc/qemu-ifup
 +#===/bin/sh===
 +sudo /sbin/ifconfig $1 0.0.0.0 promisc up
 +sudo /usr/sbin/brctl addif br0 $1
 +EOF
 +
 +
 +sudo chmod 666 /dev/net/tun
 +
 +cat<< EOF >> /etc/network/intefaces
 +#{ #http://rzr.online.fr/q/Emu
 +auto br0
 +iface br0 inet static
 +address 192.168.0.2
 +netmask 255.255.255.0
 +network 192.168.0.0
 +gateway 192.168.0.1
 +bridge_ports eth0
 +bridge_stp off
 +bridge_maxwait 5
 +# referenced from http://qemu-forum.ipi.fi/viewtopic.php?t=374
 +#} #http://rzr.online.fr/q/Emu
 +EOF
 +
 +  grep forward /etc/sysctl.conf
 +  net.ipv4.conf.default.forwarding=1
 +
 +  CDROM=ulteo-kde-i386-sirius-20061206-1.iso
 +
 +  qemu -cdrom ${CDROM} -net nic,vlan=0 -net tap,vlan=0 $*
  
bridge.txt ยท Last modified: 2012/11/04 20:59 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki