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

RE: [Xen-users] Domain interfaces

To: <deshantm@xxxxxxxxx>
Subject: RE: [Xen-users] Domain interfaces
From: "Alasdair P Mclean" <mcleanap@xxxxxxxxxxxxx>
Date: Fri, 25 Jan 2008 16:28:49 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jan 2008 08:29:31 -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>
References: <260002866C8EBA4EA0AD853F467EC11EAB07D1@xxxxxxxxxxxxxxxxxxxx> <1e16a9ed0801250726i3a5bee4bl35e7e9cadb94c1fe@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchfZq/IhLe5iO1aT8Owz32aj6dAMgAB7fn3
Thread-topic: [Xen-users] Domain interfaces

Thanks for the advice on how to set up the domains interfaces :-) The relevant line in the domain config was set to vif=['ip=10.0.0.1,mac=<MACADDRESS>'] - that's as per the manual I think?. Neither had any effect on what ifconfig actually (this is on Xen 3.1.0 btw).

Cheers,
Alasdair

-----Original Message-----
From: Todd Deshane [mailto:deshantm@xxxxxxxxx]
Sent: Fri 1/25/2008 3:26 PM
To: Alasdair P Mclean
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Domain interfaces

On Jan 25, 2008 9:45 AM, Alasdair P Mclean <mcleanap@xxxxxxxxxxxxx> wrote:

>  Dear all,
>
> we're currently setting up several (many) domains which all need to
> communicate with Dom0, but not with the outside world. What we need is a way
> to specify that guest domains virtual interfaces (vifx.x) should not be
> bridged to the physical interface (eth0) - is this possible?.
>
Yes, you can setup a dummy0 device in Dom0 to be used for this purpose.

1. Create the dummy0 network interface device (as simple as creating a
network device and loading the dummy module appropriately) - this process is
of course distro specific

2. Specify the (network-script 'network-bridge netdev=dummy0') in
xend-config.sxp. If you need other accesses you will need to setup a custom
script that handles that.

3. use the appropriate vif=['bridge=xenbrX'] for the guest config.

>
> Also when specifying the mac address and ip in the config file (as per the
> manual) it doesnt seem to have any effect on ip and mac the domain actually
> uses (defaults are used instead). Is there some other way to specify this?
>
>From my experience MAC address hhas always worked. I would be surprised that
it doesn't for you. Post the relevant config for that and also the Xen
version etc.

Setting the IP I have often had to do manually in the guest to match. I am
not sure if this was/is a bug or is by design.

Best Regards,
Todd


> Thanks in advance,
> Alasdair
>
> _______________________________________________
> 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
<Prev in Thread] Current Thread [Next in Thread>