Hyper-V : VM DHCP offer not reaching client in different VLAN
-
I'm trying to setup a virtual lab with a pfsense router, Domain Controller + dhcp server, Client PC
De pfsense router has 2 interfaces configured "hn1" native lan and "hn2" with 2 vlan interface hn2.10 and hn2.20VM1: DC - VLAN10 - IP 172.16.10.253
VM3:
-WAN: 192.168.2.100 connected to the external network WAN_S1S2
-LAN: 172.16.1.0/24
-VLAN10 (servers): 172.16.10.0/24
-VLAN20 (clients): 172.16.20.0/24All VLANs have connection to the internet with NAT on the firewall
All lan and vlans van PING each other.I've put VM2 client in VLAN10 my client get a dhcp leave from the dhcp-server
I've put VM2 Client in VLAN20 my client doenst get a dhcp leaseI've set a DHCP relay to 172.16.10.253 on my pfsense firewall
Sniffing on de Client and DC with following result:
Client --> DHCP discover
DC --> DHCP Discover - Source 172.16.10.1 - Dest. 172.16.10.253
DC --> DHCP Offer - Source 172.16.10.253 - Dest. 172.16.20.1
Client --> no response
Capture packets on pfsense interface VLAN20
DHCP Discover - Source 0.0.0.0 - Dest. 255.255.255.255
DHCP Offer - Source 172.16.20.1 - Dest. 172.16.20.10Everything look fine but it looks like the virtual switch S1_VLANS doesn't forward it to acces port 20
-