Octavian Teodorescu
2007-Jun-01 13:11 UTC
[Xen-users] Don''t have any nic in the guest dom
Hi guys, I was wondering what am I doing wrong since on the guest domain I don''t have any network card. When executing ifconfig -a it shows me just the loopback interface. In the config of the guest domain I have: vif = [ ''mac=00:00:01:02:03:04 , ip=86.105.198.253, bridge=xenbr0'' ] Any ideas guys? Best regards, Octav _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Jun-01 13:16 UTC
RE: [Xen-users] Don''t have any nic in the guest dom
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Octavian Teodorescu > Sent: 01 June 2007 14:12 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Don''t have any nic in the guest dom > > Hi guys, > > I was wondering what am I doing wrong since on the guest > domain I don''t > have any network card. When executing ifconfig -a it shows me just the > loopback interface. > In the config of the guest domain I have: > vif = [ ''mac=00:00:01:02:03:04 , ip=86.105.198.253, bridge=xenbr0'' ]Does look OK to me. Is this a PV or HVM domain? HVM domains can not have an IP address in the configuration file - you have to configure the IP address in the guest somehow (I use DHCP, but that''s obviously not always the right solution - but the setup is exactly the same as if you had the real machine, so Windows network control panel or whatever Linux stuff you use to setup network settings (including, "ifconfig eth0 ..." if that''s what you want to do - probably want to stuff that in a /etc/init.d and link to /etc/rcN.d as well, if that''s the case)). -- mats> > Any ideas guys? > > Best regards, > Octav > > > _______________________________________________ > 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
Octavian Teodorescu
2007-Jun-01 14:03 UTC
RE: [Xen-users] Don''t have any nic in the guest dom
Nope it is not a hvm, it is a pv. I''ve checked (on the guest dom) in the /etc/sysconfig/network-scripts and there is ifcfg-eth0 with the information I''ve put in the config file of the guest. So the lines should be right. What I think is that I don''t have any driver loaded for the virtual network card. Do you know what driver do I need for this? Or if I''m wrong, any other ideas?>> >> >>> -----Original Message----- >>> From: xen-users-bounces@lists.xensource.com >>> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >>> Octavian Teodorescu >>> Sent: 01 June 2007 14:12 >>> To: xen-users@lists.xensource.com >>> Subject: [Xen-users] Don''t have any nic in the guest dom >>> >>> Hi guys, >>> >>> I was wondering what am I doing wrong since on the guest >>> domain I don''t >>> have any network card. When executing ifconfig -a it shows me just the >>> loopback interface. >>> In the config of the guest domain I have: >>> vif = [ ''mac=00:00:01:02:03:04 , ip=86.105.198.253, bridge=xenbr0'' ] >> >> Does look OK to me. >> >> Is this a PV or HVM domain? >> >> HVM domains can not have an IP address in the configuration file - you >> have to configure the IP address in the guest somehow (I use DHCP, but >> that''s obviously not always the right solution - but the setup is >> exactly the same as if you had the real machine, so Windows network >> control panel or whatever Linux stuff you use to setup network settings >> (including, "ifconfig eth0 ..." if that''s what you want to do - probably >> want to stuff that in a /etc/init.d and link to /etc/rcN.d as well, if >> that''s the case)). >> >> -- >> mats >> >>> >>> Any ideas guys? >>> >>> Best regards, >>> Octav >>> >>> >>> _______________________________________________ >>> 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
Petersson, Mats
2007-Jun-01 14:08 UTC
RE: [Xen-users] Don''t have any nic in the guest dom
> -----Original Message----- > From: Octavian Teodorescu [mailto:octav@inetsolutions.ro] > Sent: 01 June 2007 15:03 > To: Petersson, Mats > Cc: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Don''t have any nic in the guest dom > > Nope it is not a hvm, it is a pv. > I''ve checked (on the guest dom) in the > /etc/sysconfig/network-scripts and > there is ifcfg-eth0 with the information I''ve put in the > config file of > the guest. So the lines should be right. What I think is that > I don''t have > any driver loaded for the virtual network card. > Do you know what driver do I need for this? Or if I''m wrong, > any other ideas?That would be the "netfront" driver. (under /lib/modules/<version>/drivers/xen if it''s a module). -- Mats> > >> > >> > >>> -----Original Message----- > >>> From: xen-users-bounces@lists.xensource.com > >>> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > >>> Octavian Teodorescu > >>> Sent: 01 June 2007 14:12 > >>> To: xen-users@lists.xensource.com > >>> Subject: [Xen-users] Don''t have any nic in the guest dom > >>> > >>> Hi guys, > >>> > >>> I was wondering what am I doing wrong since on the guest > >>> domain I don''t > >>> have any network card. When executing ifconfig -a it > shows me just the > >>> loopback interface. > >>> In the config of the guest domain I have: > >>> vif = [ ''mac=00:00:01:02:03:04 , ip=86.105.198.253, > bridge=xenbr0'' ] > >> > >> Does look OK to me. > >> > >> Is this a PV or HVM domain? > >> > >> HVM domains can not have an IP address in the > configuration file - you > >> have to configure the IP address in the guest somehow (I > use DHCP, but > >> that''s obviously not always the right solution - but the setup is > >> exactly the same as if you had the real machine, so Windows network > >> control panel or whatever Linux stuff you use to setup > network settings > >> (including, "ifconfig eth0 ..." if that''s what you want to > do - probably > >> want to stuff that in a /etc/init.d and link to /etc/rcN.d > as well, if > >> that''s the case)). > >> > >> -- > >> mats > >> > >>> > >>> Any ideas guys? > >>> > >>> Best regards, > >>> Octav > >>> > >>> > >>> _______________________________________________ > >>> 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
Octavian Teodorescu
2007-Jun-01 14:49 UTC
RE: [Xen-users] Don''t have any nic in the guest dom
Perfect if I load the module by hand, I can see the network card. Can''t do it automaticly with /etc/modprobe.conf... but this is an operating system problem. So ... thanks for helping me out. ;)>> >> >>> -----Original Message----- >>> From: Octavian Teodorescu [mailto:octav@inetsolutions.ro] >>> Sent: 01 June 2007 15:03 >>> To: Petersson, Mats >>> Cc: xen-users@lists.xensource.com >>> Subject: RE: [Xen-users] Don''t have any nic in the guest dom >>> >>> Nope it is not a hvm, it is a pv. >>> I''ve checked (on the guest dom) in the >>> /etc/sysconfig/network-scripts and >>> there is ifcfg-eth0 with the information I''ve put in the >>> config file of >>> the guest. So the lines should be right. What I think is that >>> I don''t have >>> any driver loaded for the virtual network card. >>> Do you know what driver do I need for this? Or if I''m wrong, >>> any other ideas? >> >> That would be the "netfront" driver. (under >> /lib/modules/<version>/drivers/xen if it''s a module). >> >> -- >> Mats >>> >>> >> >>> >> >>> >>> -----Original Message----- >>> >>> From: xen-users-bounces@lists.xensource.com >>> >>> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >>> >>> Octavian Teodorescu >>> >>> Sent: 01 June 2007 14:12 >>> >>> To: xen-users@lists.xensource.com >>> >>> Subject: [Xen-users] Don''t have any nic in the guest dom >>> >>> >>> >>> Hi guys, >>> >>> >>> >>> I was wondering what am I doing wrong since on the guest >>> >>> domain I don''t >>> >>> have any network card. When executing ifconfig -a it >>> shows me just the >>> >>> loopback interface. >>> >>> In the config of the guest domain I have: >>> >>> vif = [ ''mac=00:00:01:02:03:04 , ip=86.105.198.253, >>> bridge=xenbr0'' ] >>> >> >>> >> Does look OK to me. >>> >> >>> >> Is this a PV or HVM domain? >>> >> >>> >> HVM domains can not have an IP address in the >>> configuration file - you >>> >> have to configure the IP address in the guest somehow (I >>> use DHCP, but >>> >> that''s obviously not always the right solution - but the setup is >>> >> exactly the same as if you had the real machine, so Windows network >>> >> control panel or whatever Linux stuff you use to setup >>> network settings >>> >> (including, "ifconfig eth0 ..." if that''s what you want to >>> do - probably >>> >> want to stuff that in a /etc/init.d and link to /etc/rcN.d >>> as well, if >>> >> that''s the case)). >>> >> >>> >> -- >>> >> mats >>> >> >>> >>> >>> >>> Any ideas guys? >>> >>> >>> >>> Best regards, >>> >>> Octav >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> 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