piotraf.github.io
IT notes
Project maintained by piotraf
Hosted on GitHub Pages — Theme by mattgraham
Lab44 Project
Creating the lab44 router with dhcp and dns server based on unbound server with Centos 7 kickstart installation
prerequisites:
VM/PC with:
- 2 network interfaces
- CPU: 64-bit
- RAM: 1GB
- HDD: 8GB
Due to naming of network interfaces this instruction and kickstart are meant for VirtualBox users
- Create network for the lab:
- VirtualBox “Host Network Manager”(CTRL+H)/create:
- Adapter:
- IPv4 Address: 192.168.44.1
- IPv4 Network Mask: 255.255.255.0
- DHCP Server:
- untick (disable) “Enable Server”
- apply
- Create VM in VirtualBox with the following settings:
- RAM size default: 1GB
- Disk size default 8GB
- Display/screen/graphics controller: VBoxVGA
- Storage: Centos minimal iso as Optical drive
- disable audio (optional)
- disable usb (optional)
- Start the VM and when the installation screen pops up, choose with arrows the Installation option and press TAB. This will display the initial boot command line. Append to it:
inst.ks=http://piotraf.github.io/lab44/ns1.ks
and press Enter. Grab a cup of coffee and wait. :-)
- While waiting:
- download public key
- download private key
- configure your putty settings to:
ip: 192.168.44.254
port: 22
connection/data/auto-login username: admin
connection/ssh/auth/private key authentication: path to the ppk
- save the session with whatever name you wish
4. When VM is ready”
- connect with the new putty connection
- run:
sudo su -
yum update -y&&reboot (optional)
- proceed with steps: Name and dhcp server setup