Skip to contentSkip to conversation

newbee:not able to get network working in domain-0

DISCUSSION anil prasad 1 participant 1 message Mar 1, 2005

lore
Share & tools
lore
#0 lore raw

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