Posts

Showing posts from January, 2010

Route-map and Tags

Image
Network Diagram In this lab, we'll learn how to control redistribution base on the tag. Setup your network as topology, addressing and routing protocol above. Make sure everything working correctly. Create route-map and set tag using ACL. filter the traffic we want to control using ACL, in this case we gonna create an ACL group of classless network coming from router C, done on router B ip access-list standard CLASSLESS  permit 10.1.1.4 0.0.0.3  permit 6.0.0.0 0.15.255.255  permit 146.6.0.0 0.0.15.255  permit 206.6.6.0 0.0.0.15 create a route-map and set the specific tags route-map SET_TAGS permit 10  match ip address CLASSLESS  set tag 1 ! route-map SET_TAGS permit 20  set tag 2 //we didn't set ant match, anything don't match ant from above will fall under this group now apply this route-map to be redistribute into OSPF 1 router ospf 1  log-adjacency-changes  redistribute eigrp 1 subnets route-map SET_TAGS ...

route-map EIGRP to OSPF

Image
Network Diagram Redistribute network from EIGRP to OSPF using route-map. we have 9 network, 10.11.1.x - 10.11.9.x to redistribute from EIGRP to OSPF we'll divided or filter this into 3 group using access-list. ip access-list standard NET1to3  permit 10.11.1.0 0.0.0.255  permit 10.11.2.0 0.0.0.255  permit 10.11.3.0 0.0.0.255 ip access-list standard NET4to6  permit 10.11.4.0 0.0.0.255  permit 10.11.5.0 0.0.0.255  permit 10.11.6.0 0.0.0.255 ip access-list standard NET7  permit 10.11.7.0 0.0.0.255 once we done with the grouping, now let's define the route-map, their match group and the specific charataristic. We'll assume that acl group NET4to6 more important than NET1to3, so we'll set this group with lower metric, both also will be converted into different type of OSPF external network. Third route-map will deny ip address matches the ACL NET7 from being redistribute. route-map RM1 permit 10  match ip address NET1to3...

Distribution-list

Image
for this lab, we gonna use same topology and setup from previous lab  Redistribution RIP Ver2 - OSPF 1. First we gonna stop route to 172.16.2.x and 172.16.3.x to be advertised into R2 on R1 create access-list to match the two address ip access-list standard ROUTE_FILTER  deny   172.16.3.0 0.0.0.255  deny   172.16.4.0 0.0.0.255  permit any //don't forget this, by default access-list deny all then apply inside the routing protocol on specific interface, in this case, go to RIP and apply on the R1 interface serial 0/0 router rip  version 2  network 10.0.0.0  network 172.16.0.0  distribute-list ROUTE_FILTER out Serial0/0  no auto-summary now check on R2, R3 and R4, you should see no route to this two network 2. Now we gonna apply distribution list where the filter is applied between routing protocol, here we gonna filter network 172.16.1.x coming from RIP from being advertised into OSPF  on R2, creat...

Redistribution RIP Ver2 - OSPF

Image
Network Diagram --------------------------------------  R1#sh run Building configuration... Current configuration : 1294 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback1  ip address 192.168.1.1 255.255.255.0 ! interface Loopback2  ip address 192.168.2.1 255.255.255.0 ! interface Loopback3  ip address 192.168.3.1 255.255.255.0 ! interface Loopback4  ip address 192.168.4.1 255.255.255.0 ! interface Loopback11  ip address 172.16.1.1 255.255.255.0 ! interface Loopback12  ip address 172.16.2.1 255.255.255.0 ! interface Loopback13  ip address 172.16.3.1 255.255.255.0 ! interface FastEthernet0/0  no ip add...

ISIS

Image
Network Diagram R1 = L1 R2 = L1/L2 R3 = L2 R4 = L1/L2 R1#sh run Building configuration... Current configuration : 1186 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback1  ip address 192.168.1.1 255.255.255.0  ip router isis ! interface Loopback2  ip address 192.168.2.1 255.255.255.0  ip router isis ! interface Loopback3  ip address 192.168.3.1 255.255.255.0  ip router isis ! interface Loopback4  ip address 192.168.4.1 255.255.255.0  ip router isis ! interface FastEthernet0/0  no ip address  shutdown  duplex auto  speed auto ! interface Serial0/0  ip address 10.4.12.1 255.255.2...

OSPF and frame relay network

Image
Network Diagram Configure as below HQ interface Loopback1  ip address 10.1.1.1 255.255.255.0  ip ospf network point-to-point interface Serial0/0  ip address 10.1.123.1 255.255.255.0  encapsulation frame-relay  clock rate 2000000  frame-relay map ip 10.1.123.1 102  frame-relay map ip 10.1.123.2 102 broadcast  frame-relay map ip 10.1.123.3 103 broadcast  no frame-relay inverse-arp router ospf 1 log-adjacency-changes network 10.1.1.0 0.0.0.255 area 0 network 10.1.123.0 0.0.0.255 area 0 neighbor 10.1.123.2 neighbor 10.1.123.3 EB interface Loopback2  ip address 10.1.2.1 255.255.255.0  ip ospf network point-to-point interface FastEthernet0/0  ip address 10.1.23.2 255.255.255.0  duplex auto  speed auto ! interface Serial0/0  ip address 10.1.123.2 255.255.255.0  encapsulation frame-relay   ip ospf priority 0  clock rate 2000000  frame-relay map ip ...

OSPF multi-area and stub authentication

Image
Network Diagram Configure as below ------------------------------------------------------------------ R1 interface Loopback1  ip address 10.1.1.1 255.255.255.0  ip ospf network point-to-point interface Serial0/0  ip address 10.1.12.1 255.255.255.0  clock rate 64000 router ospf 1  log-adjacency-changes  network 10.1.1.0 0.0.0.255 area 0  network 10.1.12.0 0.0.0.255 area 0 R2 interface Loopback2  ip address 10.1.2.1 255.255.255.0  ip ospf network point-to-point interface Serial0/0  ip address 10.1.12.2 255.255.255.0  clock rate 64000 interface Serial0/1  ip address 10.1.23.2 255.255.255.0  clock rate 64000 router ospf 1  log-adjacency-changes  network 10.1.2.0 0.0.0.255 area 0  network 10.1.12.0 0.0.0.255 area 0  network 10.1.23.0 0.0.0.255 area 23 R3 interface Loopback3  ip address 10.1.3.1 255.255.255.0  ip ospf network point-to-point interface Seri...