network problem from guest domain
Hi,
I have taken the latest from xen-2.0-testing branch and I am able to start guest domain successfully. But somehow network in guest domain is not working..
Here goes all the basic details:
# xm create -n -f 1
Using config file "1".
(vm
(name sh1)
(memory 128)
(image
(linux
(kernel /boot/vmlinuz-2.6.10-xenU)
(ip
192.168.2.111:1.2.3.4:192.168.2.1:255.255.255.0::eth0:off)
(root '/dev/hda1 ro')
(args 4)
)
)
(device (vbd (uname phy:vg1/d1) (dev hda1) (mode rw)))
(device (vif (mac aa:00:00:00:00:11) (bridge xen-br0)))
)----
Now if I login into guest domain (using xm console), pinging to 192.168.2.1 does not work.
Guest domain:
#ifconfig eth0
eth0 Link encap:Ethernet HWaddr AA:00:00:00:00:11
inet addr:192.168.2.111 Bcast:192.168.2.255
Mask:255.255.255.0
...
Base domain:
In the base domain ther is vif4.0, but it's mac addrc is not that of guest domain and vif4.0 don't have any ip address assigned.. (seems some problem here?)
#ifconfig vif4.0
vif4.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
# brctl show
bridge name bridge id STP enabled interfaces
xen-br0 8000.0007e9d226d2 no eth0
vif4.0Base domain has IP address 192.168.2.110 and it can successfully access the network.
Not sure what I am doing wrong in the setup..
Thanks,
sachin
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
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
Have your host 2 nics? If yes disable one.
I have the same experience with a double-nic mainboard
Michael
-------------------------------------------------------
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
No, just one nic.
Today I switched from xen-2.0-testing.bk to xen-2.0.bk and network in guest domain is working now. So I guess it was side-effect of some new changes in xen-2.0-testing.
Thanks,
sachin
Quoted 9 lines · --- Michael Stoehrel
Have your host 2 nics? If yes disable one.
I have the same experience with a double-nic mainboardMichael
Quoted 11 lines
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
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