Server Fault Asked by manifestor on December 20, 2020
I have a dedicated bare metal server, which is a KVM host and which has it’s own IPv4 address. I just ordered another seperate IPv4 address for a KVM guest and which should be used for the KVM guest only. How I can I use both IPv4 addresses, one connecting to the KVM host, the other one should be used for the KVM guest machine?
Should I create a bridge on the KVM host and share this bridge with the KVM guest? Maybe something like this:
auto eth0
iface eth0 inet manual
auto WANbr0
iface WANbr0 inet static
hwaddress ether 00:16:3e:00:00:00
address 1.2.3.4
netmask 255.255.255.248
broadcast 1.2.3.7
gateway 1.2.3.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
I would make the KVM guest use the WANbr0
interface in it’s xml file and add the new separate IPv4 in /etc/network/interfaces
on the guest machine.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP