Interfaces and VLAN ID
-
Setup:
->Netgate 6100->ICG1->UI Switch Port 1
->IGC1 is configured for DHCP and Port 1 is configured for VLAN 22Ports 1-5 are configured for VLAN member/PVID of 22. All devices on those ports get the correct IP address.
I understand that those devices are on VLAN 22.
What is the advantage of going into pfsense -> Interfaces ->creating a VLAN -> on IGC1 so that it's not IGC1.22.
-
@ne_77 So that it's NOT?
Guessing you meant 'now' maybe?
Either way, there would be no advantage unless you have more than 1 vlan. -
@jarhead Correct, now not "not".
To rephrase the question, is there any difference between have a virtual interface such as IGC1.22 (VLAN 22) vs just IGC1 and the port it's connected to on the switch be set to 22?
I guess either way the switch needs to be set to the correct VLAN.
-
@ne_77 difference? One is tagged one isn't Your not really going to see any difference in performance if that was what are hinting at? It comes down to what you feel more comfortable with doing.
Native or untagged has the advantage of being able to plug anything into the port and be on that network, be it a pc, or a dumb switch. If you run tagged - then what you plug into it has to understand the tag and be setup for the tag, etc.
-
@johnpoz There's no performance gain if I have for example:
IGC1.22, IGC1.33 and devices are sending large amounts of data to each other across the VLAN?
Is there a video, article, etc that simplifies the VLAN, native vs untagged, etc?
-
@ne_77 said in Interfaces and VLAN ID:
IGC1.22, IGC1.33 and devices are sending large amounts of data to each other across the VLAN?
That is not what you asked.. You asked if there was a different between tagged and untagged with 1 interface. Yeah if you share interface with multiple vlans then yes there will be a performance hit.. Because your sharing the same physical interface.
is there any difference between have a virtual interface such as IGC1.22 (VLAN 22) vs just IGC1 and the port it's connected to on the switch be set to 22?
Where did you ask if there was multiple vlans on the same physical? ;)
-
@johnpoz
You are correct, it was an additional question that I should have noted.Basically, I was trying to learn the difference between Interface.X vs. just using the interface for VLANing.
I do have a few VANs on one interface and looking at the 6100, I thought that I should spread those out on to the available ports. Nothing changes on the switch side, right? Right now, IGC1 that has 3 VLANs is on port 1 and it's VLAN member and VLAN tagged with those two VLAN IDs.
-
@ne_77 you can for sure spread your vlans across multiple interface.. Be that manually with specific uplinks, or as a lagg setup.
But yes vlans on the same physical interface will share the bandwidth. This may or may not be an issue for you if there is not a lot of intervlan traffic on the same physical