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

Multi LAN, one DHCP and one static mapping. Problem

Scheduled Pinned Locked Moved DHCP and DNS
1 Posts 1 Posters 1.3k 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.
  • T
    Tillebeck
    last edited by Jun 29, 2012, 10:27 AM

    Question
    Is there any way to have one pfsense with two subnets both active on the same psysical local network?
    And then create rules so some DHCP enabled computers go into one subnet and the rest as default goes into the other subnet?

    This is what I have tried with no luck

    Pfsense: Subnets and interfaces
    vr1 = WAN
    vr0 = LAN   192.168.24.1/24 - DHCP NOT enabled.
    vr2 = OPT1 192.168.25.1/24 - DHCP enabled

    Pfsense: Client setup
    CLIENT_01: No rules
    CLIENT_02: No rules
    CLIENT_03: Static mapping for MAC address to 192.168.24.200

    Client setup
    CLIENT_01 : setup with static IP 192.168.24.205
    CLIENT_02 : set up to get IP from DHCP
    CLIENT_03 : set up to get IP from DHCP

    Setup LAN
    4 switches, 130 clients.
    Both LAN and OPT1 goes into the same switch so clients on any ports/switch can connect to one of the two subnets.

    Result / problem

    Good result:
    CLIENT_01 will go into the network on the LAN interface (192.168.24.x) as configured on the client
    CLIENT_02 get a DHCP address from OPT1 as espected (192.168.24.x)

    Bad result:
    CLIENT_03 also gets an DHCP address even though I added a static mapping for LAN interface (192.168.24.200)

    I can see it in the DHCP listed as "offline" at the bottom of the page with the statip mapped LAN address. But searching for the MAC address I also see it listed with a DHCP address from the OPT1.

    to sum up…
    I look for a way to fix this problem or do the same thing in a different way.

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received