Here's a question:
I have a server with two network ports. At the moment, I have four VM's running. They all use eth0 for networking via vmbr0.
Inside the VM's, I can either specify a DHCP address or fix it. My server has a fixed IP. So far, so good.
Now I want to use the second network port, but I want it to obtain an IP address by DHCP, and one of the VM's to have exclusive use of it.
This VM will have two network interfaces - the original from vmbr0, and another one.
The reason is that the second port will be plugged in to a different network, where I cannot fix the IP address.
Effectively, I want eth1 to obtain an IP address and my VM to use the same IP address. How can I do this?
I have a server with two network ports. At the moment, I have four VM's running. They all use eth0 for networking via vmbr0.
Inside the VM's, I can either specify a DHCP address or fix it. My server has a fixed IP. So far, so good.
Now I want to use the second network port, but I want it to obtain an IP address by DHCP, and one of the VM's to have exclusive use of it.
This VM will have two network interfaces - the original from vmbr0, and another one.
The reason is that the second port will be plugged in to a different network, where I cannot fix the IP address.
Effectively, I want eth1 to obtain an IP address and my VM to use the same IP address. How can I do this?