[[TranslatedPages]] [[PageOutline]] = How to allocate an ip address = The ip-temp process on hay is no longer in use! == Steps for allocating an ip address == Now, we allocate an IP and create the iterface in the same step. == Find an available IP == Run: {{{ freepuppet-helper ai | sort }}} To get a list of currently allocated IPs Then, pick the next one in the range you want and edit the .pp file for the server in question and add the following === Sample for physical host === {{{ class { "mayfirst::m_interface": } mayfirst::m_interface::set { "209.234.253.26/27": dev => "br0", gateway => "209.234.253.1", hwaddress => "00:26:b9:35:c1:eb", bridge_ports => "eth0" } }}} === Sample for canonical IP address on guest === {{{ class { "mayfirst::m_interface": } mayfirst::m_interface::set { "209.51.172.13/28": gateway => "209.51.172.1" } }}} === Sample for additional IP on guest === {{{ mayfirst::m_interface::set { "209.51.180.27/28": label => "smtp" } }}}