Posts

Routes Lab 01 - HQ LAN Routing Configuration

HQ LAN will use OSPF area 1. Once the configuration is done, other branch routers should be able to reach HQ LAN. hq-rtra# router ospf 1  log-adjacency-changes   network 10.1.1.0 0.0.0.255 area 1  network 10.9.9.1 0.0.0.0 area 0  network 70.0.0.1 0.0.0.0 area 0 hq-core01#sh run | be router router ospf 1  log-adjacency-changes  network 10.1.1.0 0.0.0.255 area 1  network 10.1.3.98 0.0.0.0 area 1  network 10.1.11.0 0.0.0.255 area 1  network 10.1.12.0 0.0.0.255 area 1  network 10.1.13.0 0.0.0.255 area 1  network 10.1.14.0 0.0.0.255 area 1  network 10.1.15.0 0.0.0.255 area 1 hq-core02#sh run | be router router ospf 1  log-adjacency-changes  network 10.1.1.0 0.0.0.255 area 1  network 10.1.11.0 0.0.0.255 area 1  network 10.1.12.0 0.0.0.255 area 1  network 10.1.13.0 0.0.0.255 area 1  network 10.1.14.0 0.0.0.255 area 1  network 10.1.15.0 0.0.0.255 area 1 hq-inet# router o...

Routes Lab 01 - HQ LAN address config

sooo.. before we proceed to make HQ LAN available over the WAN to other branch, make sure you have below config ready. There'll be a couple of changes from the original plan, I've decided to use Vlan interface rather than Loopback for Core01/02. After all config applied, make sure all point to point are ping-able. Hq-rtra interface Loopback0  ip address 10.9.9.1 255.255.255.255 ! interface FastEthernet0/0  ip address 10.1.1.1 255.255.255.0 interface Serial0/1  ip address 70.0.0.1 255.255.255.0  encapsulation frame-relay  ip ospf network point-to-multipoint  clock rate 2000000  frame-relay map ip 70.0.0.2 102 broadcast  frame-relay map ip 70.0.0.3 103 broadcast  no frame-relay inverse-arp router ospf 1  log-adjacency-changes  network 10.9.9.1 0.0.0.0 area 0  network 70.0.0.1 0.0.0.0 area 0 Hq-rtrb interface FastEthernet0/0  ip address 10.1.2.1 255.255.255.0 Hq...

Routes Lab 01 - WAN OSPF area 0

We could use a few type of frame-relay network (NBMA or point-to-multipoint). Let's go with point-to-multipoint, it's like a collection of point-to-point network from each sites. This is not going to be a Hub and Spokes network because each site have it's own DLCI to others. So it's a full mesh network. Add below command on all WAN interfaces to make a point-to-multipoint Frame-relay network. interface Serial0/1  ip ospf network point-to-multipoint configure OSPF area 0 for the WAN interfaces and Loopbacks, do the same for the rest of the Net router ospf 1  log-adjacency-changes  network 10.9.9.1 0.0.0.0 area 0  network 70.0.0.1 0.0.0.0 area 0 make sure neighbor are formed between the three WAN routers. below are a few useful command to get some information and troubleshoot. show ip route show ip route ospf sh ip ospf interface serial 0/1 show ip protocols show ip ospf show ip ospf neighbor next we will configure routin...

Routes Lab 01 - Basic Frame-Relay

Image
set the DLCI for NetA Frame-Relay switch as below configure the Routers IP as below, make sure they can ping to each other IP address. hq-rtra# interface Serial0/1  ip address 70.0.0.1 255.255.255.0  encapsulation frame-relay  clock rate 2000000  frame-relay map ip 70.0.0.2 102 broadcast  frame-relay map ip 70.0.0.3 103 broadcast  no frame-relay inverse-arp End moon-rtra# interface Serial0/1  ip address 70.0.0.2 255.255.255.0  encapsulation frame-relay  clock rate 2000000  frame-relay map ip 70.0.0.1 201 broadcast  frame-relay map ip 70.0.0.3 203 broadcast  no frame-relay inverse-arp End mars-rtra# interface Serial0/1  ip address 70.0.0.3 255.255.255.0  encapsulation frame-relay  clock rate 2000000  frame-relay map ip 70.0.0.1 301 broadcast  frame-relay map ip 70.0.0.2 302 broadcast  no frame-relay inverse-arp end do the s...

Routes Lab 01

