Götz Reinicke
2008-Apr-03 08:57 UTC
[Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Hi, recently I started to play with xen. Therefore I got a new system and installed Centos 5.1 with the virtualisation packages (xen 3.1 etc.) Setting up a Centos 5.1 Guest using the virtual manager tool works like a charm, the guest boots has network access, can install updates from the internet - so far so good. Now I was looking at the network configuration and was confused. How dose the IP configuration of the client is set up? After my basic installation the guest uses dhcp. Until now I haven''t found any answer to my question how I may configure the host and the guest(s) to use fixed ip addresses from the lan the server is located on. I fount a lot of web pages, pdfs etc, but all looks somhow different :-) (O.K. the host can be ) E.g. I''d like the host to have the ip 172.17.255.10, the guests should have the ip 172.17.255.11, .12 and .13 ... I''m not affraid to use vi to configure the guest or edit configfiles; using the virtual manager tool was just the first start. So any help or point to the helpfull how to is welcome. Thanks and best regards Götz -- Götz Reinicke IT Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke@filmakademie.de Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Dr. Christoph Palmer, MdL, Minister a.D. Geschäftsführer: Prof. Thomas Schadt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Apr-03 17:35 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Understanding behavior of daemons libvirtd,dnsmasq on CentOS 5.1(F8) Dom0 . Bridging and NAT strategy for DomUs (SNV in particular) at CentoS 5.1 (F8) Dom0. http://lxer.com/module/newswire/view/99877/index.html http://lxer.com/module/newswire/view/99778/index.html --- Götz Reinicke <goetz.reinicke@filmakademie.de> wrote:> Hi, > > recently I started to play with xen. Therefore I got > a new system and > installed Centos 5.1 with the virtualisation > packages (xen 3.1 etc.) > > Setting up a Centos 5.1 Guest using the virtual > manager tool works like > a charm, the guest boots has network access, can > install updates from > the internet - so far so good. > > Now I was looking at the network configuration and > was confused. How > dose the IP configuration of the client is set up? > After my basic > installation the guest uses dhcp. > > Until now I haven''t found any answer to my question > how I may configure > the host and the guest(s) to use fixed ip addresses > from the lan the > server is located on. I fount a lot of web pages, > pdfs etc, but all > looks somhow different :-) (O.K. the host can be ) > > E.g. I''d like the host to have the ip 172.17.255.10, > the guests should > have the ip 172.17.255.11, .12 and .13 ... > > I''m not affraid to use vi to configure the guest or > edit configfiles; > using the virtual manager tool was just the first > start. > > So any help or point to the helpfull how to is > welcome. > > > Thanks and best regards > > Götz > -- > Götz Reinicke > IT Koordinator > > Tel. +49 7141 969 420 > Fax +49 7141 969 55 420 > E-Mail goetz.reinicke@filmakademie.de > > Filmakademie Baden-Württemberg GmbH > Mathildenstr. 20 > 71638 Ludwigsburg > www.filmakademie.de > > Eintragung Amtsgericht Stuttgart HRB 205016 > Vorsitzender des Aufsichtsrats: > Dr. Christoph Palmer, MdL, Minister a.D. > > Geschäftsführer: > Prof. Thomas Schadt > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >____________________________________________________________________________________ You rock. That''s why Blockbuster''s offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Apr-03 18:13 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
> --- Götz Reinicke <goetz.reinicke@filmakademie.de> > wrote: > > > Hi, > > > > recently I started to play with xen. Therefore I > got > > a new system and > > installed Centos 5.1 with the virtualisation > > packages (xen 3.1 etc.) > > > > Setting up a Centos 5.1 Guest using the virtual > > manager tool works like > > a charm, the guest boots has network access, can > > install updates from > > the internet - so far so good. > > > > Now I was looking at the network configuration and > > was confused. How > > dose the IP configuration of the client is set up? > > After my basic > > installation the guest uses dhcp. > > > > Until now I haven''t found any answer to my > question > > how I may configure > > the host and the guest(s) to use fixed ip > addresses > > from the lan the > > server is located on. I fount a lot of web pages, > > pdfs etc, but all > > looks somhow different :-) (O.K. the host can be ) > > > > E.g. I''d like the host to have the ip > 172.17.255.10, > > the guests should > > have the ip 172.17.255.11, .12 and .13 ...********* Option 1 ********* Disable daemon libvirtd:- # chkconfig libvirtd off Put CentOS 5.1 Dom0 on DHCP Bridge. Verify /etc/xen/xend-conf.sxp to turn on old fashioned xen bridging based on ethernet interface connected to bridge and specify "DHCP" for any DomU you intend to create. That''s it. ********* Option 2 ********* If libvirtd is up and running (default state) any DomU will be on subnet 192.168.122.1 (netmask 255.255.255.0) and will be perfectly reachable from the Dom0''s LAN, whatever it is. Libvirtd is doing bridging and NAT to mentioned subnet automatically. This aproach was implemented by RH in F7,F8,RHEL 5.1 and differs from old fashion xen bridging. However, RHEL 5.1 (CentOS 5.1) does allow you to disable libvirtd and turn back to what you want. No problems again> > > > I''m not affraid to use vi to configure the guest > or > > edit configfiles; > > using the virtual manager tool was just the first > > start. > > > > So any help or point to the helpfull how to is > > welcome. > > > > > > Thanks and best regards > > > > Götz > > -- > > Götz Reinicke > > IT Koordinator > > > > Tel. +49 7141 969 420 > > Fax +49 7141 969 55 420 > > E-Mail goetz.reinicke@filmakademie.de > > > > Filmakademie Baden-Württemberg GmbH > > Mathildenstr. 20 > > 71638 Ludwigsburg > > www.filmakademie.de > > > > Eintragung Amtsgericht Stuttgart HRB 205016 > > Vorsitzender des Aufsichtsrats: > > Dr. Christoph Palmer, MdL, Minister a.D. > > > > Geschäftsführer: > > Prof. Thomas Schadt > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > >____________________________________________________________________________________> You rock. That''s why Blockbuster''s offering you one > month of Blockbuster Total Access, No Cost. > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >____________________________________________________________________________________ You rock. That''s why Blockbuster''s offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Apr-04 20:08 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
> > --- Götz Reinicke <goetz.reinicke@filmakademie.de> > > wrote: > > > > > Hi, > > > > > > recently I started to play with xen. Therefore I > > got > > > a new system and > > > installed Centos 5.1 with the virtualisation > > > packages (xen 3.1 etc.) > > > > > > Setting up a Centos 5.1 Guest using the virtual > > > manager tool works like > > > a charm, the guest boots has network access, can > > > install updates from > > > the internet - so far so good. > > > > > > Now I was looking at the network configuration > and > > > was confused. How > > > dose the IP configuration of the client is set > up? > > > After my basic > > > installation the guest uses dhcp. > > > > > > Until now I haven''t found any answer to my > > question > > > how I may configure > > > the host and the guest(s) to use fixed ip > > addresses > > > from the lan the > > > server is located on. I fount a lot of web > pages, > > > pdfs etc, but all > > > looks somhow different :-) (O.K. the host can be > ) > > > > > > E.g. I''d like the host to have the ip > > 172.17.255.10, > > > the guests should > > > have the ip 172.17.255.11, .12 and .13 ...****************************************************** Option 1.1 (DHCP Bridge is not required by CentOS 5.1) ****************************************************** Disable daemon libvirtd:- # chkconfig libvirtd off Assign CentOS 5.1 Dom0 static IP address matching your LAN subnet.Verify /etc/xen/xend-conf.sxp to turn on old fashioned xen bridging based on ethernet interface assigned desired static IP address. Creating DomUs,give them static IP addresses from the same subnet as Dom0. ******************* Option 2 (improved) ******************* If libvirtd is up and running (default state) any DomU will be on subnet 192.168.122.1 (netmask 255.255.255.0) and will be perfectly reachable from the Dom0''s LAN,whatever it is. Libvirtd is doing bridging and NAT forwarding to mentioned subnet automatically. This approach was implemented by RH in F7,F8,RHEL 5.1 and differs from old fashion xen bridging. However, RHEL 5.1 (CentOS 5.1) does allow you to disable libvirtd and turn back to what you want. F8 does require DHCP bridge to put DomU on subnet different from 192.168.122.1 (netmask 255.255.255.0).Libvirtd behaves different on F8 and RHEL 5.1. I skipped word "forwarding" in previous message.> > > > > > > I''m not affraid to use vi to configure the guest > > or > > > edit configfiles; > > > using the virtual manager tool was just the > first > > > start. > > > > > > So any help or point to the helpfull how to is > > > welcome. > > > > > > > > > Thanks and best regards > > > > > > Götz > > > -- > > > Götz Reinicke > > > IT Koordinator > > > > > > Tel. +49 7141 969 420 > > > Fax +49 7141 969 55 420 > > > E-Mail goetz.reinicke@filmakademie.de > > > > > > Filmakademie Baden-Württemberg GmbH > > > Mathildenstr. 20 > > > 71638 Ludwigsburg > > > www.filmakademie.de > > > > > > Eintragung Amtsgericht Stuttgart HRB 205016 > > > Vorsitzender des Aufsichtsrats: > > > Dr. Christoph Palmer, MdL, Minister a.D. > > > > > > Geschäftsführer: > > > Prof. Thomas Schadt > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > >____________________________________________________________________________________> > You rock. That''s why Blockbuster''s offering you > one > > month of Blockbuster Total Access, No Cost. > > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > >____________________________________________________________________________________> You rock. That''s why Blockbuster''s offering you one > month of Blockbuster Total Access, No Cost. > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >____________________________________________________________________________________ You rock. That''s why Blockbuster''s offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kai Schaetzl
2008-Apr-07 12:07 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Boris Derzhavets wrote on Thu, 3 Apr 2008 11:13:23 -0700 (PDT):> Disable daemon libvirtd:- > # chkconfig libvirtd off > Put CentOS 5.1 Dom0 on DHCP Bridge. > Verify /etc/xen/xend-conf.sxp to turn on old > fashioned xen bridging based on ethernet interface > connected to bridge and specify "DHCP" for any DomU > you intend to create. That''s it.unfortunately, that''s not it :-( Compare message-id <VA.000030ff.61024b29@news.conactive.com> Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Götz Reinicke
2008-Apr-07 12:31 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Kai Schaetzl schrieb:> Boris Derzhavets wrote on Thu, 3 Apr 2008 11:13:23 -0700 (PDT): > >> Disable daemon libvirtd:- >> # chkconfig libvirtd off >> Put CentOS 5.1 Dom0 on DHCP Bridge. >> Verify /etc/xen/xend-conf.sxp to turn on old >> fashioned xen bridging based on ethernet interface >> connected to bridge and specify "DHCP" for any DomU >> you intend to create. That''s it. > > unfortunately, that''s not it :-( Compare message-id > <VA.000030ff.61024b29@news.conactive.com>?? /Götz -- Götz Reinicke IT Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke@filmakademie.de Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Dr. Christoph Palmer, MdL, Minister a.D. Geschäftsführer: Prof. Thomas Schadt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kai Schaetzl
2008-Apr-07 14:31 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Götz Reinicke wrote on Mon, 07 Apr 2008 14:31:11 +0200:> ??Not sure what you mean. Don''t you know how to find a message by message-id or what is it? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Götz Reinicke
2008-Apr-07 14:36 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Kai Schaetzl schrieb:> Götz Reinicke wrote on Mon, 07 Apr 2008 14:31:11 +0200: > >> ?? > > Not sure what you mean. Don''t you know how to find a message by message-id > or what is it?Thats rigt; I dont know where to look for the ID. Regards Götz -- Götz Reinicke IT Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke@filmakademie.de Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Dr. Christoph Palmer, MdL, Minister a.D. Geschäftsführer: Prof. Thomas Schadt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kai Schaetzl
2008-Apr-07 16:31 UTC
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
Götz Reinicke wrote on Mon, 07 Apr 2008 16:36:07 +0200:> Thats rigt; I dont know where to look for the ID.You copy the id and paste it in the search function of your mail program, preferrably let it only search the folder that you archive this mailing list in. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Leben
2008-Apr-07 19:58 UTC
[Xen-users] Re: understanding networking - xen 3.1 and CentOS 5.1
Kai Schaetzl wrote:> Boris Derzhavets wrote on Thu, 3 Apr 2008 11:13:23 -0700 (PDT): > >> Disable daemon libvirtd:- >> # chkconfig libvirtd off >> Put CentOS 5.1 Dom0 on DHCP Bridge. >> Verify /etc/xen/xend-conf.sxp to turn on old >> fashioned xen bridging based on ethernet interface >> connected to bridge and specify "DHCP" for any DomU >> you intend to create. That''s it. > > unfortunately, that''s not it :-( Compare message-id > <VA.000030ff.61024b29@news.conactive.com> > > KaiHi, Gmane, apart from being a bidirectional mail to news gateway, tracks message id:s of all messages on the lists it carries: <http://mid.gmane.org/VA.000030ff.61024b29@news.conactive.com> /Martin Leben _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users