5.2. Managing IP Addresses

Perform the following steps to get a fully routable (non-NAT-ed) IP Address:

  1. See what IP addresses are available on the providing host:

    [asmith@alicehost ~]# tycoon host get_status providinghost1 "resources[IPv4Address][1][addresses]"
    

  2. Assuming that there are available IP addresses, enter a bid specifying your preferred IP address. For example, Alice would do the following to get 1.2.3.4 on providinghost1:

    [asmith@alicehost ~]# tycoon host bid providinghost1 0 IPv4Address,1.2.3.4:1
    

  3. Assuming that your bid was sufficient to get the IP address, your virtual machine will now have the IP address on eth1 via DHCP. It is automatically configured as the default interface. Note that you may be outbid for the address at some later point. Set a higher bid to reduce the likelihood of that happening.