{"id":5985,"date":"2017-01-10T23:37:21","date_gmt":"2017-01-10T23:37:21","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?p=5985"},"modified":"2023-10-28T23:24:07","modified_gmt":"2023-10-28T22:24:07","slug":"cisco-setup-acl-settings-and-basic-routing-concepts","status":"publish","type":"post","link":"https:\/\/stevepedwards.today\/DebianAdmin\/cisco-setup-acl-settings-and-basic-routing-concepts\/","title":{"rendered":"Cisco Setup ACL Settings and Basic Routing Concepts"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_5985\" class=\"pvc_stats all  \" data-element-id=\"5985\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>Routers have two main\u00a0methods of transferring traffic across different interfaces\/networks; using static routes or routing protocols.<\/p>\n<p>I can't teach a year long CCNA course here, but just as a simple intro, the routes set and available on routers and PCs can be seen with various commands. In linux, the command is simply:<\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">route<\/span><br \/>\n<span style=\"color: #ff0000;\">Kernel IP routing table<\/span><br \/>\n<span style=\"color: #ff0000;\">Destination Gateway Genmask Flags Metric Ref Use Iface<\/span><br \/>\n<span style=\"color: #ff0000;\">default 192.168.1.100 0.0.0.0 UG 0 0 0 eth1<\/span><br \/>\n<span style=\"color: #ff0000;\">192.168.1.0 * 255.255.255.0 U 1 0 0 eth1<\/span><\/p>\n<p>This shows that I have a network interface up that has a default static route for traffic from the PC's network connector to be sent via the IP address of the Cisco 877 Vlan1 of 192.168.1.100.<\/p>\n<p>The linux IP addresses is shown as:<\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">ifconfig<\/span><\/p>\n<p><span style=\"color: #ff0000;\">eth1 Link encap:Ethernet HWaddr 00:e0:4c:53:44:58 <\/span><br \/>\n<span style=\"color: #ff0000;\"> <strong>inet addr:192.168.1.22<\/strong> Bcast:192.168.1.255 Mask:255.255.255.0<\/span><br \/>\n<span style=\"color: #ff0000;\"> inet6 addr: fe80::2e0:4cff:fe53:4458\/64 Scope:Link<\/span><br \/>\n<span style=\"color: #ff0000;\"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<\/span><br \/>\n<span style=\"color: #ff0000;\"> RX packets:1892 errors:8 dropped:3 overruns:2 frame:11<\/span><br \/>\n<span style=\"color: #ff0000;\"> TX packets:2114 errors:0 dropped:0 overruns:0 carrier:0<\/span><br \/>\n<span style=\"color: #ff0000;\"> collisions:0 txqueuelen:1000 <\/span><br \/>\n<span style=\"color: #ff0000;\"> RX bytes:1411870 (1.4 MB) TX bytes:384752 (384.7 KB)<\/span><\/p>\n<p>This shows I am connected to the 877 via eth1 which is a very handy yet cheap \u00a31.39 USB to RJ45 connector - great for connecting a PC to multiple different networks\/devices!<\/p>\n<p>New HIGH SPEED USB 2.0 TO 10\/100MBPS RJ45 ETHERNET ADAPTER CONVERTER CABLE LEAD<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/USB45.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5986\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/USB45.jpg\" alt=\"\" width=\"747\" height=\"747\" \/><\/a><\/p>\n<p>Routes set on a Cisco can be shown by:<\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">sh ip route<\/span><br \/>\n<span style=\"color: #ff0000;\">Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP<\/span><br \/>\n<span style=\"color: #ff0000;\"> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area <\/span><br \/>\n<span style=\"color: #ff0000;\"> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2<\/span><br \/>\n<span style=\"color: #ff0000;\"> E1 - OSPF external type 1, E2 - OSPF external type 2<\/span><br \/>\n<span style=\"color: #ff0000;\"> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2<\/span><br \/>\n<span style=\"color: #ff0000;\"> ia - IS-IS inter area, * - candidate default, U - per-user static route<\/span><br \/>\n<span style=\"color: #ff0000;\"> o - ODR, P - periodic downloaded static route<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Gateway of last resort is <strong>195.166.130.248<\/strong> to network <strong>0.0.0.0<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\">195.166.130.0\/32 is subnetted, 1 subnets<\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>C 195.166.130.248<\/strong> is directly connected, Dialer1<\/span><br \/>\n<span style=\"color: #ff0000;\"> 212.159.16.0\/32 is subnetted, 1 subnets<\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>C 212.159.16.47<\/strong> is directly connected, Dialer1<\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>C 192.168.1.0\/24<\/strong> is directly connected, Vlan1<\/span><br \/>\n<strong><span style=\"color: #ff0000;\">S* 0.0.0.0\/0 [1\/0] via 195.166.130.248<\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\"> is directly connected, Dialer1<\/span><\/p>\n<p>This info\u00a0is mostly self-explanatory from the key, e.g. that the default static route of 0.0.0.0 is connected directly to the Plusnet gateway server at 195.166.130.248. Just because many different routing protocols are listed in the key:\u00a0EIGRP, OSPF etc. it doesn't mean they are available on a particular model or IOS. To see which may be, use:<\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">conf t<\/span><\/p>\n<p>cisco877(config)#<span style=\"color: #0000ff;\"> router ?<\/span><br \/>\n<span style=\"color: #ff0000;\">bgp Border Gateway Protocol (BGP)<\/span><br \/>\n<span style=\"color: #ff0000;\"> eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)<\/span><br \/>\n<span style=\"color: #ff0000;\"> odr On Demand stub Routes<\/span><br \/>\n<span style=\"color: #ff0000;\"> ospf Open Shortest Path First (OSPF)<\/span><br \/>\n<span style=\"color: #ff0000;\"> rip Routing Information Protocol (RIP)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>No routing protocols are set as they are not required as there are only 2 main routes between 2 main networks that are directly connected to the router interfaces. If there were more interfaces\/routes on a more capable router, then a routing protocol may be used for ease of admin but higher overhead cost, rather than having to manually set and administer many static routes that are inflexible to network changes.<\/p>\n<p>In the conf file, this static route defines the default route with the command:<\/p>\n<p><span style=\"color: #0000ff;\">ip route 0.0.0.0 0.0.0.0 Dialer1<\/span><\/p>\n<p>stevee@Dell490 ~ $<span style=\"color: #0000ff;\"> ping 192.168.1.100<\/span><br \/>\n<span style=\"color: #ff0000;\">PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.<\/span><br \/>\n<span style=\"color: #ff0000;\">64 bytes from 192.168.1.100: icmp_seq=2 ttl=255 time=3.93 ms<\/span><br \/>\n<span style=\"color: #ff0000;\">64 bytes from 192.168.1.100: icmp_seq=3 ttl=255 time=2.91 ms<\/span><\/p>\n<p>I can ping the Vlan1 interface of the 877 above and the WAN IP address below and get a reply - fine.<\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">ping 212.159.16.47<\/span><br \/>\n<span style=\"color: #ff0000;\">PING 212.159.16.47 (212.159.16.47) 56(84) bytes of data.<\/span><br \/>\n<span style=\"color: #ff0000;\">64 bytes from 212.159.16.47: icmp_seq=1 ttl=255 time=2.12 ms<\/span><br \/>\n<span style=\"color: #ff0000;\">64 bytes from 212.159.16.47: icmp_seq=2 ttl=255 time=1.92 ms<\/span><\/p>\n<p>So why can't I ping the Internet from the PC or the 877 command line, yet I can write this Post?<\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">ping 8.8.8.8<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Type escape sequence to abort.<\/span><br \/>\n<span style=\"color: #ff0000;\">Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:<\/span><br \/>\n<span style=\"color: #ff0000;\">.....<\/span><br \/>\n<span style=\"color: #ff0000;\">Success rate is 0 percent (0\/5)<\/span><\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">ping 8.8.8.8<\/span><br \/>\n<span style=\"color: #ff0000;\">PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.<\/span><br \/>\n<span style=\"color: #ff0000;\">^C<\/span><br \/>\n<span style=\"color: #ff0000;\">--- 8.8.8.8 ping statistics ---<\/span><br \/>\n<span style=\"color: #ff0000;\">3 packets transmitted, 0 received, 100% packet loss, time 1999ms<\/span><\/p>\n<p>The ACL section of the conf file comprised:<\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">sh ip access-lists<\/span><br \/>\n<span style=\"color: #ff0000;\">Extended IP access list BLOCKWAN<\/span><br \/>\n<span style=\"color: #ff0000;\"> 10 permit tcp any any established (91905 matches)<\/span><br \/>\n<span style=\"color: #ff0000;\"> 20 permit udp any any (2557 matches)<\/span><br \/>\n<span style=\"color: #ff0000;\"> 30 permit udp host 91.189.89.198 eq ntp any<\/span><br \/>\n<strong><span style=\"color: #ff0000;\"> 40 deny ip any any (499 matches)<\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\">Extended IP access list LAN2WEB<\/span><br \/>\n<span style=\"color: #ff0000;\"> 10 permit ip any any (67109 matches)<\/span><\/p>\n<p>This means the Vlan1 interface permits any IP traffic (which defines TCP, ICMP and UDP amongst others) to enter from and exit to the LAN. This single ACL rule is\u00a0set on both LAN incoming and outgoing directions of the Vlan1 interface with the reference point being the centre of the unit. Any IP protocol (TCP\/UDP) can pass unmolested from both sides of this interface, through<em>\u00a0<\/em>the interface<em>.\u00a0<\/em><\/p>\n<p>A ping is an ICMP packet so it can pass via the Vlan1 interface, hit the WAN\/Dialer1 interface and have a reply be returned from it, that can pass back through the LAN interface to the PC.<\/p>\n<p>A ping sent further afield cannot exit from the WAN interface though, as only TCP and UDP protocols have been specifically allowed to pass in both in and out directions from the WAN interface, with anything other protocol being dropped by the line:<\/p>\n<p><span style=\"color: #ff0000;\">\u00a040 deny ip any any (499 matches)<\/span><\/p>\n<p>This is a standard \"catchall\" deny line set at the end of an ACL which prevents any protocols except those specifically allowed. To modify ACLs, extra lines can be inserted before the line 40 to allow for additional services without totally removing and re-writing a new ACL. The router has to be reloaded after this change to embed the settings in the IOS - for example:<\/p>\n<p>cisco877# <span style=\"color: #0000ff;\">conf t<\/span><br \/>\ncisco877(config)#<span style=\"color: #0000ff;\">ip access-list extended BLOCKWAN<\/span><br \/>\ncisco877(config-ext-nacl)#<span style=\"color: #0000ff;\">35 permit icmp any any<\/span><\/p>\n<p>cisco877(config-ext-nacl)#<span style=\"color: #0000ff;\">end<\/span><\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">reload<\/span><\/p>\n<p>Now view the ACLs - the lines have been shifted up for the new rule:<\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">sh ip access-lists<\/span><br \/>\n<span style=\"color: #ff0000;\">Extended IP access list BLOCKWAN<\/span><br \/>\n<span style=\"color: #ff0000;\"> 10 permit tcp any any established (139 matches)<\/span><br \/>\n<span style=\"color: #ff0000;\"> 20 permit udp any any (97 matches)<\/span><br \/>\n<span style=\"color: #ff0000;\"> 30 permit udp host 91.189.89.198 eq ntp any<\/span><br \/>\n<strong><span style=\"color: #ff0000;\"> 40 permit icmp any any (15 matches)<\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\"> 50 deny ip any any<\/span><br \/>\n<span style=\"color: #ff0000;\">Extended IP access list LAN2WEB<\/span><br \/>\n<span style=\"color: #ff0000;\"> 10 permit ip any any (669 matches)<\/span><\/p>\n<p>Now pings to the Internet from the 877 and the LAN get a response:<\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">ping bbc.co.uk<\/span><br \/>\n<span style=\"color: #ff0000;\">PING bbc.co.uk (212.58.244.22) 56(84) bytes of data.<\/span><br \/>\n<span style=\"color: #ff0000;\">64 bytes from 212.58.244.22: icmp_seq=1 ttl=53 time=22.6 ms<\/span><\/p>\n<p>cisco877#<span style=\"color: #0000ff;\">ping bbc.co.uk<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Translating \"bbc.co.uk\"...domain server (8.8.8.8) [OK]<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Type escape sequence to abort.<\/span><br \/>\n<span style=\"color: #ff0000;\">Sending 5, 100-byte ICMP Echos to 212.58.244.22, timeout is 2 seconds:<\/span><br \/>\n<span style=\"color: #ff0000;\">!!!!!<\/span><br \/>\n<span style=\"color: #ff0000;\">Success rate is 100 percent (5\/5), round-trip min\/avg\/max = 20\/22\/24 ms<\/span><\/p>\n<p>This does of course mean that your router is not stealthy anymore as it replies to WAN side pings itself.<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/pingfail.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-5992\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/pingfail-1024x576.png\" alt=\"\" width=\"590\" height=\"332\" \/><\/a><\/p>\n<p>Apart from ping response it is still a good simple ACL overall with common ports stealthed:<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/common.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-5997\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2017\/01\/common-1024x576.png\" alt=\"\" width=\"590\" height=\"332\" \/><\/a><\/p>\n<p>Another point - if you wondered - is that nmap run against the WAN IP from the LAN side shows responses from the INSIDE of the WAN interface so shows a different result - Telnet open in this case:<\/p>\n<p>stevee@Dell490 ~ $ <span style=\"color: #0000ff;\">nmap 212.159.16.47<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Starting Nmap 6.40 ( https:\/\/nmap.org ) at 2017-01-11 00:21 GMT<\/span><br \/>\n<span style=\"color: #ff0000;\">Nmap scan report for remote.securicomservices.co.uk (212.159.16.47)<\/span><br \/>\n<span style=\"color: #ff0000;\">Host is up (0.030s latency).<\/span><br \/>\n<span style=\"color: #ff0000;\">Not shown: 999 closed ports<\/span><br \/>\n<span style=\"color: #ff0000;\">PORT STATE SERVICE<\/span><br \/>\n<strong><span style=\"color: #ff0000;\">23\/tcp open telnet<\/span><\/strong><\/p>\n<p>The conf at this point is:<\/p>\n<p><span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">version 12.4<\/span><br \/>\n<span style=\"color: #ff0000;\">no service pad<\/span><br \/>\n<span style=\"color: #ff0000;\">service timestamps debug datetime msec<\/span><br \/>\n<span style=\"color: #ff0000;\">service timestamps log datetime msec<\/span><br \/>\n<span style=\"color: #ff0000;\">service password-encryption<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">hostname cisco877<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">boot-start-marker<\/span><br \/>\n<span style=\"color: #ff0000;\">boot-end-marker<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">enable secret 5 $1$e\/g3$ceiyt\/4dt\/GK9gSm7vbkN.<\/span><br \/>\n<span style=\"color: #ff0000;\">enable password 7 03145404161F2E435E<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">no aaa new-model<\/span><br \/>\n<span style=\"color: #ff0000;\">ip cef<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">ip dhcp use vrf connected<\/span><br \/>\n<span style=\"color: #ff0000;\">ip dhcp excluded-address 192.168.1.1 192.168.1.20<\/span><br \/>\n<span style=\"color: #ff0000;\">! <\/span><br \/>\n<span style=\"color: #ff0000;\">ip dhcp pool CLIENTS<\/span><br \/>\n<span style=\"color: #ff0000;\"> import all<\/span><br \/>\n<span style=\"color: #ff0000;\"> network 192.168.1.0 255.255.255.0<\/span><br \/>\n<span style=\"color: #ff0000;\"> default-router 192.168.1.100 <\/span><br \/>\n<span style=\"color: #ff0000;\"> dns-server 8.8.8.8 <\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">ip domain name workgroup<\/span><br \/>\n<span style=\"color: #ff0000;\">ip name-server 8.8.8.8<\/span><br \/>\n<span style=\"color: #ff0000;\">ip name-server 212.159.13.49<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">multilink bundle-name authenticated<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">! <\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface ATM0<\/span><br \/>\n<span style=\"color: #ff0000;\"> no ip address<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat outside<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip virtual-reassembly<\/span><br \/>\n<span style=\"color: #ff0000;\"> logging event atm pvc state<\/span><br \/>\n<span style=\"color: #ff0000;\"> logging event atm pvc autoppp<\/span><br \/>\n<span style=\"color: #ff0000;\"> no atm ilmi-keepalive<\/span><br \/>\n<span style=\"color: #ff0000;\"> dsl operating-mode auto adsl2 adsl2+ <\/span><br \/>\n<span style=\"color: #ff0000;\"> dsl enable-training-log <\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface ATM0.1 point-to-point<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip address dhcp<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat outside<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip virtual-reassembly<\/span><br \/>\n<span style=\"color: #ff0000;\"> no snmp trap link-status<\/span><br \/>\n<span style=\"color: #ff0000;\"> atm route-bridged ip<\/span><br \/>\n<span style=\"color: #ff0000;\"> atm pppatm link reset<\/span><br \/>\n<span style=\"color: #ff0000;\"> pvc 0\/38 <\/span><br \/>\n<span style=\"color: #ff0000;\"> encapsulation aal5snap<\/span><br \/>\n<span style=\"color: #ff0000;\"> protocol ppp dialer<\/span><br \/>\n<span style=\"color: #ff0000;\"> dialer pool-member 1<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip addr inarp<\/span><br \/>\n<span style=\"color: #ff0000;\"> !<\/span><br \/>\n<span style=\"color: #ff0000;\">! <\/span><br \/>\n<span style=\"color: #ff0000;\">interface FastEthernet0<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface FastEthernet1<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface FastEthernet2<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface FastEthernet3<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface Dot11Radio0<\/span><br \/>\n<span style=\"color: #ff0000;\"> no ip address<\/span><br \/>\n<span style=\"color: #ff0000;\"> shutdown<\/span><br \/>\n<span style=\"color: #ff0000;\"> speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0<\/span><br \/>\n<span style=\"color: #ff0000;\"> station-role root<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface Vlan1<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip address 192.168.1.100 255.255.255.0<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip access-group LAN2WEB in<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat inside<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat enable<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip virtual-reassembly<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">interface Dialer1<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip address negotiated previous<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip access-group BLOCKWAN in<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat outside<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip nat enable<\/span><br \/>\n<span style=\"color: #ff0000;\"> ip virtual-reassembly<\/span><br \/>\n<span style=\"color: #ff0000;\"> encapsulation ppp<\/span><br \/>\n<span style=\"color: #ff0000;\"> dialer pool 1<\/span><br \/>\n<span style=\"color: #ff0000;\"> dialer-group 1<\/span><br \/>\n<span style=\"color: #ff0000;\"> autodetect encapsulation ppp<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp authentication chap pap callin<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp chap hostname stevepedwards@plus.net<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp chap password 7 071C3549580C1C031B0B1B0B50<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp ipcp wins request<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp ipcp mask request<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp ipcp route default<\/span><br \/>\n<span style=\"color: #ff0000;\"> ppp ipcp address accept<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">ip default-gateway 195.166.130.250<\/span><br \/>\n<span style=\"color: #ff0000;\">ip route 0.0.0.0 0.0.0.0 Dialer1<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">no ip http server<\/span><br \/>\n<span style=\"color: #ff0000;\">no ip http secure-server<\/span><br \/>\n<span style=\"color: #ff0000;\">ip nat pool CLIENTS 192.168.1.20 192.168.1.25 netmask 255.255.255.0<\/span><br \/>\n<span style=\"color: #ff0000;\">ip nat inside source list LAN2WEB interface Dialer1 overload<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">ip access-list extended BLOCKWAN<\/span><br \/>\n<span style=\"color: #ff0000;\"> permit tcp any any established<\/span><br \/>\n<span style=\"color: #ff0000;\"> permit udp any any<\/span><br \/>\n<span style=\"color: #ff0000;\"> permit udp host 91.189.89.198 eq ntp any<\/span><br \/>\n<span style=\"color: #ff0000;\"> permit icmp any any<\/span><br \/>\n<span style=\"color: #ff0000;\"> deny ip any any<\/span><br \/>\n<span style=\"color: #ff0000;\">ip access-list extended LAN2WEB<\/span><br \/>\n<span style=\"color: #ff0000;\"> permit ip any any<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">dialer-list 1 protocol ip permit<\/span><br \/>\n<span style=\"color: #ff0000;\">snmp-server community public RO<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">control-plane<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">line con 0<\/span><br \/>\n<span style=\"color: #ff0000;\"> no modem enable<\/span><br \/>\n<span style=\"color: #ff0000;\">line aux 0<\/span><br \/>\n<span style=\"color: #ff0000;\">line vty 0 4<\/span><br \/>\n<span style=\"color: #ff0000;\"> password 7 051B090031<\/span><br \/>\n<span style=\"color: #ff0000;\"> login<\/span><br \/>\n<span style=\"color: #ff0000;\">!<\/span><br \/>\n<span style=\"color: #ff0000;\">scheduler max-task-time 5000<\/span><br \/>\n<span style=\"color: #ff0000;\">end<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_5985\" class=\"pvc_stats all  \" data-element-id=\"5985\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>Routers have two main\u00a0methods of transferring traffic across different interfaces\/networks; using static routes or routing protocols. I can't teach a year long CCNA course here, but just as a simple intro, the routes set and available on routers and PCs can be seen with various commands. In linux, the command is simply: stevee@Dell490 ~ $ <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/cisco-setup-acl-settings-and-basic-routing-concepts\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 Cisco Setup ACL Settings and Basic Routing Concepts<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5985","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"a3_pvc":{"activated":true,"total_views":2,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/5985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=5985"}],"version-history":[{"count":1,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/5985\/revisions"}],"predecessor-version":[{"id":10068,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/5985\/revisions\/10068"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=5985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/categories?post=5985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/tags?post=5985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}