[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How do I set this network up?





Steve H wrote:
Hi there,

I've been browsing around trying to find the best way to set this up, but I'm a bit stumped.

I want to use one interface on my dom0, with multiple domU's.

Each domU should have a private IP (10.0.0.xxx), and optionally a public IP as well.

The public IP should be eth0, the private one should be eth1.

The public IP's are drawn from two ranges, on different subnets with different gateways.

For the sake of example, these ranges are:

100.100.100.xxx, gateway 100.100.100.94,  netmask 255.255.255.224
200.200.200.xxx, gateway 200.200.200.254, netmask 255.255.255.0

And the private range would be:

10.0.0.xxx

So, the dom0 might be

eth0    100.100.100.123
eth1    10.0.0.1

And a domU might be

eth0    100.100.100.124
eth1    10.0.0.2

But it could also be

eth0    200.200.200.46
eth1    10.0.0.3

or it could be

eth0    (none)
eth1    10.0.0.4

One solution is to use eth0 from dom0 for 100.x.x.x network and eth1 for 200.x.x.x and use a virtual interface - Eg, virbr0 - for private lan ip addresses. The only problem with this is that the only systems in the private network should be the guests.

If the above is not acceptable, you can configure eth0 with 100.x.x.x and eth0:1 with 200.x.x.x and bridge both to a bridge. I have not tested this, but somebody says to me this is supposed to work. Good luck.

--Sadique



Any help in this matter would be greatly appreciated!

Thanks in advance.

Steve

_______________________________________________
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.