I installed Xen (3.2 testing) from source (the rpm''s didn''t work on this system for some reason) and when I install a Windows Vista guest I can''t get the networking to work. I''ve gotten Vista guests working fine on systems that I installed from rpms. I''m not really sure what to look at. The output of brctl is: [root@moosen scripts]# brctl show bridge name bridge id STP enabled interfaces eth0 8000.0019b932c635 no peth0 virbr0 8000.b62bbdcde14d yes tap0 vif13.0 In my Xen configuration file, the interface is specified as: vif = [ ''type=ioemu, bridge=virbr0'' ] Could this be something to do with compiling Xen from source? Maybe I missed something there. Any help is appreciated. Thanks -matthew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe you were previously using an older version, or maybe you compiled different than they did for the rpms you are referring to. Based on your brctl output, you should be using bridge=eth0 because peth0 is connected to eth0, and as such, your virtual machine, connected to virbr0, has no connection to the real world. OTOH, if you aren''t getting a network device in Vista, or it is malfunctioning, I don''t know what to tell you. Dustin -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Matthew Donovan Sent: Thursday, June 12, 2008 13:08 To: xen-users@lists.xensource.com Subject: [Xen-users] Networking problem I installed Xen (3.2 testing) from source (the rpm''s didn''t work on this system for some reason) and when I install a Windows Vista guest I can''t get the networking to work. I''ve gotten Vista guests working fine on systems that I installed from rpms. I''m not really sure what to look at. The output of brctl is: [root@moosen scripts]# brctl show bridge name bridge id STP enabled interfaces eth0 8000.0019b932c635 no peth0 virbr0 8000.b62bbdcde14d yes tap0 vif13.0 In my Xen configuration file, the interface is specified as: vif = [ ''type=ioemu, bridge=virbr0'' ] Could this be something to do with compiling Xen from source? Maybe I missed something there. Any help is appreciated. Thanks -matthew _______________________________________________ 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
Setting the "bridge=eth0" didn''t change anything. The Vista guest has a network device. It''s IP address comes up as 169.254.28.48 while the host is on a 192.168.1.0 network. On the working systems (we have more than one in the office) there is libvirtd and dnsmasq running. I''ve seen references to those in other Xen help stuff (e.g. "libvirtd starts dnsmasq which does dhcp for guest OSes". Do I need to get a libvirtd running for networking to work? Thanks -matthew> -----Original Message----- > From: Dustin Henning [mailto:Dustin.Henning@prd-inc.com] > Sent: Thursday, June 12, 2008 1:22 PM > To: ''Matthew Donovan'' > Cc: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Networking problem > > Maybe you were previously using an older version, or maybe you > compiled different than they did for the rpms you are > referring to. Based > on your brctl output, you should be using bridge=eth0 because peth0 is > connected to eth0, and as such, your virtual machine, > connected to virbr0, > has no connection to the real world. OTOH, if you aren''t > getting a network > device in Vista, or it is malfunctioning, I don''t know what > to tell you. > Dustin > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Matthew Donovan > Sent: Thursday, June 12, 2008 13:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Networking problem > > I installed Xen (3.2 testing) from source (the rpm''s didn''t > work on this > system for some reason) and when I install a Windows Vista > guest I can''t get > the networking to work. I''ve gotten Vista guests working > fine on systems > that I installed from rpms. > > I''m not really sure what to look at. The output of brctl is: > > [root@moosen scripts]# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.0019b932c635 no peth0 > virbr0 8000.b62bbdcde14d yes tap0 > vif13.0 > > > In my Xen configuration file, the interface is specified as: > vif = [ ''type=ioemu, bridge=virbr0'' ] > > Could this be something to do with compiling Xen from source? Maybe I > missed something there. > > Any help is appreciated. > Thanks > -matthew > > _______________________________________________ > 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In my compiling experience (some time ago), the networking script created rules in the forwarding chain of iptables. These were good enough (though I still made my own), but would only matter after IP forwarding was enabled in the kernel. IP forwarding may not be enabled automatically when you compile to install (seems like I had to figure out how to enable it manually at one point). Additionally, if there are no rules in the forwarding chain, and the default action for said chain is not accept (i.e. it is reject or drop), no traffic will go through regardless (I never tried with no rules and the action set to accept, so I can''t confirm that would work). Those are the only two thoughts I have. Beyond that, assuming everything outside of Xen is good (dhcp server and vista settings), you''d be dealing with an issue unfamiliar to me. Dustin -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Matthew Donovan Sent: Thursday, June 12, 2008 15:15 To: Dustin.Henning@prd-inc.com Cc: xen-users@lists.xensource.com Subject: RE: [Xen-users] Networking problem Setting the "bridge=eth0" didn''t change anything. The Vista guest has a network device. It''s IP address comes up as 169.254.28.48 while the host is on a 192.168.1.0 network. On the working systems (we have more than one in the office) there is libvirtd and dnsmasq running. I''ve seen references to those in other Xen help stuff (e.g. "libvirtd starts dnsmasq which does dhcp for guest OSes". Do I need to get a libvirtd running for networking to work? Thanks -matthew> -----Original Message----- > From: Dustin Henning [mailto:Dustin.Henning@prd-inc.com] > Sent: Thursday, June 12, 2008 1:22 PM > To: ''Matthew Donovan'' > Cc: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Networking problem > > Maybe you were previously using an older version, or maybe you > compiled different than they did for the rpms you are > referring to. Based > on your brctl output, you should be using bridge=eth0 because peth0 is > connected to eth0, and as such, your virtual machine, > connected to virbr0, > has no connection to the real world. OTOH, if you aren''t > getting a network > device in Vista, or it is malfunctioning, I don''t know what > to tell you. > Dustin > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Matthew Donovan > Sent: Thursday, June 12, 2008 13:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Networking problem > > I installed Xen (3.2 testing) from source (the rpm''s didn''t > work on this > system for some reason) and when I install a Windows Vista > guest I can''t get > the networking to work. I''ve gotten Vista guests working > fine on systems > that I installed from rpms. > > I''m not really sure what to look at. The output of brctl is: > > [root@moosen scripts]# brctl show > bridge name bridge id STP enabled interfaces > eth0 8000.0019b932c635 no peth0 > virbr0 8000.b62bbdcde14d yes tap0 > vif13.0 > > > In my Xen configuration file, the interface is specified as: > vif = [ ''type=ioemu, bridge=virbr0'' ] > > Could this be something to do with compiling Xen from source? Maybe I > missed something there. > > Any help is appreciated. > Thanks > -matthew > > _______________________________________________ > 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 >_______________________________________________ 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