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: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] domU ips with out dom0
From: Zeeshan Ali Shah <zashah@xxxxxxxxxx>
Date: Thu, 17 Feb 2011 11:27:41 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Feb 2011 02:31:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik4Wyhu7XvJx+AM7Mf61X95cr5GOSkh79u_qFbS@xxxxxxxxxxxxxx>
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>
Organization: PDC-HPC
References: <4D5BED77.7060502@xxxxxxxxxx> <AANLkTik4Wyhu7XvJx+AM7Mf61X95cr5GOSkh79u_qFbS@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Thanks a lot, I really admire how active xen user list is..

i will try and update later.

BR
Zeeshan

On 02/16/2011 07:46 PM, Tapas Mishra wrote:
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.


--
Regards


Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology, Sweden
+46 8 790 9115


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

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