>
> The providers only define guests with network type interfaces.
Hmm, then how to enable the network? Below are the steps:
1) Firstly, I create a networkpool by virsh, and then set it as default.
<network>
<name>cimtest-networkpool</name>
<uuid>aae93257-4100-4ebb-bf9a-70456abdbf93</uuid>
<forward/>
<bridge name='bridge-test' stp='on' forwardDelay='0' />
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254' />
</dhcp>
</ip>
</network>
2) Then I create a guest with specified mac address such as
00:11:22:33:44:55
3) I'm not sure how does provider allocate real ip address to the
guest? If I want
to connect to the guest, how to get its ip address?
The providers just set up the necessary devices the guest needs. It's
up to the user to install the OS in the guest. During the OS install
process, you can specify an IP address for the guest.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com