Connecting an Ethernet adapter to a KVM on Ubuntu
Connecting an Ethernet adapter to a KVM on Ubuntu
You're running a Windows Server 2012 VM with two Ethernet interfaces on your PC. One is connected to the Linux host at 192.168.1.18, and the other to the Windows Server at 192.168.1.13. You want the virtual machine to use only the second interface (192.168.1.13) for Linux and the first one (192.168.1.18) for Windows, so you can route traffic between them as if they were separate devices. You're considering a bridged network setup but are unsure how to isolate the two physical ports. As a beginner in Linux, I'll walk you through each step clearly.
It appears you're encountering an issue with network configuration in KVM. When a virtual interface is shared over a network bridge, it establishes a 'virtual' connection for the guest system. This means the guest can freely manage its own IP address without host intervention. In essence, the guest controls its virtual interface's IP, not the host. If you need to assign a specific IP like .13, remove it from your host and manually allocate it to the guest. Think of it as running Windows on actual hardware.
It functions through a virtual interface, which allows it to use this gigabit connection. You can modify the IP address, but it will continue to rely on that shared line instead of having its own dedicated one.
Impressive setup! I can't believe how powerful that is. I run my own hosting service and don’t have a server that matches it. For more details, check out the guide here: http://www.linux-kvm.org/page/How_to_ass...T-d_in_KVM