<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Making Best Use of Physical NICs &amp; VLANs]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm trying to consolidate lots of boxes into a more streamlined system and have acquired a Procurve 2910al. With it's many ports, PoE and 10G ability, it meets all of my current needs.</p>
<p dir="auto">But, I also want to make best use of the physical resources on my pfsenseVM.</p>
<p dir="auto">Both pfsense and the switch are both far more capable than my ability! My head is spinning with the different ways of configuring both, particularly w.r.t. VLANs.</p>
<p dir="auto">I wonder if I can pick your brains please, to have a look at my layout and judge whether I'm making best use of my available equipment.</p>
<p dir="auto"><img src="/assets/uploads/files/1604757464670-network-pfsense-resized.jpg" alt="network pfsense.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">All feedback welcome.</p>
<p dir="auto">TIA,</p>
<p dir="auto">Paul</p>
]]></description><link>https://forum.netgate.com/topic/158196/making-best-use-of-physical-nics-vlans</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 18:27:06 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/158196.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Nov 2020 14:00:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sun, 08 Nov 2020 11:52:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bingo600">@<bdi>bingo600</bdi></a> said in <a href="/post/944379">Making Best Use of Physical NICs &amp; VLANs</a>:</p>
<blockquote>
<p dir="auto">You should only have ONE dhcp server (per vlan) active at any time.<br />
Else you risk getting overlapping leases.</p>
</blockquote>
<p dir="auto">Actually, multiple DHCP servers are permitted.  While you can configure them with non-overlapping pools, Duplicate Address Detection is supposed to be used to avoid problems.</p>
]]></description><link>https://forum.netgate.com/post/944471</link><guid isPermaLink="true">https://forum.netgate.com/post/944471</guid><dc:creator><![CDATA[JKnott]]></dc:creator><pubDate>Sun, 08 Nov 2020 11:52:06 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sun, 08 Nov 2020 08:08:07 GMT]]></title><description><![CDATA[<p dir="auto">I'm not a VM/Hypervisor guru.<br />
But the Vlan tagging could also be done in ie VMware ESXi (vSwitch) , and then "just" have it present normal (virtual) ethernet interfaces to the pfSense.</p>
<p dir="auto">If you have a lot of server (host) intercommunication that (vSwitch) ought to be faster than any physical interface you can present.</p>
<p dir="auto">I seem to remember a Max IF limitation of ?? 10 ??<br />
With the VMNIC3 ?? , driver.</p>
<p dir="auto">I have only used pfSense w. physical boxes.</p>
<p dir="auto">/Bingo</p>
]]></description><link>https://forum.netgate.com/post/944427</link><guid isPermaLink="true">https://forum.netgate.com/post/944427</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sun, 08 Nov 2020 08:08:07 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sun, 08 Nov 2020 07:21:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pm1961">@<bdi>pm1961</bdi></a></p>
<p dir="auto">Micro pfSense Add Vlan Guide</p>
<p dir="auto">1: Create Vlan<br />
Interface -&gt; Interface Assignments -&gt; Vlans<br />
<img src="/assets/uploads/files/1604818195988-pf-if-vlan.png" alt="pf-if-vlan.png" class=" img-fluid img-markdown" /><br />
Press Green ADD in lower right</p>
<p dir="auto">2:  Fill in  Vlan data<br />
Select interface to enable this vlan on<br />
Add vlan number + description + Save<br />
<img src="/assets/uploads/files/1604818449594-pf-if-vlan-make-1.png" alt="pf-if-vlan-make-1.png" class=" img-fluid img-markdown" /><br />
Now the Vlan has been created.</p>
<p dir="auto">3: Select  the newly created vlan interface<br />
Select it<br />
<img src="/assets/uploads/files/1604818720962-select-if.png" alt="select-if.png" class=" img-fluid img-markdown" /><br />
Scroll to bottom and find it in the pull down menu<br />
<img src="/assets/uploads/files/1604818759339-pf-if-add.png" alt="pf-if-add.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">4: Fill in interface data , and enable it<br />
Enable it<br />
Prob change the description to a better IF name<br />
Fill in IP interface address + subnet mask<br />
<img src="/assets/uploads/files/1604818821458-pf-if-define.png" alt="pf-if-define.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Save</p>
<p dir="auto">Now you have created a new pfSense Vlan tagged IF.</p>
<p dir="auto">Maybe add some dhcp server if needed.</p>
<p dir="auto">Edit: I used 192.168.250.1 as ip net for vlan 217<br />
I would prob have used 192.168.217.1 if real production , and i had the full control,</p>
<p dir="auto">Edit2:<br />
You will have to match the config on your switch on the interface you connect the pfSense parent vlan interface to (i used IGB1)</p>
<p dir="auto">Create Vlan217 , make the switch interface a  member of vlan217.<br />
Set it to a tagged membership</p>
<p dir="auto">Done ...<br />
You should now be able to ping (allow ping) your pfSense vlan 217 interface , from any port that has a vlan217 membership.</p>
<p dir="auto">Thumb rule for ports:<br />
Untagged is for end devices using normal plain ethernet (PC , IOT etc)<br />
Tagged is for "transport" to other devices that runs tagged multi vlan transport (ie.switches, VM-Hypervisor master interfaces etc.)</p>
<p dir="auto">/Bingo</p>
]]></description><link>https://forum.netgate.com/post/944426</link><guid isPermaLink="true">https://forum.netgate.com/post/944426</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sun, 08 Nov 2020 07:21:55 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sun, 08 Nov 2020 06:27:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pm1961">@<bdi>pm1961</bdi></a><br />
Once you get the hang of Vlans &amp; tagginng, you could start to implement it in your system.</p>
<p dir="auto">For a simple setup like this one (3 vlans) , it might not be needed.</p>
<p dir="auto">But it will give you flexibility, as ie. using tagging in your 10G interface would enable your VM's to talk 10Gb to separate Vlans (separation) , and let pfSense (VM) route and firewall traffic on those vlans.</p>
<p dir="auto">Just backup (pfSense) / Snapshot a lot, while playing <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f915.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--face_with_head_bandage" style="height:23px;width:auto;vertical-align:middle" title=":face_with_head_bandage:" alt="🤕" /></p>
]]></description><link>https://forum.netgate.com/post/944425</link><guid isPermaLink="true">https://forum.netgate.com/post/944425</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sun, 08 Nov 2020 06:27:47 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sat, 07 Nov 2020 20:43:56 GMT]]></title><description><![CDATA[<p dir="auto">A Vlan tag is like a "letter envelope" with the VLAN number as the envelope recipient address .</p>
<p dir="auto">That way you can send multi vlan data , tagged,  down <strong>the same cable,</strong> to multiple vlans. Because the correct recipient vlan is on the envelope (and data is in the envelope).</p>
<p dir="auto">Once the envelope reaches the Lan interface that is set up for receiving taged packages, the device (pfSense or switch) knows to "open the envelope" and send the received data inside the envelope , to the Vlan  stamped on the envelope (the tag).</p>
<p dir="auto">Once the received data has been sent to the correct vlan , the device will send a copy of it to every port that is member of that vlan.</p>
<p dir="auto">If the "member" port is untagged , it will not add any tags - aka that port will behave as a normal  lan port (for a pc or whatever).<br />
If the "member" port is tagged , it will be put in a new envelope (tagged) with the vlan stamped on it , and send out of that port.</p>
<p dir="auto">The same goes for xmitting data , when set up for tagging , the device puts the data in the envelope , and tags it (with the vlan) , and send it down the "line/interface/cable"<br />
When the port is set up for untagged , the data is just sent out of that port. As normal ethernet data.</p>
<p dir="auto">/Bingo</p>
]]></description><link>https://forum.netgate.com/post/944383</link><guid isPermaLink="true">https://forum.netgate.com/post/944383</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sat, 07 Nov 2020 20:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sat, 07 Nov 2020 19:44:59 GMT]]></title><description><![CDATA[<p dir="auto">Vlan</p>
<p dir="auto">For HP's i only have a few  HP1820's</p>
<p dir="auto">You define the Vlan at one menu , but you define the Vlan members at another menu , on my switch thats port membership.</p>
<p dir="auto">The port can have 3 states for the specific vlan shown (my Vlan was 100 in this example).</p>
<p dir="auto">Untagged  means it is sending/receiving normal lan frames  aka. a normal lan port that is a member of the selected vlan.<br />
Tagged  - means the port tag's the  data with a Vlan tag of the selected vlan<br />
Excluded - This port has no relationship to the selected Vlan</p>
<p dir="auto"><img src="/assets/uploads/files/1604777753290-af290604-3d1b-4122-91c3-0bedcfe5f288-image.png" alt="af290604-3d1b-4122-91c3-0bedcfe5f288-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You would want untagged ports that are member of vlan 30 (IOT) , and pfSense IOT shluld be connected to one of those ports on the switch too.</p>
]]></description><link>https://forum.netgate.com/post/944381</link><guid isPermaLink="true">https://forum.netgate.com/post/944381</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sat, 07 Nov 2020 19:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sat, 07 Nov 2020 19:35:22 GMT]]></title><description><![CDATA[<p dir="auto">You should only have ONE dhcp server (per vlan) active at any time.<br />
Else you risk getting overlapping leases.</p>
<p dir="auto">If you had to enable DHCP on the switch , then your Firewall IoT vlan is not connected to the Switch IoT Vlan , or you have DHCP Snooping enabled on the switch.</p>
<p dir="auto">DHCP Snooping is a way to authorize (trust) certain  switch-ports to pass DHCP lease messages.</p>
<p dir="auto">You can test if dhcp works on the pfsense port by connecting a pc directly to the iot port , and see if you get an address. If you do ... dhcp is working on the pfsense. And it's the switch that somehow is preventing the dhcp to be passed. Either wrong vlan or DHCP Snooping.</p>
<p dir="auto">Re: 10G to the FW ... I'd prob wait a bit , and get the feeling w. the 4x-1Gb card you seem to have. But it could be used in a later setup where you pass several Vlans down to the switch via 10G</p>
<p dir="auto">/Bingo</p>
]]></description><link>https://forum.netgate.com/post/944379</link><guid isPermaLink="true">https://forum.netgate.com/post/944379</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sat, 07 Nov 2020 19:35:22 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sat, 07 Nov 2020 17:39:57 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Bingo,</p>
<p dir="auto">I've only just read about tagging whilst reading the switch manual about VLANs and their setup. Definitely something I'll bear in mind for the future.</p>
<p dir="auto">Only the switch is 10g capable. My two servers and my main desktop are all on the same LAN. Certainly transfers between them are at near 10g speeds.</p>
<p dir="auto">My pfsense is a VM on one of the servers with the 4 x 1g NICs being passed through to pfsense whilst the 10g stays with the bare metal server.</p>
<p dir="auto">Are you hinting that there would be value in passing through the 10g NIC to the pfsense VM?</p>
<p dir="auto">One thing that puzzles me with the switch is that I have had to enable DHCP on the VLAN 30 setup, in order for those devices to be able to see the internet. I thought that having pfsense handle DHCP meant that I would have to set the VLAN as static. It just seems wrong having the IOT server set to handle DHCP as well as the VLAN on the switch?</p>
<p dir="auto">Attached is how IoT is configured.......... The devices on it are working..... I'm just not sure I understand how!</p>
<p dir="auto"><img src="/assets/uploads/files/1604770719527-iot-dhcp.jpg" alt="iot dhcp.JPG" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1604770748661-vlan30.jpg" alt="vlan30.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/944367</link><guid isPermaLink="true">https://forum.netgate.com/post/944367</guid><dc:creator><![CDATA[pm1961]]></dc:creator><pubDate>Sat, 07 Nov 2020 17:39:57 GMT</pubDate></item><item><title><![CDATA[Reply to Making Best Use of Physical NICs &amp; VLANs on Sat, 07 Nov 2020 16:52:54 GMT]]></title><description><![CDATA[<p dir="auto">Looks ok.</p>
<p dir="auto">For the ip ranges i'd go for something more uncommon  like:<br />
10.110.x.1 , and then just use x= 10 / 20 / 30 (match the vlan)</p>
<p dir="auto">Do you know that pfSense "can run" several vlans on/via one interface it's called vlan tagging (cisco calls it trunking) ?</p>
<p dir="auto">I'd do like this:</p>
<h2><a class="anchor-offset" name="firewall-if"></a>Firewall IF</h2>
<p dir="auto">1: Wan (www)<br />
2: Lan<br />
3: Wifi/Iot  (Tagged interface) : Separate vlans via vlan tagging (same cable)<br />
4: Spare for future stuff.</p>
<p dir="auto">But what you have made (drawing) would work fine</p>
<p dir="auto">Edit: Is your firewall 10G capable , or just the switch ?<br />
/Bingo</p>
]]></description><link>https://forum.netgate.com/post/944360</link><guid isPermaLink="true">https://forum.netgate.com/post/944360</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Sat, 07 Nov 2020 16:52:54 GMT</pubDate></item></channel></rss>