WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Howto mix public and private ip-addresses?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Howto mix public and private ip-addresses?
From: Joerg Schoppet <joerg@xxxxxxxxxxx>
Date: Sun, 09 Dec 2007 11:20:22 +0100
Delivery-date: Sun, 09 Dec 2007 02:21:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
Hi,

actually I have the following setup:

Ubuntu Gutsy with Xen 3.1

I have one public ip-address AND a /29 subnet with public ip-addresses.

Xen is configured as routed-setup:

dom0: has the public ip-address and the first ip-address from the subnet.
each domU has an ip-address from the subnet and as gateway the first
ip-address from the subnet.

Everything works!


Now I want to put a private address 192.168.1.x to each domU and to
dom0, so that I can bind some network-services to these ip-addresses,
which should only be addressable within the virtual systems.

How can I do this?

I've tried the following:
- Added a dummy-interface to dom0 with 192.168.1.10.
- Added e.g. 192.168.1.11 to the vif-config in the domain-config-file of
a domU.
- Added a dummy-interface to a domU with e.g. 192.168.1.11. I tried the
config with no gateway, with the same gateway as the "normal" interface
(public ip) and with the gateway 192.168.1.10

No luck so far.

Any tips, tricks, hints?


Regards

Joerg Schoppet

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>