I have been setting up my KVM guests on my CentOS server and ive run into a problem with a Windows Server.
The problem cant be solved at the guest Windows side, but might be solved on the Host/kvm settings side. But ill need some help on those parts.
What I want:
Send a specific DHCP request, and get the reply to that
What I tried:
Bridge network with the settings correct in the guest -> not the desired result
Setted up eth0 on the host as desired -> get the correct DHCP reply, but at the host ofc
What I think will solve my problems with the DHCP request:
Get a DHCP request with eth0 on the host
Have the KVM Guest use that eth0 and be able to send all his requests over that port and get feedback over that port.
Some side information:
eth0 will only be used by that Guest. So it can claim eth0 if needed
ifcfg-eth0 (note that the commented out are needed for it to work like desired on host but then BRIDGE will be commented out)
dhclient-eth0.conf (needed for the dhcp to work correctly when using the host to connect)
request subnet-mask, time-offset, routers, domain-name-servers, host-name, domain-name, root-path, default-ip-ttl, broadcast-address, perform-mask-discovery, router-discovery, static-routes, nis-domain, nis-servers, ntp-servers, vendor-encapsulated-options;
send dhcp-max-message-size 548;
send vendor-encapsulated-options 03:09:61:6d:69:6e:65:74:31:33:30:04:05:66:69:73:79:73;
send vendor-class-identifier "Aminoaminet130fisys";
So in short, when connecting on the CentOS host it works. When connecting with the 'same' settings in Windows it wont when bridged.
Bridged networking is kind of all i have experience with with KVM, if someone could help me setting up in a way that i can get a DHCP setup on the HOST and just forward it all to the client that would be wonderfull