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

[Xen-devel] newbee:not able to get network working in domain-0


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: anil prasad <anil411@xxxxxxxxx>
  • Date: Tue, 1 Mar 2005 18:02:14 +0530
  • Delivery-date: Tue, 01 Mar 2005 12:50:47 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=W2ExkGGN5+GCwUgN7FoQPWvqncGweV8HZc4L9W6YWdkBS/SvPvudhLKnPs5LgorPf3VLWde/gIPO3PE+x1eHanQJu8Naoc+jO404zG8xQRt/nAUwqzeR0fi1h2HmwHrGUNPxZEiKf/uKP7u/Y2bOO51ePxASbLHkobQ0y1xniAg=
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

Hi,
I picked up latest xen2.0-bk code and am running it on 2way machine. I
am able to boot domain-0 without any issue and everything seems to be
working. I am able to boot domain-1 as well , but for some reason
network is not working.

Here are my domain-1 settings:

(vm
    (name domain-1)
    (memory 64)
    (image
        (linux
            (kernel /boot/vmlinuz-2.6.10-xenU)
            (ramdisk /boot/initrd.img)
            (ip 10.52.0.199:1.2.3.4:10.52.0.1:255.255.0.0:blr-1750-6-1:eth0:off)
            (root '/dev/sda7 ro')
            (args 3)
        )
    )
    (device (vbd (uname phy:sda7) (dev sda7) (mode w)))
    (device (vif (mac 00:0F:1F:66:B9:29) (bridge xen-br0)))
)

My domain-0 ip is 10.52.0.27.

On domain-0, this is o/p of ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:0F:1F:66:B9:29  
          inet addr:10.52.0.27  Bcast:10.52.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3712 errors:0 dropped:0 overruns:0 frame:0
          TX packets:671 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:345837 (337.7 KiB)  TX bytes:86864 (84.8 KiB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1398 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1398 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:84992 (83.0 KiB)  TX bytes:84992 (83.0 KiB)
vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1972 errors:0 dropped:18 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2046 (1.9 KiB)  TX bytes:175137 (171.0 KiB)

xen-br0   Link encap:Ethernet  HWaddr 00:0F:1F:66:B9:29  
          inet addr:10.52.0.27  Bcast:10.52.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2149 errors:0 dropped:0 overruns:0 frame:0
          TX packets:445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:154230 (150.6 KiB)  TX bytes:59765 (58.3 KiB)


domain-1 o/p is:
eth0      Link encap:Ethernet  HWaddr 00:0F:1F:66:B9:29  
          inet addr:10.52.0.199  Bcast:10.255.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1972 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:40132 (39.1 KiB)  TX bytes:1920 (1.8 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

---------------------------------

I think domain-0's vif1.0 and domain-1's eth0 are able to exchange
packets but ping doesn't work.

Any idea, what am i missing?
I tried configuring network inside domain-1(so that i don't need to
pass kernel arguments) but no luck.

Thanks,
Anil.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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