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

    How can I pass DHCP request via router from ESXI virtual switch?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    2 Posts 2 Posters 608 Views
    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.
    • I
      ieandd
      last edited by

      I have 3 servers

      PFSENSE which has 4 interfaces:

      • WAN
      • LAN – 10.0.0.0/24
      • Servers (vlan) - 10.0.1.0/24, VLAN tag 1
      • DMZ (vlan) - 192.168.1.1/24, VLAN tag 2

      ESXI server which has 1 NIC and runs 2 virtual machines with 1 Vswitch. Vswitch has 3 Network port

      • Management network which has VLAN tag 0 which means I can reach from LAN interface. Ip: 10.0.0.6
      • DMZ network which has VLAN tag 2 which means I can reach from DMZ (vlan) interface. IP: 192.168.1.2
      • SERVER network which has VLAN tag 1 which means I can reach from Servers (vlan) interface. IP: 10.0.1.2

      This 2-machine connected to Asus wireless router RT-AC59U which runs in AP mode.

      Somehow, I could not pass DHCP request from virtual machines which are in DMZ and SERVER network to PFSENSE server.

      This problem is about networking because this setup worked with my old router without any problem. The only difference is Asus RT-AC59U router

      My diagnostic

      • I can ping 2 vlan gateways form my LAN interface. (10.0.1.1, 192.168.1.1)
      • I can ping 2 vlan gateway form Asus wireless router RT-AC59U
      • I checked TCPdump form my vSwhich only DHCP Discover logs exist
      • There is nothing PFSENSE dhcp logs
      • I made sure to turn off DHCP server on Asus wireless router RT-AC59U

      This is my routing table on router:

      default via 10.0.0.1 dev br0

      10.0.0.0/24 dev br0 proto kernel scope link src 10.0.0.11

      127.0.0.0/8 dev lo scope link

      Do you have any ideas?

      Here is my cap files from Vswitch network ports

      • server_vlan.pcap
      • dmz_vlan.pcap
      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @ieandd
        last edited by

        @ieandd

        DHCP will not pass through routers, unless a relay agent is used.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.