I''ve looked long and hard for an answer to this and am stuck. I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I can connect fine to the instance via VNC but I get no networking within the windows instance as it says the IP address conflicts with another on the network. All my linux instances network fine, and I''m confused as to the issue. Can anybody provide any pointers? My cfg is: kernel = "/usr/lib/xen-default/boot/hvmloader" builder = ''hvm'' vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] memory = 512 shadow_memory = 8 disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] device_model = ''/usr/lib/xen-default/bin/qemu-dm'' boot = "dc" vnc = 1 # use VNC to insall and setup windows after that is done you can disable this vncpasswd = ''***'' vnclisten = ''78.xxx.xxx.xxx'' vcpus = 2 # number of cpu''s to assign stdvga = 0 serial = ''pty'' usbdevice = ''tablet'' # Required for USB mouse on_reboot = ''restart'' on_crash = ''restart'' Thanks Jake -- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I would start with removing the "ip=78.xxx.xxx.xxx" parameter from DomU config. :) Regards Matej ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Jake Stride [jake@stride.me.uk] Sent: 02 January 2011 14:33 To: xen-users@lists.xensource.com Subject: [Xen-users] HVM Networking Issues I''ve looked long and hard for an answer to this and am stuck. I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I can connect fine to the instance via VNC but I get no networking within the windows instance as it says the IP address conflicts with another on the network. All my linux instances network fine, and I''m confused as to the issue. Can anybody provide any pointers? My cfg is: kernel = "/usr/lib/xen-default/boot/hvmloader" builder = ''hvm'' vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] memory = 512 shadow_memory = 8 disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] device_model = ''/usr/lib/xen-default/bin/qemu-dm'' boot = "dc" vnc = 1 # use VNC to insall and setup windows after that is done you can disable this vncpasswd = ''***'' vnclisten = ''78.xxx.xxx.xxx'' vcpus = 2 # number of cpu''s to assign stdvga = 0 serial = ''pty'' usbdevice = ''tablet'' # Required for USB mouse on_reboot = ''restart'' on_crash = ''restart'' Thanks Jake -- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Matej, I still get the conflict even when that is removed. Thanks Jake On 2 January 2011 21:33, Matej Zary <matej.zary@cvtisr.sk> wrote:> Hi, > > I would start with removing the "ip=78.xxx.xxx.xxx" parameter from DomU config. :) > > > Regards > > Matej > ________________________________________ > From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Jake Stride [jake@stride.me.uk] > Sent: 02 January 2011 14:33 > To: xen-users@lists.xensource.com > Subject: [Xen-users] HVM Networking Issues > > I''ve looked long and hard for an answer to this and am stuck. > > I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I > can connect fine to the instance via VNC but I get no networking > within the windows instance as it says the IP address conflicts with > another on the network. > > All my linux instances network fine, and I''m confused as to the issue. > Can anybody provide any pointers? My cfg is: > > kernel = "/usr/lib/xen-default/boot/hvmloader" > builder = ''hvm'' > vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] > memory = 512 > shadow_memory = 8 > disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] > device_model = ''/usr/lib/xen-default/bin/qemu-dm'' > boot = "dc" > vnc = 1 # use VNC to insall and setup windows after that is done you > can disable this > vncpasswd = ''***'' > vnclisten = ''78.xxx.xxx.xxx'' > vcpus = 2 # number of cpu''s to assign > stdvga = 0 > serial = ''pty'' > usbdevice = ''tablet'' # Required for USB mouse > on_reboot = ''restart'' > on_crash = ''restart'' > > Thanks > Jake > > -- > Jake Stride > > Find out more http://about.me/jakestride or follow me on twitter @jake. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jake, in this case I would believe in what the Windows are trying to say and would look if there''s the same IP address you inserted in the Win XP Control Centre used somewhere in that physical subnet (seems like the Windows DomU is bridged to the same network as the Dom0). Have you tried different IP address? Matej ________________________________________ From: Jake Stride [jake@stride.me.uk] Sent: 02 January 2011 22:53 To: Matej Zary Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] HVM Networking Issues Hi Matej, I still get the conflict even when that is removed. Thanks Jake On 2 January 2011 21:33, Matej Zary <matej.zary@cvtisr.sk> wrote:> Hi, > > I would start with removing the "ip=78.xxx.xxx.xxx" parameter from DomU config. :) > > > Regards > > Matej > ________________________________________ > From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Jake Stride [jake@stride.me.uk] > Sent: 02 January 2011 14:33 > To: xen-users@lists.xensource.com > Subject: [Xen-users] HVM Networking Issues > > I''ve looked long and hard for an answer to this and am stuck. > > I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I > can connect fine to the instance via VNC but I get no networking > within the windows instance as it says the IP address conflicts with > another on the network. > > All my linux instances network fine, and I''m confused as to the issue. > Can anybody provide any pointers? My cfg is: > > kernel = "/usr/lib/xen-default/boot/hvmloader" > builder = ''hvm'' > vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] > memory = 512 > shadow_memory = 8 > disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] > device_model = ''/usr/lib/xen-default/bin/qemu-dm'' > boot = "dc" > vnc = 1 # use VNC to insall and setup windows after that is done you > can disable this > vncpasswd = ''***'' > vnclisten = ''78.xxx.xxx.xxx'' > vcpus = 2 # number of cpu''s to assign > stdvga = 0 > serial = ''pty'' > usbdevice = ''tablet'' # Required for USB mouse > on_reboot = ''restart'' > on_crash = ''restart'' > > Thanks > Jake > > -- > Jake Stride > > Find out more http://about.me/jakestride or follow me on twitter @jake. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Matej, Yes I have tried other IP addresses and that IP address isn''t in use anywhere else on the system/subnet but still get the same issues. Thanks Jake On 2 January 2011 22:06, Matej Zary <matej.zary@cvtisr.sk> wrote:> Jake, in this case I would believe in what the Windows are trying to say and would look if there''s the same IP address you inserted in the Win XP Control Centre used somewhere in that physical subnet (seems like the Windows DomU is bridged to the same network as the Dom0). Have you tried different IP address? > > Matej > ________________________________________ > From: Jake Stride [jake@stride.me.uk] > Sent: 02 January 2011 22:53 > To: Matej Zary > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] HVM Networking Issues > > Hi Matej, > > I still get the conflict even when that is removed. > > Thanks > Jake > > On 2 January 2011 21:33, Matej Zary <matej.zary@cvtisr.sk> wrote: >> Hi, >> >> I would start with removing the "ip=78.xxx.xxx.xxx" parameter from DomU config. :) >> >> >> Regards >> >> Matej >> ________________________________________ >> From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Jake Stride [jake@stride.me.uk] >> Sent: 02 January 2011 14:33 >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] HVM Networking Issues >> >> I''ve looked long and hard for an answer to this and am stuck. >> >> I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I >> can connect fine to the instance via VNC but I get no networking >> within the windows instance as it says the IP address conflicts with >> another on the network. >> >> All my linux instances network fine, and I''m confused as to the issue. >> Can anybody provide any pointers? My cfg is: >> >> kernel = "/usr/lib/xen-default/boot/hvmloader" >> builder = ''hvm'' >> vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] >> memory = 512 >> shadow_memory = 8 >> disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] >> device_model = ''/usr/lib/xen-default/bin/qemu-dm'' >> boot = "dc" >> vnc = 1 # use VNC to insall and setup windows after that is done you >> can disable this >> vncpasswd = ''***'' >> vnclisten = ''78.xxx.xxx.xxx'' >> vcpus = 2 # number of cpu''s to assign >> stdvga = 0 >> serial = ''pty'' >> usbdevice = ''tablet'' # Required for USB mouse >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> Thanks >> Jake >> >> -- >> Jake Stride >> >> Find out more http://about.me/jakestride or follow me on twitter @jake. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > Jake Stride > > Find out more http://about.me/jakestride or follow me on twitter @jake. >-- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Well, in that case, i would use tcpdump on the Dom0 to capture and analyze all the traffic going from and to virtual NIC belonging to the damned Win XP DomU (and going thru the IP addr setup in Win.) , just to make sure that it''s not network related problem but something between the Windows and the hypervisor. :) It migt be something simple I''m overlooking, but late hour and holidays brain cells laziness might be taking some toll. :) Matej ________________________________________ From: Jake Stride [jake@stride.me.uk] Sent: 02 January 2011 23:31 To: Matej Zary Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] HVM Networking Issues Hi Matej, Yes I have tried other IP addresses and that IP address isn''t in use anywhere else on the system/subnet but still get the same issues. Thanks Jake On 2 January 2011 22:06, Matej Zary <matej.zary@cvtisr.sk> wrote:> Jake, in this case I would believe in what the Windows are trying to say and would look if there''s the same IP address you inserted in the Win XP Control Centre used somewhere in that physical subnet (seems like the Windows DomU is bridged to the same network as the Dom0). Have you tried different IP address? > > Matej > ________________________________________ > From: Jake Stride [jake@stride.me.uk] > Sent: 02 January 2011 22:53 > To: Matej Zary > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] HVM Networking Issues > > Hi Matej, > > I still get the conflict even when that is removed. > > Thanks > Jake > > On 2 January 2011 21:33, Matej Zary <matej.zary@cvtisr.sk> wrote: >> Hi, >> >> I would start with removing the "ip=78.xxx.xxx.xxx" parameter from DomU config. :) >> >> >> Regards >> >> Matej >> ________________________________________ >> From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Jake Stride [jake@stride.me.uk] >> Sent: 02 January 2011 14:33 >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] HVM Networking Issues >> >> I''ve looked long and hard for an answer to this and am stuck. >> >> I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I >> can connect fine to the instance via VNC but I get no networking >> within the windows instance as it says the IP address conflicts with >> another on the network. >> >> All my linux instances network fine, and I''m confused as to the issue. >> Can anybody provide any pointers? My cfg is: >> >> kernel = "/usr/lib/xen-default/boot/hvmloader" >> builder = ''hvm'' >> vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] >> memory = 512 >> shadow_memory = 8 >> disk = [ ''phy:/dev/xen-vol/xp,hdc,w'' ] >> device_model = ''/usr/lib/xen-default/bin/qemu-dm'' >> boot = "dc" >> vnc = 1 # use VNC to insall and setup windows after that is done you >> can disable this >> vncpasswd = ''***'' >> vnclisten = ''78.xxx.xxx.xxx'' >> vcpus = 2 # number of cpu''s to assign >> stdvga = 0 >> serial = ''pty'' >> usbdevice = ''tablet'' # Required for USB mouse >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> Thanks >> Jake >> >> -- >> Jake Stride >> >> Find out more http://about.me/jakestride or follow me on twitter @jake. >>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bridge=eth0 is wrong - it should be something like virbr0 or whatever your bridge is (I use Fedora, but the idea with Xen networking is more or less same) - eth0 is physical device, can''t do it like that. ZP. 2011/1/2 Jake Stride <jake@stride.me.uk>> ...vif = [ ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' > ] > ... >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2011/1/3 Zoran Popović <shoom013@gmail.com>:> bridge=eth0 is wrong - it should be something like virbr0 or whatever your > bridge is (I use Fedora, but the idea with Xen networking is more or less > same) - eth0 is physical device, can''t do it like that.Actually, it might be correct, as some versions of xen use "eth0" as bridge name. You got a point though, better run "brctl show" to determine the correct bridge name. Another thing the OP might do is make sure the MAC is unique, not used on some other machine on the same network. -- Fajar> > ZP. > > 2011/1/2 Jake Stride <jake@stride.me.uk> >> >> ...vif = [ >> ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ]_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Zoran, I believe debian renames the network interfaces so brctl show gives: bridge name bridge id STP enabled interfaces eth0 8000.001b242dbee1 no peth0 tap0 vif32.0 vif5.0 vif52.0 vif53.0 vif59.0 vif6.0 vif60.0 vif8.0 Thanks Jake 2011/1/3 Fajar A. Nugraha <list@fajar.net>:> 2011/1/3 Zoran Popović <shoom013@gmail.com>: >> bridge=eth0 is wrong - it should be something like virbr0 or whatever your >> bridge is (I use Fedora, but the idea with Xen networking is more or less >> same) - eth0 is physical device, can''t do it like that. > > Actually, it might be correct, as some versions of xen use "eth0" as > bridge name. > You got a point though, better run "brctl show" to determine the > correct bridge name. Another thing the OP might do is make sure the > MAC is unique, not used on some other machine on the same network. > > -- > Fajar > >> >> ZP. >> >> 2011/1/2 Jake Stride <jake@stride.me.uk> >>> >>> ...vif = [ >>> ''type=ioemu,bridge=eth0,ip=78.xxx.xxx.xxx,mac=22:61:34:00:00:01'' ] >-- Jake Stride Find out more http://about.me/jakestride or follow me on twitter @jake. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users