Re: [Qemu-devel] Is there any approach to setup guest only network

2010-11-17 Thread 郭沐錫
Dear all I have set two directory for QEMU. One of my qemu-ifup is as follow(the other ip address is different) *#!/bin/sh* *sudo modprobe tun* *sudo /sbin/ifconfig $1 up 192.168.2.52 netmask 255.255.255.0 broadcast 192.168.2.255* * * *# IP masquerade* *sudo echo "1" > /proc/sys/net/ipv4/ip_forw

Re: [Qemu-devel] Is there any approach to setup guest only network

2010-11-16 Thread 郭沐錫
Dear all Sorry I can't understand what you mean. I know I still have many things to learn. Please can you explain more clearly. Thanks a lot Best Regards, Sn 2010/11/17 Mulyadi Santosa > Hi > > 2010/11/16 郭沐錫 : > > Dear all > > I have set two directory for QEMU. > > One of my qemu-ifup

Re: [Qemu-devel] Is there any approach to setup guest only network

2010-11-16 Thread Mulyadi Santosa
Hi 2010/11/16 郭沐錫 : > Dear all > I have set two directory for QEMU. > One of my qemu-ifup is as follow(the other ip address is different) > #!/bin/sh > sudo modprobe tun > sudo /sbin/ifconfig $1 up 192.168.2.52 netmask 255.255.255.0 broadcast > 192.168.2.255 > > # IP masquerade > sudo echo "1"

Re: [Qemu-devel] Is there any approach to setup guest only network

2010-11-16 Thread Mulyadi Santosa
On Tue, Nov 16, 2010 at 17:11, 郭沐錫 wrote: > Dear all > I have run QEMU with debian > I can use TUN/TAP to connect the internet or host when single QEMU > However when I run two QEMU with two qemu-ifup and different address (on the > same host) at the same time, the second QEMU cannot connect to ho

[Qemu-devel] Is there any approach to setup guest only network

2010-11-16 Thread 郭沐錫
Dear all I have run QEMU with debian I can use TUN/TAP to connect the internet or host when single QEMU However when I run two QEMU with two qemu-ifup and different address (on the same host) at the same time, the second QEMU cannot connect to host... Is there are any approach to setup guest on