FC7 and qemu + Windows server 2003
Hi All,
I am having my host OS as Fedora 7 and my guest OS is Windows Server 2003. I want to setup Network for Windows Server. I tried creating Network bridge and tap0 device. Also i tried with VDE method for network setup. Can someone please let me know what steps should i follow? Also Is it specific to Network chip. I am having RTL8201. This model is not supported with qemu. How should i go with this ?
Thanks in Anticipation
Thanks and Regards,
Kaushik
Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php
----- Original Message -----
From: Kaushik karandikar
To: [email protected]
Sent: 21 лютага 2008 7:44
Subject: [Qemu-devel] FC7 and qemu + Windows server 2003
Hi All,
I am having my host OS as Fedora 7 and my guest OS is Windows Server 2003. I want to setup Network for Windows Server. I tried creating Network bridge and tap0 device. Also i tried with VDE method for network setup. Can someone please let me know what steps should i follow? Also Is it specific to Network chip. I am having RTL8201. This model is not supported with qemu. How should i go with this ?
You simply should create bridge with tap device :) Assume You already have configured br0 device:
# qemu -net nic,model=rtl8139,macaddr=52:54:00:80:80:01 -net tap,script=$DIR/qemu-ifup-br0,downscript=$DIR/qemu-ifdown-br0 -hda $DIR/virtw2k3 -m 384 -localtime ==start of qemu-ifup-br0== #!/bin/sh
echo Configuring virtual interface $1
if [ "$UID" -eq "0" ]
then
BRIF=br0
if brctl addif $BRIF $1
then
echo $1 added to $BRIF
ifconfig $1 0.0.0.0 up
echo $1 configured for bridge $BRIF
else
IP_LOCAL=169.254.1.1
echo $1 not added to $BRIF
ifconfig $1 $IP_LOCAL up
echo $1 configured to $IP_LOCAL \(like autoip\) # TODO: try to make real autoip
fi
else
echo Will sudo $0
exec sudo -p "Password for $0:" $0 $*
fi
==end of qemu-ifup-br0==
==start of qemu-ifdown-br0==
#!/bin/sh
#echo This script does nothing
echo Deconfiguring virtual interface $1 will be done automatically ==end of qemu-ifdown-br0==