Image
let's start a route lab, I don't really have a specific topic to focus on, but basically we will go thru three main topics related to OSPF, EIGRP and Redistribution (or maybe some others thing that might seems to be a good idea to be included along the way) In this scenario, we have a HQ and two branch office. All three sites connected via 2 ISP (WAN), NetA for primary and NetB for backup. HQ and Moon sites have their own Internet gateway. prepare your GNS topology as below diagram with (1) DLCI (2) GNS3 (3) IP scheme details *please take note that I missed Loopback 0 for all the WAN routers. rtra hq/moon/mars - 10.9.9.1/2/3 255.255.255.255 rtrb hq/moon/mars - 10.9.9.11/12/13 255.255.255.255 next lab we will start with Frame-relay configuration. *please take note that first half of the upcoming labs will focus on Primary WAN which is NetA network, we will bring up the backup WAN later..

OSPF - Routes Filtering

Image
please refer to previous post for details and configuration. before we get started, please take notes that we can only filter routes from being installed into the router's routing table, that means we can only filter inbound routes. We'll filter Could 5 (10.10.5.0/24) on R4, so that Cloud 1 & 2 (192.168.1.0 and 192.168.2.0) could not reach Cloud 5. Before changes, Cloud 1/2 can reach Cloud 5 VPCS[1]> ping 10.10.5.1 10.10.5.1 icmp_seq=1 ttl=61 time=32.803 ms 10.10.5.1 icmp_seq=2 ttl=61 time=39.639 ms 10.10.5.1 icmp_seq=3 ttl=61 time=37.984 ms 10.10.5.1 icmp_seq=4 ttl=61 time=37.612 ms 10.10.5.1 icmp_seq=5 ttl=61 time=34.332 ms Create access list for the interested route, and apply it on OSPF process 1 access-list 1 deny   10.10.5.0 0.0.0.255 access-list 1 permit any router ospf 1 ..  distribute-list 1 in FastEthernet0/0 Now Cloud 5 should not be available to Cloud 1 and 2 VPCS[1]> ping 10.10.5.1 *192.168.1.254 icmp_seq=1 ttl=255 ti...

OSPF Multi Area GNS3 Lab

Image
download [dot]net file and config files for below topology and configuration, next tutorial might be based on this topology [dot]net topology file R1 Config R2 Config R3 Config R4 Config topology vpc

ASA802 Win7 GNS3 8.2

Image
Prepare below two files asa802-k8.initrd.gz http://www.mediafire.com/?t95719uwv6m8aif asa802-k8.kernel http://www.mediafire.com/?j6z9gn9r3cgmgbn Open GNS3, point below option (in yellow) to this two files Start ASA, console and type below command modprobe e1000 ifconfig eth0 up ifconfig eth1 up ifconfig eth2 up ifconfig eth3 up ifconfig eth4 up ifconfig eth5 up cp /asa/bin/lina /mnt/disk0/lina cp /asa/bin/lina_monitor /mnt/disk0/lina_monitor cd /mnt/disk0 /mnt/disk0/lina_monitor

Adding new Nexus 2K fabric extender

Image
This step by step on how to add new Nexus 2000 (N2K) to Nexus 5000 (N5K) Before apply, issue command sh fex and sh interface fex , this will show you fex is connected, but not online    FEX         FEX           FEX                       FEX               Number    Description      State            Model            Serial     ------------------------------------------------------------------------ ---       --------             Connected  ...

Implementing QoS DSCP marking on customer router

Image
In this scenario, QoS policing done on Provider CE router and customer don't have access to it, Customer only mark the traffic with DSCP value for QoS policing (on the CE router) We'll classify highest priority voice to COS1, high priority traffic COS2, less priority COS4 and for traffic didn't match any of those class will be automatically set to COS3 (medium priority) 1.        Classify the packets using ACL, ACL 101 for COS1, 102 COS2  and 104 COS4(traffic didn't match any of the ACL will fall to default, COS3) access-list 101 remark **** Global VoIP ranges ***** access-list 101 permit ip any 10.1.0.0 0.0.255.255 access-list 101 permit ip 10.1.0.0 0.0.255.255 any access-list 101 remark **** Global Citrix ranges ***** access-list 101 permit ip any 10.2.0.0 0.0.255.255 access-list 101 permit ip 10.2.0.0 0.0.255.255 any access-list 101 remark **** Global FTP ranges ***** access-list 101 permit ip any 10.4.0.0 0.0.255.255 access-list 101 permit ip 1...

Policy-Base Routing part 1 - GNS3

