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] domU ips with out dom0

To: Zeeshan Ali Shah <zashah@xxxxxxxxxx>
Subject: Re: [Xen-users] domU ips with out dom0
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Thu, 17 Feb 2011 00:16:14 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Feb 2011 10:48:05 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yFO1xUCOkEcI6IYL6TqR/jzm2hlg3BxBliDmxHaplZE=; b=B7KrWd23402vQp3j/jyB296Af4Cd2zyPCp9wJjZ0MjQb9G6xOoic2Xw32l5xKV8Sct aP6ikyXmi3sFCXjlD0ChzQXwQAah9HA2wrRc2WohzfZEhcwo5yUj/vQaK+FH6CmDDWaS UMm5+IqDcjSToWNCazHXgFjVHWXJpD9UL/Qf4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qlhZwRGLfvv3gzg7TBslTLBgllrzCDrIc73TPcvcThSIqbkPBTjpeHU1k5UEyfl5bL +xxioQR3jAglY0Iz0UVLshlbLGfuhFcEbYDwRftq+fZ8z0KMqaRp0i2CAe/0CynncKhp Y7mPUc03CIfz9WhSdL25AXPu3KFhvD2u6wUn8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D5BED77.7060502@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D5BED77.7060502@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Feb 16, 2011 at 8:59 PM, Zeeshan Ali Shah <zashah@xxxxxxxxxx> wrote:
> I have a little strange problem.
>
> I have two eth0 and eth1 on dom0 , eth1 is private .
>
> on dom0 i dont want to allocate IP ln eth0 but want domUs to use it as
> bridge with Ips.
>
> does it make sense ? any suggestion ?
>
> --


It very well makes sense and as other people have pointed out I also
want to say that use a gui
virt-manager for this that way you will save yourself a lot of time.
I have a correctly configured bridge which looks like this
auto lo
iface lo inet loopback

# The primary network interface
auto eth2
iface eth2 inet manual

auto br0
iface br0 inet static
       address 192.168.1.14
       netmask 255.255.255.0
       network 192.168.1.0
       broadcast 192.168.1.255
       gateway 192.168.1.10
       # dns-* options are implemented by the resolvconf package, if installed
       dns-nameservers 192.168.13.2
       dns-search myserver.net
       bridge_ports eth2
       bridge_fd 9
       bridge_hello 2
       bridge_maxage 12
       bridge_stp off


if you note above output I am using eth2 i.e. third lan card in my
bridge I believe that if I want to use my other lan cards
then in line where I mention

auto eth2
iface eth2 inet manual

I will replace the word manual by static (or what ever relevant)
and then write rest of the configuration.
I will recommend you  this page to understand what the word inet
manual in above line refers to
http://manpages.ubuntu.com/manpages/lucid/man5/interfaces.5.html


Make sure you do not bring the other lan card with this bridge so as
to be a part of your private network.
-- 

http://mightydreams.blogspot.com

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

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