I did not install kvm using rpm because I compiled it (is there a rpm for fedora core 6 ?) so I cannot find the kvm script on /etc/init.d
Then if I create the bridge when I add the eth2 interface my system stop responding on the network. brctl addbr bridge (ok) brctl addif bridge eth2 then I connont ping my system anymore till I remove the bridge ----- Messaggio da [EMAIL PROTECTED] --------- Data: Tue, 30 Jan 2007 05:04:31 -0800 Da: Dor Laor <[EMAIL PROTECTED]> Rispondi-A: Dor Laor <[EMAIL PROTECTED]> Oggetto: Re: [kvm-devel] kvm 12 windows XP network A: [EMAIL PROTECTED] Cc: kvm-devel@lists.sourceforge.net > Oops, my mistake, for your previous run I noticed you don't have a > bridge set up at all. (I thought you have one named 'bridge' but that > was a mistake.) > > So please run the kvm script, you can build & install the rpm and it > will automatically add itself to the /etc/init.d dir. > > Alternative is to add a bridge by 'brctl addbr bridge' > Plus join you physical interface to it (brctl addif bridge ethX). > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, January 30, 2007 2:53 PM >> To: Dor Laor >> Cc: Uri Lublin; kvm-devel@lists.sourceforge.net >> Subject: Re: [kvm-devel] kvm 12 windows XP network >> >> Ok >> At this time mai script /root/kvm-svn/kvm/scripts/qemu-ifup contains: >> >> #!/bin/sh >> >> #switch=$(ip route list | awk '/^default / { print $NF }') >> switch="bridge" >> ifconfig $1 0.0.0.0 up >> brctl addif ${switch} $1 >> >> >> >> If a try this: >> >> /usr/local/bin/qemu-system-x86_64 -no-acpi -hda >> /root/winXP/windows_kvm.disk -boot c -m 1024 -cdrom >> /root/winXP/winXP.iso -net nic -net >> tap,script=/root/kvm-svn/kvm/scripts/qemu-ifup >> >> the following error appears:bridge bridge does not exist! >> >> bridge bridge does not exist! >> /root/kvm-svn/kvm/scripts/qemu-ifup: could not launch network script >> Could not initialize device 'tap' >> >> >> >> >> ----- Messaggio da [EMAIL PROTECTED] --------- >> Data: Tue, 30 Jan 2007 04:44:16 -0800 >> Da: Dor Laor <[EMAIL PROTECTED]> >> Rispondi-A: Dor Laor <[EMAIL PROTECTED]> >> Oggetto: Re: [kvm-devel] kvm 12 windows XP network >> A: [EMAIL PROTECTED], Uri Lublin >> <[EMAIL PROTECTED]> >> Cc: kvm-devel@lists.sourceforge.net >> >> >>> The problem is that the qemu-ifup script assumes you used the kvm >>> script from the svn for bringing the bridge up. The kvm script puts >>> the IP address on the bridge and also the default gw, thus the >>> qemu-ifup script thinks your eth2 is the bridge. >>> >>> So either use the kvm script (in the scripts directory) for setting >>> up the bridge or change qemu-ifup line >>> - switch=$(ip route list | awk '/^default / { print $NF }') >>> To >>> Switch="bridge" >>> >>>> Here there is the report: >>>> rpm -q bridge-utils >>>> bridge-utils-1.1-2 >>>> >>>> >>>> /sbin/lsmod | grep bridge >>>> bridge 98929 0 >>>> >>>> /usr/sbin/brctl show >>>> bridge name bridge id STP enabled interfaces >>>> >>>> /sbin/ip route list | grep default >>>> default via 158.102.66.129 dev eth2 >>>> >>>> >>>> >>>> >>>> ----- Messaggio da [EMAIL PROTECTED] --------- >>>> Data: Tue, 30 Jan 2007 03:54:50 -0800 >>>> Da: Uri Lublin <[EMAIL PROTECTED]> >>>> Rispondi-A: Uri Lublin <[EMAIL PROTECTED]> >>>> Oggetto: RE: [kvm-devel] kvm 12 windows XP network >>>> A: [EMAIL PROTECTED] >>>> Cc: kvm-devel@lists.sourceforge.net >>>> >>>> >>>>> >>>>> Please run the following commands and report their output: >>>>> rpm -q bridge-utils >>>>> /sbin/lsmod | grep bridge >>>>> /usr/sbin/brctl show >>>>> /sbin/ip route list | grep default >>>>> >>>>> -----Original Message----- >>>>> From: [EMAIL PROTECTED] on behalf of >>>>> [EMAIL PROTECTED] >>>>> Sent: Tue 30/01/2007 13:26 >>>>> To: Dor Laor >>>>> Cc: kvm-devel@lists.sourceforge.net >>>>> Subject: Re: [kvm-devel] kvm 12 windows XP network >>>>> >>>>> >>>>> Sorry, I did not understand ! >>>>> Could me explain what I must put in the quemu-ifup script ? >>>>> I am using the original supplayed by kvm svn !!! >>>>> >>>>> Thanks >>>>> >>>>> ----- Messaggio da [EMAIL PROTECTED] --------- >>>>> Data: Tue, 30 Jan 2007 03:08:20 -0800 >>>>> Da: Dor Laor <[EMAIL PROTECTED]> >>>>> Rispondi-A: Dor Laor <[EMAIL PROTECTED]> >>>>> Oggetto: RE: [kvm-devel] kvm 12 windows XP network >>>>> A: [EMAIL PROTECTED], kvm- >>>> [EMAIL PROTECTED] >>>>> >>>>> >>>>>>> Good morning, I installed kvm 12 on a linux fedora core 6. >>>>>>> I also installed a windows XP guest but I am not able to setup >> bridging >>>>>>> network. >>>>>>> If I launch: >>>>>>> /usr/local/bin/qemu-system-x86_64 -no-acpi -hda >>>>>>> /root/winXP/windows_kvm.disk -boot c -m 1024 -cdrom >>>>>>> /root/winXP/winXP.iso -net nic -net >>>>>>> tap,script=/root/kvm-svn/kvm/scripts/qemu-ifup >>>>>>> >>>>>>> the following error is displayed: >>>>>>> >>>>>>> can't add ÿ to bridge eth2: Operation not supported >>>>>>> /root/kvm-svn/kvm/scripts/qemu-ifup: could not launch network script >>>>>>> Could not initialize device 'tap' >>>>>>> >>>>>>> Could anyone help me ? >>>>>> >>>>>> Seems like the bridge is not running ">can't add ÿ to bridge eth2:" >>>>>> It should add the tap to the bridge and not to eth2. >>>>>> The qemu-ifup script decides the bridge to use according to the >> default >>>> gw. >>>>>> You can change either the gw or the qemu-ifup script. >>>>>> >>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >> -- >>>> -- >>>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to >> share >>>>>>> your >>>>>>> opinions on IT & business topics through brief surveys - and earn >> cash >>>>>>> >>>> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>>>> _______________________________________________ >>>>>>> kvm-devel mailing list >>>>>>> kvm-devel@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel >>>>>> >>>>> >>>>> >>>>> ----- Fine messaggio da [EMAIL PROTECTED] ----- >>>>> >>>>> >>>>> >>>>> >>>>> ----------------------------------------------------------------------- >> -- >>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>> your >>>>> opinions on IT & business topics through brief surveys - and earn cash >>>>> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>> _______________________________________________ >>>>> kvm-devel mailing list >>>>> kvm-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel >>>>> >>>>> >>>>> >>>> >>>> >>>> ----- Fine messaggio da [EMAIL PROTECTED] ----- >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >> - >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>> your >>>> opinions on IT & business topics through brief surveys - and earn cash >>>> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>> _______________________________________________ >>>> kvm-devel mailing list >>>> kvm-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> kvm-devel mailing list >>> kvm-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/kvm-devel >>> >> >> >> ----- Fine messaggio da [EMAIL PROTECTED] ----- >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ----- Fine messaggio da [EMAIL PROTECTED] ----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel