A homelab is a great way to learn about virtualization and networking. It's also a great way to experiment with different operating systems and applications.
If you're looking to set up a homelab, Proxmox is a great choice. Proxmox is a free and open-source virtualization platform that's easy to use and manage.
Here at IbmiMedia, we will show you how to set up a homelab and DNS with Proxmox and two NICs.
To create a new bridge, follow these steps:
To configure the bridge to use NAT, follow these steps:
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
NOTE: Remember to use the details of your server accordingly.
To assign an IP address and subnet mask to the bridge, follow these steps:
If you are using a DHCP server to assign IP addresses to the virtual machines, you need to configure the DHCP server to use the bridge.
The exact steps for configuring the DHCP server will vary depending on the DHCP server you are using.
However, the general steps are as follows:
To create a new virtual machine, follow these steps:
Once the virtual machine is created, you need to configure the virtual machine to use the bridge.
The exact steps for configuring the virtual machine will vary depending on the operating system you are using.
However, the general steps are as follows:
In order for a virtual machine to use DNS, you need to configure the virtual machine's network settings to use the DNS server. The exact steps for configuring the virtual machine will vary depending on the operating system you are using.
However, the general steps are as follows:
For example, if you want to use Google's DNS servers, you would add the following lines to the dns-nameservers parameter:
dns-nameservers 8.8.8.8 8.8.4.4
Once you have configured the virtual machine's network settings, you need to restart the virtual machine for the changes to take effect.
In Linux, you can do this by running the following command:
$ sudo service networking restart
After you have restarted the network service, the virtual machine will be able to use DNS to resolve domain names.
In this guide, we showed you how to set up virtual machines on a NAT network in Proxmox.