Re: [Qemu-devel] several guests with static ip-address

2005-10-27 Thread Mario Goppold
Hi list, i had the same problem and here is qemu-ifup: #!/bin/sh ( # chgrp users /dev/net/tun # chmod g+w /dev/net/tun # set -x MYIP=192.168.0.1 /bin/logger -t $0 "Start for $1" found=0 DEVS=`/sbin/ifconfig | /bin/awk '/^qbridge/ { print $1 }'` for D in $DEVS; do IP=$(LANG=C /sbin/ifconfig

Re: [Qemu-devel] several guests with static ip-address

2005-10-27 Thread Michael Kapp
> On Wed, 26 Oct 2005, Michael Kapp wrote: > > > OK, can you give me some hints how to do that? > > > > I've tested it with a tun/bridged setup, but it only work with one > guest, > > here is my configuration for the qemu-ifup script: > > Each qemu gets it's own tun device, and you need to make s

Re: [Qemu-devel] several guests with static ip-address

2005-10-26 Thread Henrik Nordstrom
On Wed, 26 Oct 2005, Michael Kapp wrote: OK, can you give me some hints how to do that? I've tested it with a tun/bridged setup, but it only work with one guest, here is my configuration for the qemu-ifup script: Each qemu gets it's own tun device, and you need to make sure your script gets

Re: [Qemu-devel] several guests with static ip-address

2005-10-26 Thread Michael Kapp
> On Tue, 25 Oct 2005, Michael wrote: > > > is it possible, that several (for example two) guests communicate to one > > qemu host, which has only one network interface and every os has it's > > own static ip-address? > > Yes, with TUN networking this works fine. Have used this in > >- bridg

Re: [Qemu-devel] several guests with static ip-address

2005-10-25 Thread Henrik Nordstrom
On Tue, 25 Oct 2005, Michael wrote: is it possible, that several (for example two) guests communicate to one qemu host, which has only one network interface and every os has it's own static ip-address? Yes, with TUN networking this works fine. Have used this in - bridged including the host

[Qemu-devel] several guests with static ip-address

2005-10-25 Thread Michael
hi qemu list, is it possible, that several (for example two) guests communicate to one qemu host, which has only one network interface and every os has it's own static ip-address? For me, only one guest and a qemu host with static ip-address configuration communicate with each other (and with the