lsc@luke.xen.prgmr.com
2008-Feb-08 20:51 UTC
Re: [Xen-users] Creating Xen Guest on CentOS 5 HELP
On Fri, Feb 08, 2008 at 08:36:30PM -0800, Joko Frank Octo wrote:> Hello, > - I have xen server installed on my CentOS 5 > - I have some static IP from my ISP > -- 66.90.101.97 is my main server IP Address > -- Reserved IP from ISP: 67.159.34.125 - 67.159.34.126 > - I want the xen guest has some ip 67.159.34.125 - 67.159.34.126 > - Xen guest be able to access internet, and also internet user can access > the xen guest.as for installation, the easiest way to do it is with virt-install - just follow the prompts, input a CentOS mirror, and you are good to go. pick dhcp; it should ''just work'' with the CentOS Network-Nat stuff that is default. Now, once you are done and want to give your DomU a static external IP, etit /etc/xen/[domUname] and change the vif=[''''] line and add vif=[''bridge=xenbr0''] then, from within the domU, set the static address the usual way. shut down and re-start the DomU and you should be ready to go. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Anyone know how correct way for creating Xen Guest with this criteria: - I have xen server installed on my CentOS 5 - I have some static IP from my ISP -- 66.90.101.97 is my main server IP Address -- Reserved IP from ISP: 67.159.34.125 - 67.159.34.126 - I want the xen guest has some ip 67.159.34.125 - 67.159.34.126 - Xen guest be able to access internet, and also internet user can access the xen guest. What is the nice way for doing this ? Using Bridge or Route ? How to doing this ? Thank You _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Feb 8, 2008 11:36 PM, Joko Frank Octo <fenhin@gmail.com> wrote:> Hello, > Anyone know how correct way for creating Xen Guest with this criteria: > > - I have xen server installed on my CentOS 5 > - I have some static IP from my ISP > -- 66.90.101.97 is my main server IP Address > -- Reserved IP from ISP: 67.159.34.125 - 67.159.34.126 > - I want the xen guest has some ip 67.159.34.125 - 67.159.34.126 > - Xen guest be able to access internet, and also internet user can access > the xen guest. > > What is the nice way for doing this ? Using Bridge or Route ? How to doing > this ? >using bridging is the simplest way to accomplish what you want, and is also typically the default. virt-install (or virt-manager) should let you create a guest and have it use a bridge (bridging mode). That should at least get you started. Best of luck, Todd> Thank You > > _______________________________________________ > 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
Joko Frank Octo wrote:> Hello, > Anyone know how correct way for creating Xen Guest with this criteria: > > - I have xen server installed on my CentOS 5 > - I have some static IP from my ISP > -- 66.90.101.97 <http://66.90.101.97> is my main server IP Address > -- Reserved IP from ISP: 67.159.34.125 <http://67.159.34.125> - > 67.159.34.126 <http://67.159.34.126> > - I want the xen guest has some ip 67.159.34.125 > <http://67.159.34.125> - 67.159.34.126 <http://67.159.34.126> > - Xen guest be able to access internet, and also internet user can > access the xen guest. > > What is the nice way for doing this ? Using Bridge or Route ? How to > doing this ?The default bridging setup in Centos-5.1 would attain what you want out of the box. --Sadique> > Thank You > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Joko Frank Octo wrote:> yes, but don''t know how to give an static ip into xen guest.Please keep the replies to the list. You have to assign the static ip inside the guest just like you do on a physical system. --Sadique> > Thank you > > On Feb 8, 2008 10:40 PM, Sadique Puthen <sputhenp@redhat.com > <mailto:sputhenp@redhat.com>> wrote: > > Joko Frank Octo wrote: > > Hello, > > Anyone know how correct way for creating Xen Guest with this > criteria: > > > > - I have xen server installed on my CentOS 5 > > - I have some static IP from my ISP > > -- 66.90.101.97 <http://66.90.101.97> <http://66.90.101.97> is > my main server IP Address > > -- Reserved IP from ISP: 67.159.34.125 <http://67.159.34.125> > <http://67.159.34.125> - > > 67.159.34.126 <http://67.159.34.126> <http://67.159.34.126> > > - I want the xen guest has some ip 67.159.34.125 > <http://67.159.34.125> > > <http://67.159.34.125> - 67.159.34.126 <http://67.159.34.126> > <http://67.159.34.126> > > - Xen guest be able to access internet, and also internet user can > > access the xen guest. > > > > What is the nice way for doing this ? Using Bridge or Route ? How to > > doing this ? > > The default bridging setup in Centos-5.1 would attain what you > want out > of the box. > > --Sadique > > > > > Thank You > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > -- > ===============================> Admin of JFOC Network > ===============================> http://www.jfoc.net > http://buddhism.jfoc.net > http://freemail.jfoc.net > > Fast, Cheap and Full Support Web Hosting > Start from $2.83/month and Special Life Time Package Hosting_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users