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

Re: [Xen-users] how to enable dom0 and domu share same physical network...


  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Wed, 28 Nov 2012 14:41:27 -0600
  • Delivery-date: Wed, 28 Nov 2012 20:42:23 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello.

El 28/11/12 14:26, Tapdiya, Ashish escribió:
i tried specifying mac as well but no luck
vif = ['mac=00:16:3e:00:00:01,ip=192.168.1.200']
It could work either way, unless your DomU gets confused by the MAC change no every boot. Generally, it's a good idea to define a static and specific MAC to each DomU's vif.

Please, show this output:
"xm list" from both of your Dom0.
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  6705     4     r-----     45.0
domu4                                        2  2048     1     -b----      2.5


"brctl show" from both of your Dom0.
bridge name   bridge id               STP enabled     interfaces
tmpbridge           8000.feffffffffff       no              vif2.0

This is not the complete output of "brctl show", is it? xenbr0 is the here. Anyway, your issue is more clear now.

Silly me! Lukas is right, your vif definition needs a bridge definition!
As he said, "vif = ['ip=IP,bridge=xenbr0']" should work.

I would change that to "vif = ['mac=MAC,bridge=xenbr0']".

"vif = ['ip=IP,mac=MAC,bridge=xenbr0']" shall also work, but the IP address is surely defined within DomU. Whatever you specify in "vif" directive as IP address, will not be taken into account normally, although sometimes it's useful to mention it in the config file for reference.

(such weired way to quote original mail, but whatever)

--
Alexandre Kouznetsov


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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