{"id":1306,"date":"2013-08-23T22:07:48","date_gmt":"2013-08-24T03:07:48","guid":{"rendered":"http:\/\/blog.danjoannis.com\/?p=1306"},"modified":"2015-07-04T13:53:03","modified_gmt":"2015-07-04T18:53:03","slug":"making-bell-fibreop-work-with-a-pfsense-router","status":"publish","type":"post","link":"https:\/\/blog.danjoannis.com\/?p=1306","title":{"rendered":"Making Bell FibreOP Work With a pfSense Router"},"content":{"rendered":"<p>Atlantic Canada is very fortunate to have access to Bell Aliant FibreOP Internet. It is a legitimate Fibre-to-the-Home (FTTH) service, in the same price range as cable and DSL offerings. Speeds start at 50\/30 (download\/upload in Mbps) for $70\/month without any promotions.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/FibreOP-Plans.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1307\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/FibreOP-Plans.jpg\" alt=\"FibreOP Plans\" width=\"557\" height=\"209\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/FibreOP-Plans.jpg 557w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/FibreOP-Plans-300x112.jpg 300w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/a><\/p>\n<p>As great as the Internet itself is, the wireless router they include is the bottleneck. It is an Actiontec R1000H. Our biggest headaches with it were low WiFi throughput and frequent WiFi drop, but the interface was a little lacking in advanced features.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Actiontec.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1318\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Actiontec-300x245.jpg\" alt=\"Actiontec\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Actiontec-300x245.jpg 300w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Actiontec-1024x836.jpg 1024w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Actiontec.jpg 1500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The logical solution is to use another router. Unfortunately, Bell has configured the service in a way that simply swapping in a new router will not work at all!<\/p>\n<p>Through some research and my own trial and error, I was able to install pfSense to a spare computer, and take control of my Internet.<\/p>\n<p><strong>Disclaimer:<\/strong>\u00a0<span style=\"text-decoration: underline;\">Do not follow these steps if you have Bell&#8217;s IPTV service, as it will no longer work<\/span>. There are other sites that describe how to keep those services working, but mine does not. As well, though there should be no impact,\u00a0<span style=\"text-decoration: underline;\">I advise against doing this if you have FiberOP Home Phone and rely on it for emergency communications<\/span>.<\/p>\n<p>This is not an easy task. It requires a very good understanding of computer networking, basic understanding of Linux networking terminology, and availability of network equipment (switches, wireless access points, cables, NICs). Chances are you found this page because you meet some of that description. Just know that if it isn&#8217;t working out, you can plug in the Actiontec and pretend it never happened.<\/p>\n<p><!--more--><\/p>\n<h1>First &#8211; LMGTFY<\/h1>\n<p>Step 1 is to always look online. It is very likely someone else has posted their experiences. Sure enough, I found <a href=\"http:\/\/www.digitalhome.ca\/forum\/showthread.php?t=134496\">some<\/a>\u00a0forum <a href=\"http:\/\/www.reddit.com\/r\/halifax\/comments\/1a5j2m\/anyone_using_their_own_router_with_fibreop\/\">threads<\/a> that helped point me in the right direction. In the end, the one that was the most help was post #73 in\u00a0<a href=\"http:\/\/www.digitalhome.ca\/forum\/showthread.php?t=134496&amp;page=5\">this one<\/a>. However, if you don&#8217;t have a spare computer, here is a cheap but <a href=\"http:\/\/cshouse.ca\/replacing-bell-aliants-fibreop-actiontec-router-with-the-rt-n56u\/\">very effective alternative<\/a>.<\/p>\n<p>They key to getting it to work was to know that Bell sends all WAN traffic out of the fibre modem on a different VLAN. Specifically, VLAN 35. Knowing this, it becomes clear that no off-the-shelf consumer router is going to do the job out of the box.<\/p>\n<p>You need a router that supports VLAN tagging, and the ability to treat a VLAN as the WAN connection.<\/p>\n<p>I am a big fan of DD-WRT, and tried to accomplish the above using my DIR-615 with DD-WRT. Unfortunately, I could not get it to work with the options available in the web UI.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Upstairs-AP.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1320\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Upstairs-AP-300x225.jpg\" alt=\"Upstairs AP\" width=\"300\" height=\"225\" \/><\/a><\/p>\n<p>Instead of spending too much effort to get it to work on embedded hardware, I went the easy route: setup a pfSense Linux Router.<\/p>\n<h1>Creating a pfSense Router<\/h1>\n<p>pfSense is a distribution based on FreeBSD that allows you to easily create and manage a very powerful router, firewall, and other services device.\u00a0It has an excellent UI with many, many features, and will let you dig into advanced features if you want to.<\/p>\n<p>Here are the hardware requirements:<\/p>\n<ul>\n<li>A computer made within the last decade (CPU should be <a href=\"http:\/\/doc.pfsense.org\/index.php\/Hardware_requirements#20-50_Mb_Throughput\">above 600 MHz<\/a>)<\/li>\n<li>2 Ethernet Cardbs<\/li>\n<li>Bootable pfSense <a href=\"http:\/\/www.pfsense.org\/index.php@option=com_content&amp;task=view&amp;id=58&amp;Itemid=46.html\">installation media<\/a><\/li>\n<\/ul>\n<p>To this end, this is what I had:<\/p>\n<ul>\n<li>HP Pavillion Desktop (2.4 GHz 64-bit AMD CPU, 2GB RAM, 250GB HDD)<\/li>\n<li>Integrated Ethernet + PCI Ethernet Card<\/li>\n<li>pfSense\u00a02.0.3-RELEASE\u00a0(amd64) ISO burnt to CD<\/li>\n<\/ul>\n<h2>pfSense Step 1: Install<\/h2>\n<p>Boot your computer from the pfSense ISO, and run through the installation process.<\/p>\n<p>The simple install, with minimal questions, should be fine for most users, and saves a lot of questions you might not have answers for.<\/p>\n<p>It may ask you which interface to assign as WAN, LAN, and Optional (you should skip this last one). Feel free to assign the roles to your 2 NICs as you see fit, but write it down!<\/p>\n<p>This assumes both of your network cards are a minimum 100 Mbps. There is no point using slower 10 Mbit cards, as the Internet connection is 5 times that.<\/p>\n<h2>pfSense Step 2: Configure<\/h2>\n<p>Once pfSense boots up on its own, connect another computer to the port you designated as the LAN port, and in your web browser go to <a href=\"http:\/\/192.168.1.1\">http:\/\/192.168.1.1<\/a>. You are now connected to the management interface.<\/p>\n<p>Navigate to the <strong>Interfaces -&gt; WAN<\/strong>\u00a0menu. In here, you will need to enter the WAN MAC address of your Actiontec router. Bell uses this to ensure that it is their router you are using. The MAC address is written on a sticker on your router, and can also be found on the router&#8217;s management page.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/WAN.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1311\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/WAN.jpg\" alt=\"WAN\" width=\"542\" height=\"225\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/WAN.jpg 542w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/WAN-300x124.jpg 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/a><\/p>\n<p>Be sure the enter the entire MAC address, and click save.<\/p>\n<p>Now move to the <strong>Interfaces -&gt; (assign)<\/strong> menu. Select the\u00a0<strong>VLANs<\/strong>\u00a0tab, and click the\u00a0<img decoding=\"async\" src=\"https:\/\/192.168.1.1\/themes\/pfsense_ng\/images\/icons\/icon_plus.gif\" alt=\"\" \/>\u00a0icon to create a new VLAN. It should look something like this:<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/VLAN.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1313\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/VLAN.jpg\" alt=\"VLAN\" width=\"495\" height=\"174\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/VLAN.jpg 495w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/VLAN-300x105.jpg 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>We are creating a VLAN, tagged 35, which will allow us to communicate with the fibre modem provided by Bell. Again, click save, and head back to\u00a0<strong>Interfaces -&gt; (assign)<\/strong>. Now, in the\u00a0<strong>WAN<\/strong> drop-down menu, select\u00a0<strong>VLAN 35 on ABx<\/strong>, which you just created. Click save again. You have just instructed pfSense to treat VLAN 35 as the WAN connection, or the source of Internet traffic.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Assign.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1314\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Assign.jpg\" alt=\"Assign\" width=\"464\" height=\"140\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Assign.jpg 464w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Assign-300x90.jpg 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><\/p>\n<p>This concludes the pfSense configuration. There are only a few small steps before inserting the pfSense router into your network for good.<\/p>\n<h1>Ending the Actiontec<\/h1>\n<p>One recommendation I read, before just unplugging the Actiontec, is to release the DHCP lease it has from the modem. To do this, from a computer connected to the Actiontec, visit <a href=\"http:\/\/192.168.2.1\">http:\/\/192.168.2.1<\/a>. Log in with your admin credentials, and\u00a0<strong>Release<\/strong> the DHCP WAN lease. I don&#8217;t have a screenshot for this, but it shouldn&#8217;t be too difficult to find.<\/p>\n<p>I didn&#8217;t do this, but I did encounter some issues at first getting my setup to work. Hopefully, this will make it go smoothly for you.<\/p>\n<p>Once you Release the IP address, you can unplug the Actiontec.<\/p>\n<h1>Introducing the pfSense Router<\/h1>\n<p>Connect the cable entering the WAN port of the Actiontec to the network card you assigned as the WAN of the pfSense router. This is the cable coming from the Fibre modem installed by Bell.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Modem-and-UPS.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1327\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Modem-and-UPS-225x300.jpg\" alt=\"Modem and UPS\" width=\"225\" height=\"300\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Modem-and-UPS-225x300.jpg 225w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Modem-and-UPS-768x1024.jpg 768w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Modem-and-UPS.jpg 1125w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><\/p>\n<p>With a computer still connected to the LAN port of the pfSense router, try to visit a webpage. Assuming everything is plugged in and powered on correctly, you should be presented the page you asked for.<\/p>\n<p>At this point, you can add a switch for other computers, or a wireless access point. In my case, I have a switch connecting to three switches, where two are wireless.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Downstairs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1319\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Downstairs-300x225.jpg\" alt=\"Downstairs\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Downstairs-300x225.jpg 300w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Downstairs-1024x768.jpg 1024w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/Downstairs.jpg 1500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Optionally, you may want a UPS for this, because even though the Bell modem will stay powered during a power outage, the pfSense computer will not.<\/p>\n<h1>Measured Improvement<\/h1>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/After.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1321\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/After-300x190.jpg\" alt=\"After\" width=\"300\" height=\"190\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/After-300x190.jpg 300w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/After-1024x648.jpg 1024w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2013\/08\/After.jpg 1500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>My ping dropped significantly, and my throughput was exactly as advertised.<\/p>\n<p>Using my DIR-615 routers with DD-WRT as access points, WiFi performance also jumped, with downloads up to 35 Mbps, vs. the 8 Mbps with the Actiontec.<\/p>\n<h1>Troubleshooting<\/h1>\n<p>Troubleshooting is a bit beyond the scope of this document, namely because there are so many things that could go wrong. The best troubleshooting is to make sure the steps are followed, that your set-up makes sense, and that if something seems wrong, investigate.<\/p>\n<p>For me, I noticed that when the pfSense router in unplugged from the modem, or rebooted, I lose Internet. To fix it, I have to toggle the WAN assignment to another connection, then back to the VLAN. Not sure why, but with my UPS I hope it won&#8217;t be a task I do frequently.<\/p>\n<h1>Good Luck!<\/h1>\n<p>This project was 100% worthwhile. As I host a lot of services for myself over the network (HTTP, RDP, VoIP, FTP), it is important to be able to have full control over my NAT and Firewall settings. As well, being able to monitor throughput and advanced logs allows me to keep learning and improving my network.<\/p>\n<p>If you are ready to ditch the Actiontec router, and are keen to see routers in a different way, this project will throw you in head first.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Atlantic Canada is very fortunate to have access to Bell Aliant FibreOP Internet. It is a legitimate Fibre-to-the-Home (FTTH) service, in the same price range as cable and DSL offerings. Speeds start at 50\/30 (download\/upload in Mbps) for $70\/month without any promotions. As great as the Internet itself is, the wireless router they include is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,285,9],"tags":[286,290,289,287,288,291],"class_list":["post-1306","post","type-post","status-publish","format-standard","hentry","category-computers","category-networking","category-software","tag-dd-wrt","tag-fibre","tag-nic","tag-pfsense","tag-router","tag-vlan"],"_links":{"self":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/1306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1306"}],"version-history":[{"count":16,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/1306\/revisions"}],"predecessor-version":[{"id":1545,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/1306\/revisions\/1545"}],"wp:attachment":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}