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

VLAN & DHCP question

Scheduled Pinned Locked Moved L2/Switching/VLANs
3 Posts 2 Posters 515 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.
  • P
    PM_13
    last edited by PM_13 Dec 18, 2020, 1:32 AM Dec 18, 2020, 1:31 AM

    Hi,

    I am new to VLANs and still learning my way around and created the attached topology in GNS3.

    PfSense LAN20 port runs: 192.168.20.0 subnet
    On the same port created VLAN30 which runs 192.168.30.0 subnet

    Then configured interface f0/3 of L2 switch as VLAN 30 and interface f0/2 as trunk.

    On starting the network, both machines (PC1 & PC2) get 192.168.30.x address. Is there a chance one of machines (say PC1) can get 192.168.20.x address in this topology?

    I did not get 192.168.20.x address in all of my attempts but just want to make sure that it is really not possible.

    Topology.png

    J 1 Reply Last reply Dec 18, 2020, 2:05 AM Reply Quote 0
    • J
      JKnott @PM_13
      last edited by Dec 18, 2020, 2:05 AM

      @pm_13

      No, as I understand your network, you're feeding VLAN 30 to the unmanaged switch, which means both computers connected to that switch will be on VLAN 30. You'd need a managed switch and a trunk port to do what you want. Short of that, you'd have to configure 1 or both computers to connect to VLANs. Your best bet would be to get a managed switch. They're cheap, but avoid TP-Link.

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

      P 1 Reply Last reply Dec 18, 2020, 6:05 PM Reply Quote 1
      • P
        PM_13 @JKnott
        last edited by Dec 18, 2020, 6:05 PM

        @jknott Thanks and think I understand.
        regards.

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