Hi List, Is it possible to start a DomU or HVM with the same IP as Dom0? How can I achieve this? Thanks, Eric. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2006-11-28 at 09:33 +0200, Eric Benton wrote:> Hi List, > > Is it possible to start a DomU or HVM with the same IP as Dom0?No. I think what you''re after is a NAT on dom-0 with selective port forwarding to individual guests. Where dom-0 gets a public IP, and the guests have an internal IP, and use dom-0 as their external gateway.> How can I achieve this?There are a few ways of going about it, some really simple others really elaborate. If you give an indication of what you want to have in place when everything is done, it would be easier for the list to point you in the right direction. An indication of what OS is on dom-0 would also be helpful for someone to steer you in the right direction.> Thanks, > Eric. >Best, -Tim> _______________________________________________ > 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
Thanks for the replay! I''m running FC6 as Dom0/DomU. I actuall want to NAT them so I could connect the internet with the same IP. VMWare supports that. Doesn''t it come built-in with Xen? Thanks, Eric. On 11/28/06, Tim Post <tim.post@netkinetics.net> wrote:> On Tue, 2006-11-28 at 09:33 +0200, Eric Benton wrote: > > Hi List, > > > > Is it possible to start a DomU or HVM with the same IP as Dom0? > > No. I think what you''re after is a NAT on dom-0 with selective port > forwarding to individual guests. Where dom-0 gets a public IP, and the > guests have an internal IP, and use dom-0 as their external gateway. > > > How can I achieve this? > > There are a few ways of going about it, some really simple others really > elaborate. If you give an indication of what you want to have in place > when everything is done, it would be easier for the list to point you in > the right direction. > > An indication of what OS is on dom-0 would also be helpful for someone > to steer you in the right direction. > > > Thanks, > > Eric. > > > > Best, > -Tim > > > _______________________________________________ > > 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
On 28 Nov 2006 at 9:33, Eric Benton wrote:> Hi List, > > Is it possible to start a DomU or HVM with the same IP as Dom0? > How can I achieve this?It''s no problem to _start_, but I guess you want networking afterwards. If you do not connect the DomU network to the Dom0 network, you can even have your very private network in DomU. Clear now? If you want to use NAT, whay not ask that way? Regards, Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Eric Benton wrote:> Hi List, > > Is it possible to start a DomU or HVM with the same IP as Dom0? > How can I achieve this?The best way is with 2 ethernet interfaces. One for (semi) exclusive use by the firewall domain (either running in Dom0 or in a DomU) and the 2nd ethernet interface used by all of the DomUs as the "internal" side and connected to your LAN segment. The firewall domain then does the NAT duties to move traffic between the two ethernet interfaces. Tom Eastep over at Shorewall does this one his systems: http://www.shorewall.net/XenMyWay.html - Firewall is in a DomU http://www.shorewall.net/XenMyWay-Routed.html - Firewall is in the Dom0 (Just toss a cheap linux-compatible NIC in a PCI slot for the external interface if needed.) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, Thanks... On 11/28/06, Thomas Harold <tgh@tgharold.com> wrote:> Eric Benton wrote: > > Hi List, > > > > Is it possible to start a DomU or HVM with the same IP as Dom0? > > How can I achieve this? > > The best way is with 2 ethernet interfaces. One for (semi) exclusive > use by the firewall domain (either running in Dom0 or in a DomU) and the > 2nd ethernet interface used by all of the DomUs as the "internal" side > and connected to your LAN segment. The firewall domain then does the > NAT duties to move traffic between the two ethernet interfaces. > > Tom Eastep over at Shorewall does this one his systems: > > http://www.shorewall.net/XenMyWay.html > - Firewall is in a DomU > > http://www.shorewall.net/XenMyWay-Routed.html > - Firewall is in the Dom0 > > (Just toss a cheap linux-compatible NIC in a PCI slot for the external > interface if needed.) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users