|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] XEN Netwok Configuration
Hi
In each physical machine you have 2 NICS eth0 and eth1 with multiple virtual machines running.
You need to connect a cable from eth0 NIC port to the 10.1.1.x switch and another cable from eth1 NIC port to the 192.168.250.x switch.
Then for each virtual machine / guest configuration you need to specify
vif = [ 'bridge=eth0','bridge=eth1' ]
or
vif = [ 'bridge=xenbr0','bridge=xenbr1' ]
depending on the names of the ethernet bridges created in dom0.
So you will have 2 virtual NICs eth0 and eth1 in each virtual machine, each assigned to a different physical NIC in the host.
Inside each virtual machine, you need to specify DHCP for your networking configuration instead of static IP assignment.
You may also need to fine tune your iptables firewall configuration inside your host operating system / dom0.
Please correct me if I am wrong.
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore
On Wed, Oct 21, 2009 at 3:21 PM, Anirban Ghosh <anirban_4you@xxxxxxxxxxx> wrote:
Hi, I am Anirban Ghosh, from India. We are working on XEN virtualization. Presently I am facing a problem relating to network segment. The problem is as followes -
I have an existing network with 192.168.250.x, which is controled by a DHCP server. Now I have a cluster of XEN hosts. I am running another DHCP server in one of the XEN hosts with a range 10.1.1.x. Now each of the physical machine running XEN have two NIC i.e. eth0 & eth1. I want to allocate two seperate IP to each VM from this two DHCP servers, i.e. eth0 of each VM will get IP in the range 10.1.1.x and eth1 will get IP in the range 192.168.250.x.
In simple words I need two different IP for internal and external network.
Please give me a working solution for this.
Thanks & Regards, Anirban Ghosh School of Mobile Computing & Communication
Jadavpur
University Kolkata West Bengal India
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|