Image
Policy-Base Routing - route base on source address - GNS3 *this is not a complete routing design, just to prove the Policy-Base Routing concept all traffic source from 10.1.1.1 and 10.2.2.2 will be route to R3 and R4 respectively using policy-base routing R1 will have a default route to R2, policy-base routing will be applied on R2 note that policy-base will take over from static or dynamic route if there's a match R1 interface Loopback1  ip address 10.1.1.1 255.255.255.0 ! interface Loopback2  ip address 10.2.2.2 255.255.255.0 ! interface Serial0/0  ip address 172.16.1.1 255.255.255.252  clock rate 56000 ! ip route 0.0.0.0 0.0.0.0 172.16.1.2 R2 interface FastEthernet0/0  ip address 192.168.1.1 255.255.255.0  duplex auto  speed auto ! interface Serial0/0  ip address 172.16.1.2 255.255.255.252  ip route-cache policy  ip policy route-map map1  clock rate 2000000 ! interface FastEthernet0/1  ip address 192.168.2.1 255.255....

Administrative Distance Vs Longest Prefix Match

please setup your lab similar to previous lab add this line to R2 router eigrp 1  passive-interface Serial0/0  network 10.1.1.0 0.0.0.255  network 172.16.2.0 0.0.0.3  no auto-summary ip route 192.168.0.0 255.255.0.0 172.16.2.1 now R2 have two routes to reach 192.168.1.1 via EIGRP with AD = 90 via static route with AD = 1 R2#sh ip route ... D     192.168.1.0/24 [90 /2323456] via 10.1.1.1, 00:05:57, FastEthernet0/0 S     192.168.0.0/16 [1 /0] via 172.16.2.1 guess.. which path will the router use to reach 192.168.1.1 ? some of you may though that it'll be static because it has AD = 1, let's test.. R2#traceroute 192.168.1.1 ..   1 10.1.1.1 4 msec 4 msec 4 msec   2 172.16.1.1 12 msec 12 msec *   unfortunately it choose to use route learn via EIGRP.. thru R3. This is because it prefer longest prefix match compare to AD destination : 192.168.1.1 EIGRP route = 192.168.1.0/24 Static route = 192.168.0.0/16 EIG...

static floating route - gns3

Image
using static route when dynamic route not available primary link between network 192.168.1.0/24 and 10.1.1.0/24 are thru R3, learn each others via EIGRP . R2 is a backup link in case the primary link is not available *this is not a complete routing solution, this lab only looking from R1 point of view to reach 10.1.1.0/24 R1 interface Loopback1 ip address 192.168.1.1 255.255.255.0 ! interface Serial0/0 ip address 172.16.2.1 255.255.255.252 clock rate 56000 ! interface Serial0/1 ip address 172.16.1.1 255.255.255.252 clock rate 56000 ! router eigrp 1 network 10.0.0.0 network 172.16.1.0 0.0.0.3 network 192.168.1.0 no auto-summary ! ip route 10.1.1.0 255.255.255.0 172.16.2.2 190 ! R2 interface FastEthernet0/0 ip address 10.1.1.2 255.255.255.0 duplex auto speed auto ! interface Serial0/0 ip address 172.16.2.2 255.255.255.252 clock rate 56000 ! ip route 192.168.0.0 255.255.0.0 172.16.2.1 R3 interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 duplex auto speed auto ! int...

a few useful show IP command..

sh ip route R1#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP        D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area         N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2        E1 - OSPF external type 1, E2 - OSPF external type 2        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2        ia - IS-IS inter area, * - candidate default, U - per-user static route        o - ODR, P - periodic downloaded static route Gateway of last resort is not set      172.16.0.0/30 is subnetted, 2 subnets C       172.16.1.0 is directly connected, Serial0/1 C       172.16.2.0 is directly connected, Serial0/0      10.0.0.0/24 is subnetted, 1 subnets D       10.1.1.0 [90/2195456] via 172.16.1.2, 00:02:01, Ser...

AAA Authentication Tacacs with ACS - adding device into ACS

Image
Adding device Click on Network Configuration Go to the bottom of the page, click on Add Entry Create a group, give a name, ex.. Branch_1 * Shared Secret : if all of your devices in this group share the same key, you can fill it now.. I leave it blank because I want to fill the key on each individual router later Leave the rest of the option as default Click again on Network Configuration , should be able to see your group now Click on it Got to the bottom page, click add entry Fill up the form, leave the rest as default .. *Authenticate using : since this tutorial is for Cisco IOS, so I choose Cisco IOS On bottom page, click Submit + Apply