<?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[Specify Netmask rather than CIDR]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
I want to load-balance two WAN links, based on destination IP (even or odd). Example.</p>
<p dir="auto">10.10.10.1 -&gt; WAN1<br />
10.10.10.2 -&gt; WAN2</p>
<p dir="auto">I can specify similar in normal FreeBSD IPFW using 0.0.0.1 or 0.0.0.2.  But pfsense only allow /28 type netmask.</p>
<p dir="auto">So, anyone know how I can do it ?</p>
]]></description><link>https://forum.netgate.com/topic/5612/specify-netmask-rather-than-cidr</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 09:03:33 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/5612.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Aug 2007 17:23:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 19:14:56 GMT]]></title><description><![CDATA[<p dir="auto">This will not work in pfSense.</p>
]]></description><link>https://forum.netgate.com/post/159105</link><guid isPermaLink="true">https://forum.netgate.com/post/159105</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Tue, 28 Aug 2007 19:14:56 GMT</pubDate></item><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 18:54:43 GMT]]></title><description><![CDATA[<p dir="auto">sorry for the confusion. I wrongly mention .2.</p>
<p dir="auto">Previously, I try on FreeBSD, with rc.firewall &amp; PF work together and achieve policy routing &amp; NAT</p>
<p dir="auto">the idea is to have traffic to</p>
<ul>
<li>odd destination IP, go into one WAN link (odd destination IP, like 10.10.1.1)</li>
<li>even destination IP, go into another link (even destination IP, like 10.10.1.2)</li>
</ul>
<p dir="auto">I remember something similar to below in configure file:<br />
fwd 0.0.0.0 0.0.0.1 Wan1Gateway -&gt; packet to WAN1 link<br />
fwd 0.0.0.1 0.0.0.1 Wan2Gateway -&gt; packet to WAN2 link<br />
{Sorry, exact syntax I need to double check}</p>
]]></description><link>https://forum.netgate.com/post/159101</link><guid isPermaLink="true">https://forum.netgate.com/post/159101</guid><dc:creator><![CDATA[tim]]></dc:creator><pubDate>Tue, 28 Aug 2007 18:54:43 GMT</pubDate></item><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 18:27:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tim">@<bdi>tim</bdi></a>:</p>
<blockquote>
<p dir="auto">yes, but having netmask 0.0.0.1 can't convert to CIDR :-(  which is the only input method on pfsense.</p>
</blockquote>
<p dir="auto">The problem is that 0.0.0.1 is not a netmask. I thought you might be talking about an inverse netmask, but 0.0.0.2 isn't even a valid inverse netmask. Anyway, I don't think ipfw uses inverse wildcarding. I've only seen it on Cisco IOS devices…</p>
]]></description><link>https://forum.netgate.com/post/159099</link><guid isPermaLink="true">https://forum.netgate.com/post/159099</guid><dc:creator><![CDATA[dotdash]]></dc:creator><pubDate>Tue, 28 Aug 2007 18:27:43 GMT</pubDate></item><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 16:10:14 GMT]]></title><description><![CDATA[<p dir="auto">What exactly are you looking for in terms of hosts?  1 host only?</p>
]]></description><link>https://forum.netgate.com/post/159092</link><guid isPermaLink="true">https://forum.netgate.com/post/159092</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Tue, 28 Aug 2007 16:10:14 GMT</pubDate></item><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 12:39:01 GMT]]></title><description><![CDATA[<p dir="auto">yes, but having netmask 0.0.0.1 can't convert to CIDR :-(  which is the only input method on pfsense.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sai">@<bdi>sai</bdi></a>:</p>
<blockquote>
<p dir="auto">google says that http://www.tech-faq.com/convert-netmask-to-cidr.shtml is a good place to look</p>
</blockquote>
]]></description><link>https://forum.netgate.com/post/159088</link><guid isPermaLink="true">https://forum.netgate.com/post/159088</guid><dc:creator><![CDATA[tim]]></dc:creator><pubDate>Tue, 28 Aug 2007 12:39:01 GMT</pubDate></item><item><title><![CDATA[Reply to Specify Netmask rather than CIDR on Tue, 28 Aug 2007 05:37:38 GMT]]></title><description><![CDATA[<p dir="auto">google says that http://www.tech-faq.com/convert-netmask-to-cidr.shtml is a good place to look</p>
]]></description><link>https://forum.netgate.com/post/159080</link><guid isPermaLink="true">https://forum.netgate.com/post/159080</guid><dc:creator><![CDATA[sai]]></dc:creator><pubDate>Tue, 28 Aug 2007 05:37:38 GMT</pubDate></item></channel></rss>