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

    Trouble adding new VLAN to network.

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 131 Views 2 Watching
    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.
    • D Offline
      doni49
      last edited by doni49

      For the past couple of years, I've had VLAN setup and it's been working fine. I am now trying to setup a new VLAN for my IP cameras.

      I assigned port 5 on my managed switch to VLAN 500. I added VLAN 500 in pfSense and setup DHCP for VLAN 500.

      When I connect my laptop to that port on the switch, my laptop just says "unknown network" and gets an ip address beginning 192 (I forgot to write down the actual address.

      When I assign this switch port to VLAN 100, my laptop successfully gets an IP address that is within the VLAN 100 DHCP parameters.Interfaces.png DHCP.png

      My router should NEVER assign an IP address beginning with 192:
      VLAN 1 - is all the basic network devices (router, switch WiFi AP) 10.1.0.0/24
      VLAN100 - is for my laptop and work computer and any other such devices I eventually add. 10.10.0.0/24
      VLAN200 - IoT Devices (Home Assistant, Google Smart Speakers, Shelly Devices) 10.20.0.0/22
      VLAN300 - Guest Network 10.30.0.0/24
      VLAN400 - Servers (NAS & Mail Server -- others to be added in future) 10.40.0.0/24

      Here are screenshots of the managed switch VLAN settings.
      3df72ca7-8677-438a-ae6b-d2f60a4006eb-image.png
      da4ee135-b93e-4a9f-8ab6-e1ddf0d40393-image.png
      88e00b3a-fe89-49e5-880e-1091b1bfd89e-image.png

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann @doni49
        last edited by

        @doni49 said in Trouble adding new VLAN to network.:

        When I connect my laptop to that port on the switch, my laptop just says "unknown network" and gets an ip address beginning 192 (I forgot to write down the actual address.

        169.254.x.x?
        This is an APIPA address range. A DHCP client takes an IP out of it, if no DHCP server responses its requests.

        On the switch you have to add the trunk port to the VLAN 500 to connect it to pfSense.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          doni49 @viragomann
          last edited by

          @viragomann

          Thanks. I knew it was a default IP address -- that's the first time I've ever seen a name put to it though.

          I'll double-check when I get home tonight. But I thought I did have it in the trunk.

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