[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: Alexandre Kouznetsov <alk@xxxxxxxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: "Tapdiya, Ashish" <ashish.tapdiya@xxxxxxxxxxxxxx>
  • Date: Wed, 28 Nov 2012 20:26:05 +0000
  • Accept-language: en-US
  • Delivery-date: Wed, 28 Nov 2012 20:28:16 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AQHNzZtTxUrO3eyNaUaE3D1iFlHjjpf/sZg8
  • Thread-topic: [Xen-users] how to enable dom0 and domu share same physical network...

Hello.

If I understand right, DomUs can't ping any Dom0 or any DomU that is not
on the same physical machine.

>>yes

I can see you do not specify a MAC address for your DomU's vif. As far
as I remember, it makes Xen to generate the MAC on the fly. If  DomU
uses udev, it might think there is a new network interface on each boot,
not eth0, so it fails to configure the network properly.

>>i tried specifying mac as well but no luck
>>vif = ['mac=00:16:3e:00:00:01,ip=192.168.1.200']

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


"ifconfig" (and "ifconfig -a", if different) from your DomU.

>>
>>eth0      Link encap:Ethernet  HWaddr 00:16:3e:00:00:01 
          inet addr:192.168.1.107  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4021 (4.0 KB)  TX bytes:3072 (3.0 KB)
          Interrupt:26

>>lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1920 (1.9 KB)  TX bytes:1920 (1.9 KB)


Other test would be to try to ping DomUs from each other, as far as they
are on the same physical machine, if your setup allows it.

>> domu's are on different physical machines 

>>Also,
>>xen is 4.1.2
>>os is ubuntu oneiric
>>kernel 3.0.51

>>Thanks for reply. I appreciate it.

Greetings.

________________________________________
From: xen-users-bounces@xxxxxxxxxxxxx [xen-users-bounces@xxxxxxxxxxxxx] on 
behalf of Alexandre Kouznetsov [alk@xxxxxxxxxx]
Sent: Wednesday, November 28, 2012 1:00 PM
To: xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] how to enable dom0 and domu share same physical        
network...

Hello.

If I understand right, DomUs can't ping any Dom0 or any DomU that is not
on the same physical machine.

I can see you do not specify a MAC address for your DomU's vif. As far
as I remember, it makes Xen to generate the MAC on the fly. If  DomU
uses udev, it might think there is a new network interface on each boot,
not eth0, so it fails to configure the network properly.

Please, show this output:
"xm list" from both of your Dom0.
"brctl show" from both of your Dom0.
"ifconfig" (and "ifconfig -a", if different) from your DomU.

Other test would be to try to ping DomUs from each other, as far as they
are on the same physical machine, if your setup allows it.


Greetings.


--
Alexandre Kouznetsov


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



_______________________________________________
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®.