{"id":4386,"date":"2025-03-16T13:35:53","date_gmt":"2025-03-16T13:35:53","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4386"},"modified":"2025-03-16T13:35:54","modified_gmt":"2025-03-16T13:35:54","slug":"cisco-asa-firewall-5506-x-with-bt-openreach-fttp-internet-plus-net","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4386","title":{"rendered":"Cisco ASA Firewall (5506-X) with BT Openreach FTTP Internet (Plus.net)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Was working recently with some colleagues on their coursework, where they had a need to configure a Cisco ASA Firewall to prepare a network topology that met certain criteria. They were using Cisco Packet Tracer, but were having a problem creating sub-interfaces (for each VLAN), it seemed that Cisco Packet Tracer (or the current version of it) would throw an error when they attempted to configure it. We eventually proved the configuration would work by using a real Cisco ASA Firewall, but that then led to how could we test the firewall with the Internet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Cisco ASA Firewall does support PPPOE, which allows you to use it with any BT Openreach FTTP Internet service. In this very simple example configuration we are setting up the Cisco ASA Firewall to provide a simple one interface (outside) and one interface (inside) configuration that NATs the internal range to a single outside static IP address. The configuration is enough to illustrate how the PPPOE works, but wouldn&#8217;t include everything you&#8217;d want in a configuration, such as the administration\/management configuration, logging etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly the physical connections, your FTTP will typically be provided via an ONT (Optical Network Terminator), sometimes called an &#8220;Openreach Modem&#8221;.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"356\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-4387\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2025\/03\/image-3.png 300w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2025\/03\/image-3-253x300.png 253w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These are not supposed to be end-user (customer) configurable, and you don&#8217;t need to do anything to this, all you do is run an Ethernet cable from the ONT to the Cisco ASA Firewall, in my example this is interface 1\/1, which will be the &#8220;outside&#8221; interface. You then run interface 1\/2 the &#8220;inside&#8221; interface to your local LAN switch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;ll be NATing the whole of the internal range behind the single IP address on the &#8220;outside&#8221; interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">General Configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can substitute in your own IP address ranges, ISP name and ISP DNS servers as applicable. We are setting the MTU on the outside interface to 1492 (bytes) which is the normal MTU on the BT Openreach network. Your inside should remain at 1500 (bytes) however.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int gigabitethernet1\/1\n nameif outside\n security-level 0\n!\n\ninterface GigabitEthernet1\/2\n nameif inside\n security-level 100\n ip address 192.168.1.1 255.255.255.0\n!\n\nmtu outside 1492\nmtu inside 1500\n\nobject network obj_any\nsubnet 0.0.0.0 0.0.0.0\nnat (inside,outside) dynamic interface<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">class-map inspection_default<br>match default-inspection-traffic<br>!<br><br>policy-map type inspect dns preset_dns_map<br>parameters<br>message-length maximum 512<br>policy-map global_policy<br>class inspection_default<br>inspect dns preset_dns_map<br>inspect ftp<br>inspect h323 h225<br>inspect h323 ras<br>inspect rsh<br>inspect rtsp<br>inspect esmtp<br>inspect sqlnet<br>inspect skinny<br>inspect sunrpc<br>inspect xdmcp<br>inspect sip<br>inspect netbios<br>inspect tftp<br><br>dhcpd address 192.168.1.100-192.168.1.200 inside<br>dhcpd enable inside<br>dhcpd dns &lt;ISPDNS 1> &lt;ISPDNS 2> inside<br><br>http server enable<br>http 192.168.1.0 255.255.255.0 inside<br><br>aaa authentication http console LOCAL<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">PPPOE Configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The PPPOE configuration is fairly straight forward, you create a VPDN group, substitute in your ISP login credentials, then apply it to the &#8220;outside&#8221; interface, 1\/1 in this case.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vpdn group PLUSNET request dialout pppoe\nvpdn group PLUSNET localname &lt;USERNAME>\nvpdn group PLUSNET ppp authentication chap\nvpdn username &lt;USERNAME> password &lt;PASSWORD>\ndhcpd auto_config outside\n\nint gigabitethernet1\/1\n ip address pppoe setroute\n pppoe client vpdn group PLUSNET\n!<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once configured after a few minutes you should all being well find the PPPOE connection has dialed up and you have been assigned an external IPv4 IP adddress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To show the current PPOE client configuration you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># show ip address outside pppoe<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To see the debug messages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># &#91;no] debug pppoe {event | error | packet}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To see the current PPPOE session(s), you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show vpdn session &#91;l2tp | pppoe] &#91;id sess_id | packets | state | window]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Some other useful commands are:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show vpdn\nshow vpdn session\nshow vpdn tunnel<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Was working recently with some colleagues on their coursework, where they had a need to configure a Cisco ASA Firewall to prepare a network topology that met certain criteria. They were using Cisco Packet Tracer, but were having a problem creating sub-interfaces (for each VLAN), it seemed that Cisco Packet Tracer (or the current version &#8230; <a title=\"Cisco ASA Firewall (5506-X) with BT Openreach FTTP Internet (Plus.net)\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=4386\" aria-label=\"Read more about Cisco ASA Firewall (5506-X) with BT Openreach FTTP Internet (Plus.net)\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":4390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,17],"tags":[],"class_list":["post-4386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cisco","category-networking"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4386"}],"version-history":[{"count":2,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4386\/revisions"}],"predecessor-version":[{"id":4389,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4386\/revisions\/4389"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/4390"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}