OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Existing assigned interface to VLAN
« previous next »
  • Print
Pages: [1]

Author Topic: Existing assigned interface to VLAN  (Read 133 times)

Jonttu

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Existing assigned interface to VLAN
« on: October 27, 2024, 02:18:28 pm »
I know this should be fairly basic thing to do but for some reason I fail to wrap my head around it and decide how to do it easiest way.

Basically I have a physical port igb1 used for my server so it has been assigned in interfaces without VLANs and have own DHCP etc normally. But now I have a need for more subnets and I have run out of ports on my OPNSense so I need to tranform this existing interface into a VLAN so I can then get the existing network and a new one from the same port and then in VLAN aware switch handle rest.

But what is the most effective way of transforming this existing network into a VLAN network. What I mean by that is that I would like to keep the existing DHCP static mappings and the same ip subnet on the existing network so minimal changes done to it.
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6935
  • Karma: 584
    • View Profile
Re: Existing assigned interface to VLAN
« Reply #1 on: October 27, 2024, 02:25:41 pm »
Just assign the logical name in Interfaces > Assignments to a VLAN interface and all address configuration, DHCP, firewall rules ... will follow.

That's why this extra level of abstraction exists  ;)
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Jonttu

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Existing assigned interface to VLAN
« Reply #2 on: October 27, 2024, 03:56:01 pm »
Of course it was that simple  :) I thought too complicated. Thank you kind person for your help!
Logged

dseven

  • Sr. Member
  • ****
  • Posts: 338
  • Karma: 36
    • View Profile
Re: Existing assigned interface to VLAN
« Reply #3 on: October 28, 2024, 10:01:44 am »
I probably shouldn't admit how long it took to dawn on me that the assignments / device column contains drop-down menus. I somehow got it in my head that once an assignment is made, the only way to change it would be to delete and create a new assignment. In fairness, I think the section at the bottom that says "No devices available for assignment" should really be something like "No unassigned interfaces" ;)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Existing assigned interface to VLAN
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2