{"id":204,"date":"2011-03-05T22:28:11","date_gmt":"2011-03-05T14:28:11","guid":{"rendered":"http:\/\/www.lanchbury.id.au\/?p=204"},"modified":"2011-03-28T21:10:29","modified_gmt":"2011-03-28T13:10:29","slug":"setup-a-cisco-router-on-amnet-adsl-bridge-mode","status":"publish","type":"post","link":"https:\/\/www.lanchbury.au\/?p=204","title":{"rendered":"Setup a Cisco Router on Amnet ADSL (Bridge Mode)"},"content":{"rendered":"<p>Here something I&#8217;ve been playing a lot with at the moment, I have learnt to love the Cisco iOS.  I feel it&#8217;s setup better than linux (keeping in mind linux is built on hundreds of seperate programs)<\/p>\n<p>At the bottom is the config I used \/ am using.  But first I will explain what hardware I&#8217;m using.\u00a0 I have got a 800 series cisco router, the thing is, it&#8217;s a work hand me down.\u00a0 Therefore it doesn&#8217;t have a POTS port.\u00a0 So this makes my config different but still usable for anyone with.\u00a0 OK so below is a picture of what is connected to what.<\/p>\n<p><a href=\"http:\/\/www.lanchbury.id.au\/wp-content\/uploads\/2011\/03\/Cisco.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"213\" data-permalink=\"https:\/\/www.lanchbury.au\/?attachment_id=213\" data-orig-file=\"https:\/\/www.lanchbury.au\/wp-content\/uploads\/2011\/03\/Cisco.jpg\" data-orig-size=\"767,349\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Nathan Lanchbury&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1299844663&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Lanchbury Cisco Layout\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.lanchbury.au\/wp-content\/uploads\/2011\/03\/Cisco-300x136.jpg\" data-large-file=\"https:\/\/www.lanchbury.au\/wp-content\/uploads\/2011\/03\/Cisco.jpg\" class=\"alignnone size-full wp-image-213\" title=\"Lanchbury Cisco Layout\" src=\"http:\/\/www.lanchbury.id.au\/wp-content\/uploads\/2011\/03\/Cisco.jpg\" alt=\"\" width=\"553\" height=\"251\" srcset=\"https:\/\/www.lanchbury.au\/wp-content\/uploads\/2011\/03\/Cisco.jpg 767w, https:\/\/www.lanchbury.au\/wp-content\/uploads\/2011\/03\/Cisco-300x136.jpg 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/a><\/p>\n<p>As you can see the ADSL modem is between Amnet and my router.\u00a0 It is configured in Pure Bridge mode, which basicly pases ethernet straight to the router.\u00a0 From here the router still needs to connect by PPPOE to Amnet.\u00a0 A very good reason for doing it this way.\u00a0 It bypasses any firewalls on the modem and the outside IP address is applied directly to the dialer0 interface.\u00a0 This gives you full control to allow the iOS to do what ever you want.<\/p>\n<p>Here is my config of how I got it to work.\u00a0 Keep in mind to edit the config (change the {string} lines) before pasting this into a <em>configure terminal<\/em> prompt, and remember to <em>copy running-config startup-config<\/em> when your done, working and happy.<\/p>\n<style type=\"text\/css\">\ndiv.myspace-scroll-box {\nheight:200px;\nwidth:645px;\nfont:10pt\/20pt Verdana,arial,sans-serif;\noverflow:scroll;\n}\n<\/style>\n<div class=\"myspace-scroll-box\">\n<code>no service pad<br \/>\nservice timestamps debug datetime msec<br \/>\nservice timestamps log datetime msec<br \/>\nservice password-encryption<br \/>\n!<br \/>\nhostname {router-name}<br \/>\n!<br \/>\nboot-start-marker<br \/>\nboot-end-marker<br \/>\n!<br \/>\nenable secret {enable-password}<br \/>\n!<br \/>\nno aaa new-model<br \/>\n!<br \/>\n!<br \/>\ndot11 syslog<br \/>\nip source-route<br \/>\n!<br \/>\n!<br \/>\nip cef<br \/>\nip domain lookup source-interface Dialer0<br \/>\nip domain name {local-domain-name}<br \/>\nip name-server {local-dns-server or 203.161.127.1 and\/or 203.153.224.42}<br \/>\n!<br \/>\n!<br \/>\nvpdn enable<br \/>\n!<br \/>\nvpdn-group pppoe<br \/>\nl2tp tunnel timeout no-session 15<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\nusername {username} privilege 15 secret (user-password}<br \/>\n!<br \/>\n!<br \/>\nip ssh version 2<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\ninterface FastEthernet0<br \/>\ndescription Connected to Switch<br \/>\nno shutdown<br \/>\n!<br \/>\ninterface FastEthernet1<br \/>\nshutdown<br \/>\n!<br \/>\ninterface FastEthernet2<br \/>\nshutdown<br \/>\n!<br \/>\ninterface FastEthernet3<br \/>\nshutdown<br \/>\n!<br \/>\ninterface FastEthernet4<br \/>\ndescription Connected to Billon 7300A (in bridge mode)<br \/>\nip address 172.17.1.2 255.255.255.252<br \/>\nduplex auto<br \/>\nspeed auto<br \/>\npppoe-client dial-pool-number 1<br \/>\nhold-queue 224 in<br \/>\nno shutdown<br \/>\n!<br \/>\ninterface Vlan1<br \/>\nip address 172.17.2.1 255.255.255.0<br \/>\nip nat inside<br \/>\nip virtual-reassembly<br \/>\n!<br \/>\ninterface Dialer0<br \/>\nip address negotiated<br \/>\nip mtu 1492<br \/>\nip nat outside<br \/>\nip virtual-reassembly<br \/>\nencapsulation ppp<br \/>\ndialer pool 1<br \/>\nppp authentication chap callin<br \/>\nppp chap hostname {amnet-username}@amnet<br \/>\nppp chap password {amnet-password}<br \/>\n!<br \/>\nip forward-protocol nd<br \/>\nno ip http server<br \/>\nno ip http secure-server<br \/>\n!<br \/>\nip nat inside source list 1 interface Dialer0 overload<br \/>\nip nat inside source static tcp 172.17.2.{host} 80 interface Dialer0 80<br \/>\nip nat inside source static tcp 172.17.2.{host} 443 interface Dialer0 443<br \/>\n{add in any more port forwards you want applied here with the above syntax}<br \/>\nip default-network 172.17.1.1<br \/>\nip route 0.0.0.0 0.0.0.0 Dialer0<br \/>\nip route 172.17.1.0 255.255.255.252 172.17.1.1<br \/>\n!<br \/>\naccess-list 1 permit 172.17.2.0 0.0.0.255<br \/>\naccess-list 1 permit 172.17.1.0 0.0.0.3<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\n!<br \/>\ncontrol-plane<br \/>\n!<br \/>\nbanner motd ^CC<br \/>\n**************************************************<br \/>\n*\u00a0\u00a0\u00a0\u00a0\u00a0 Access to authorized personnel only\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 *<br \/>\n**************************************************^C<br \/>\n!<br \/>\nline con 0<br \/>\nexec-timeout 30 0<br \/>\npassword {console-password}<br \/>\nlogging synchronous<br \/>\nlogin<br \/>\nno modem enable<br \/>\nline aux 0<br \/>\nline vty 0 4<br \/>\nexec-timeout 30 0<br \/>\npassword {remote-password}<br \/>\nlogging synchronous<br \/>\nlogin local<br \/>\ntransport input ssh<br \/>\n!<br \/>\nscheduler max-task-time 5000<br \/>\nend<br \/>\n<\/code><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here something I&#8217;ve been playing a lot with at the moment, I have learnt to love the Cisco iOS. I feel it&#8217;s setup better than linux (keeping in mind linux is built on hundreds of seperate programs) At the bottom is the config I used \/ am using. But first I will explain what hardware &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.lanchbury.au\/?p=204\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-hardware","item-wrap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7tC7P-3i","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204"}],"version-history":[{"count":24,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}