[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] domU ips with out dom0


  • To: Zeeshan Ali Shah <zashah@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.