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 Any help in this matter would be greatly appreciated! Thanks in advance. Steve _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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.4One 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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.4Imho, in a network-bridge-setup this should not be a problem and work right away. As long as dom0''s eth0 is connected to a switch which can reach 100.100.100.94 and 200.200.200.254 It''s might not be the best idea to have two layer 3 networks on one layer 2 network, but it should work. Regards Dominik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users