WolfHunter will acts as a deployment administrator in the whole network, so the first step for setting up the WolfHunter Dev/Test Env is to setup the Network.
Fortunately virt-manager provides a very convenient method for creating and managing the virtual network. Following we will setup an isolated network which emulates the real networking in production environment.
We need to setup 2 networks for deployment, Inner and External.
We assume all of the nodes are "locked" in inner network, all of them have no direct connection to internet.
External Network is only opened for WolfHunter Deployer Node, which runs Cobbler and Ansible Server. This server need internet connection for updating some packages, but once the environment is ready, this external interface could be removed from Deployer Node.
IP Address Arrangement:
Open virt-manager, double-click localhost(QEMU):
Choose "Virtual Networks" tab:
Click the "+", and named your virtual network name:
Set the IP Address and Disable the DHCP, we disabled the DHCP now because later our deployed Cobbler Server will manage this network DHCP:
Directly click "Forward" for next step:
Choose "isolated network" then click "Finish":
The steps are mainly the same, but with some minor modifications.
Define the name:
Enable DHCP, because this is external network, so we let host machine managing the whole network's DHCP:
Choose "Forwarding to ..." thus you have internet connection in this network:
Until now we have setup the Network Environment of the WolfHunter, with this pre-defined networking, we could continue to next step for settting up the cobbler server.