Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Hyper-V : VM DHCP offer not reaching client in different VLAN

    Virtualization
    dhcp hyperv pfsense vlan
    1
    1
    539
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SvenSchoonvliet
      last edited by

      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.20

      VM1: 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/24

      All 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 lease

      I'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.10

      Everything look fine but it looks like the virtual switch S1_VLANS doesn't forward it to acces port 20

      HyperV network.png

      1 Reply Last reply Reply Quote 0
      • stephenw10S stephenw10 moved this topic from General pfSense Questions on
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.