<?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[Routing based on vlan]]></title><description><![CDATA[<p dir="auto">We want to plugin some hotspots in our networking. Traffic from the hotspots should go over WAN2 because of an accounting router. All traffic comes in on 1 LAN port:</p>
<p dir="auto">nfe0 –&gt; LAN<br />
igb0 --&gt; WAN1 --&gt; internet<br />
igb1 --&gt; WAN2 --&gt; accounting --&gt; internet</p>
<p dir="auto">The hotspot supports vlan, so I decided to give vlan a change. I tried to setup vlan, but nothing works. Here was my setup:</p>
<p dir="auto">I added a vlan (VLAN0) interface with nfe0 (LAN) as parent. Then I activated the new vlan in interfaces and gave this a fixed ip address.</p>
<p dir="auto">After that I made a firewall rule. All trafic to VLAN0 should go to gateway WAN2.</p>
<p dir="auto">When I setup a testlaptop with vlan I am able to ping the ip address from VLAN0, but nothing more. Without the vlan tag on the laptop, I cannot ping VLAN0</p>
<p dir="auto">Is it possible to use LAN for tagged (vlan) and untagged trafic? If yes, should I make an extra rule/config for untagged traffic?</p>
<p dir="auto">Does the WAN2 need some extra configuration?</p>
]]></description><link>https://forum.netgate.com/topic/67059/routing-based-on-vlan</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 18:46:58 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/67059.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Mar 2014 13:05:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Routing based on vlan on Thu, 27 Mar 2014 12:21:59 GMT]]></title><description><![CDATA[<p dir="auto">I did a lot of testing, and it turned out that I had to leave the ethernet port from the hotspot alone, and switch on vlan on the wifi part of the hotspot.</p>
]]></description><link>https://forum.netgate.com/post/451255</link><guid isPermaLink="true">https://forum.netgate.com/post/451255</guid><dc:creator><![CDATA[rvandam]]></dc:creator><pubDate>Thu, 27 Mar 2014 12:21:59 GMT</pubDate></item><item><title><![CDATA[Reply to Routing based on vlan on Thu, 27 Mar 2014 07:41:34 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. I will do a capture to see if any packet arrives.</p>
]]></description><link>https://forum.netgate.com/post/451226</link><guid isPermaLink="true">https://forum.netgate.com/post/451226</guid><dc:creator><![CDATA[rvandam]]></dc:creator><pubDate>Thu, 27 Mar 2014 07:41:34 GMT</pubDate></item><item><title><![CDATA[Reply to Routing based on vlan on Tue, 25 Mar 2014 16:06:29 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Is there a way to test if any packet arrived the router?</p>
</blockquote>
<p dir="auto">Diagnostics-&gt;Packet Capture<br />
Listen on the VLAN0 interface, then go looking on the ordinary LAN untagged interface.</p>
]]></description><link>https://forum.netgate.com/post/450851</link><guid isPermaLink="true">https://forum.netgate.com/post/450851</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Tue, 25 Mar 2014 16:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to Routing based on vlan on Tue, 25 Mar 2014 16:03:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply.</p>
<p dir="auto">I added the firewall rule as you described. I tried to get vlan on my laptop working since the Hotspot didnt work.</p>
<p dir="auto">I used VLAN number 20.</p>
<p dir="auto">Is there a way to test if any packet arrived the router?</p>
]]></description><link>https://forum.netgate.com/post/450849</link><guid isPermaLink="true">https://forum.netgate.com/post/450849</guid><dc:creator><![CDATA[rvandam]]></dc:creator><pubDate>Tue, 25 Mar 2014 16:03:03 GMT</pubDate></item><item><title><![CDATA[Reply to Routing based on vlan on Tue, 25 Mar 2014 15:51:31 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I believe that a mix of tagged and untagged traffic should work. I did this for a short time when learning VLAN setup a while ago, and remember it working (now I just have configs with trunk port on pfSense that does not look for untagged).<br />
Why do you need a VLAN tag on the laptop? I expected that the hotspot AP device is setup to tag all the packets from devices connected to it.<br />
What is the real VLAN number you are using? Don't use 0/1.<br />
Where did you add the firewall rule? Should be to VLAN0 interface, with something like "pass source VLAN0net destination any gateway WAN2"</p>
]]></description><link>https://forum.netgate.com/post/450844</link><guid isPermaLink="true">https://forum.netgate.com/post/450844</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Tue, 25 Mar 2014 15:51:31 GMT</pubDate></item></channel></rss>