|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] understanding networking - xen 3.1 and CentOS 5.1
> > --- Götz Reinicke <goetz.reinicke@xxxxxxxxxxxxxxx>
> > 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@xxxxxxxxxxxxxxx
> > >
> > > 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@xxxxxxxxxxxxxxxxxxx
> > > 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@xxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|