Hi,
1/ I have a Windows server with DHCP service activated, bridge mode : works fine, internet connection. I gave the server a fixed IP address.
2/ But my Client VM does not get IP from the DHCP, I get an APIPA address
I deleted VMnet0 to recreate a bridge card, didn't help.
If I give the client a static IP adress it works fine. If I try to get my IP from my physical router: it also works.
Thanks for yourself
1 -
Ethernet Adapter Ethernet0:
DNS Suffix for this Connection:
Description: Intel(R) Gigabit Network Connection
Physical Address: 00-0C-29-......
DHCP Enabled: No
No Automatic Configuration: Yes
IPv4 Address: 192.168.0.100 (Preferred) (IP I assigned)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
DNS Servers: 8.8.4.4, 1.1.1.1
2/
Ethernet Adapter Ethernet0:
DNS Suffix for this Connection:
Description: Intel(R) Gigabit Network Connection
Physical Address: 00-0C-29-.....
Autoconfiguration IPv4 Address: 169.254.30.3 (Preferred)
Subnet Mask: 255.255.0.0
Default Gateway:
DHCPv6 IAID: 201329...
DHCPv6 Client DUID: 00-01-00-01-2C-B1-F3-xx..
DNS Servers: fec0:0:0:ffff::1%1, fec0:0:0:ffff::2%1, fec0:0:0:ffff::3%1
NetBIOS over Tcpip: Enabled
you don't describe your environment very well. If you have a server bridged to the same subnet as your router, you will have 2 DHCP servers, not good.
What is the subnet of your router?
What is the result of ipconfig/all on the host, the server VM and the client VM(s). Or ip addr if a linux client?
What are the settings in your Virtual Network Editor?
If you really want to use the DHCP server in your VM server, you will have to isolate it from the router, maybe with NAT. I have Windows and Linux servers as Domain controllers and I give all machines static IP's. That is the way we roll in our Domains, as well. Dynamic IP addresses come back to bite you very often.
