|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Xen Starting DomainU:Error: Device 0 (vif) could not be conn
To Coral Lin,
I had the same problem.
I never was able to fix it.
I decided to use the NAT setup instead of the bridge. The NAT setup worked fine.
To use the NAT setup, you'd need to edit the /etc/xen/xend-config.sxp script and comment out the lines
(network-script network-bridge)
(vif-script vif-bridge)
and uncomment the lines
(network-script network-nat)
(vif-script vif-nat)
If you have the Xen 3.0 LiveCD, you will observe that they use the NAT setup on the LiveCD.
Once you have the NAT setup, when you create a guest domain, the host
domain's IP on interface vifx.0 should be something like 10.0.x.128.
Login on your guest domain and set its eth0 interface to 10.0.x.1 and its default gateway to 10.0.x.128.
ifconfig eth0 10.0.x.1 netmask 255.255.255.0 up
route add default gw 10.0.x.128
you should now be able to ping back and forth between host and guest. If you have SSH installed, you can ssh as well.
The x in the IP addresses above, increments each time you create a new
domain. The first time it is 1, the next time it is 2, etc. So you have
to keep checking it each time.
If you want, you can set up DHCP like the LiveCD does and then, you won't have to mess with the ifconfig and route commands.
Hope this helps,
Richard
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|