Rabu, 30 April 2014

EIGRP - Basic Configuration & Filtering

Try to make configuration below :

As shown, the routing table will be :


EIGRP - Distribute List
Now, What if the ip loopback R2, don't have to be appear in routing table R1? then we could make filtering route using distribute-list :


Now, seems that Ip loopback R2 isn't included in R1 routing table.
is there any other option to deny IP address in Eigrp ? Check this one :

Filtering - Prefix List
Filtering prefix list being used, if we decided to make a filtering based on its netmask. For example on R3 where prefix /24-/28 will be blocked.
You have to make several ip loopbacks in R3, ip loopback in R3 is used as client network.


It shown on R1 that routing table with /24-/28 prefix is not included in routing table.

Eigrp - Filtering ACL
Configure ip loopback in R1 the advertised into eigrp and then make filtering as odd/even numbers.
In R3, make access-list & distribute list which define odd/even numbers as shown below :
  • R3(config)#access-list 1 permit 0.0.0.0 255.255.255.254 ----------------> it is which define even
  • R3(config)#access-list 1 permit 0.0.0.1 255.255.255.254 ----------------> it is which define odd
Intergate that access-list on router eigrp1 on R3.
  • R3(config-router)#distribute-list 1 in fa0/0

As shown in R3, routing table only receive network 10.10.10.0 with even prefix.

EIGRP - Filtering AD
Configure with bigger AD, for example 255

  • R3(config)#access-list 2 permit 1.1.1.1
  • R3(config)#router eigrp 1
  • R3(config-router)#distance 255 0.0.0.0 255.255.255.255 2 ---> access-list 2


The command "distance 255", manipulate its distance to be 255, as we know AD for eigrp is basicly 90.

Selasa, 29 April 2014

Knowing EIGRP Routing Protocol on Cisco Router

     This time i will make a review about eigrp routing protocol, especially on cisco router.
First, you have to know this :

Introducing Eigrp

  1. Eigrp is routing distance vector which means eigrp relying ont the diffused update algorithm to calculate the shortest path to a destination within network.The multicast address 224.0.0.10 usually broadcasting routing information to its neighbour. Its sends broadcast which have information about distance and direction. The direction define by metric while direction is its next-hop.
  2. Fast Convergence, so this routing protocol is faster to gather information from all router in its topology.
  3. Support VLSM means clasless
  4. Manual Summarization, eigrp allows you to summarize internal and external routes on virtually any bit boundary using manual summarization.
  5. Load balancing on equal & unequal cost which means eigrp can establish multiple link and make it load balancing/sharing based on each link bandwidth (cost metric).
  6. Dual algorithm
  7. Composite matric calculation (k5 value)
  8. IP protocol number 88
  9. Multicast 224.0.0.10
  10. Auto-summarize by default, you have to add command "no auto-summary" on its configuration

Metric Value in EIGRP
  1. By default its metric is Bw+delay
  2. Delay = the amount of end to end (microseconds)*256
  3. Bandwidth = [10^7/ minimum bandwidth, kbps]*256
  4. Default formula K5 value [k1=1, k2=0, k3=1, k4=0, k5=0
  5. Metric=[k1*BW+((k2*BW)/256-load))+k3*delay]
  6. If k5 value not worth 0, then its metric value is =metric*[k5/(reliability+k4)]t

EIGRP Features
  1. Only support MD5 authentication
  2. Neighbour command can be used, if you want to make its update as unicast
  3. Never ever use "passive-interface" on eigrp cause it will affect, the interface can't send/receive update
  4. Route-filtering & Summarization is same as in RIP
  5. By default its split-horizon is enable, use command "no ip split horizon eigrp xxx" to disable it

AD & FD (Administrator Distance & Feasible Distance)
  1. The lowest metric value will be chose by EIGRP
  2. AD = cost value between next-hop router and network destination
  3. FD = cost values from local router to network destination = AD next-hop router+cost between local router and next-hop router
  4. Lowest-cost = lowest FD
  5. Successor = next-hop router with lowest cost value
  6. Feassible Successor = Backup successor
  7. the value of feasible successor is lower than its FD successor

Router Authentication
  1. Support clear text authentication
  • RIPv2
  • OSPF
  • IS-IS
  1. Support MD5 Authentication
  • RIPv2
  • OSPF
  • BGP 
  • EIGRP

EIGRP MD5 Authentication
here are EIGRP MD5 configuration on cisco
  • key-chain IDN
  • key 1
  • key-string cisco
int S0/0
  • Ip authentication key-chain eigrp 100 IDN
  • Ip authentication mode eigrp 100 md5

EIGRP Leak Map
Example, between network summary 10.0.0.0/8, there is one network 10.0.1.0/24 which you want to be treated specially, for instance is just like through the different path or treated differently from the other, then you can use Leak Map
  • R1(config)#access-list 3 permit 10.0.1.0 0.0.0.255
  • R1(config)#route-map Leak1 permit 10
  • R1(config-route-map)#match ip address 3
  • R1(config)#interface se0/0
  • R1(config-if)#ip summary-address eigrp 1 10.0.0.0 255.0.0.0 leak-map Leak1

Advance EIGRP
  1. By default, EIGRP have limit hop count 100, you can configure until 255 use command "metric maximum-hop 255"
  2. Default AD to internal is 90, external 170. That value can be configured with these command "distance eigrp internal-AD-value external-AD-value"
  3. Maximum default Routing protocol is just using 50% its bandwidth capacity. Meanwhile, this value can be configured with "ip bandwidth-percent eigrp AS"

 EIGRP Stub Routing
  1. Stub means end, because the router is in the end eigrp, so it's not too necessary receiving routing update quite often, cause it's only have one gateway
  2. With using stub, then network stbilization is more convincing
  3. If it configure as only "eigrp stub", then the default is connected and summary
  4. Connected means it will only shows route from the network which advertised by using network command and redistribute connected
  5. The choice is :
  • R1(config)#router eigrp 1
  • R1(config-router)#eigrp stub [receive-only | static | summary | redistributed]

EIGRP Load Balancing
  1. Each routing protocol whether it RIP, OSPF, EIGRP etc, definitely support equal cost path load balancing
  2. However, IGRP & EIGRP supporting unequal cost path load balancing with these kind of configuration :
  • router eigrp 1
  • network x.x.x.x
  • variance 2

EIGRP WAN Link
  • EIGRP support WAN links below :
  1. Point-to-point links
  2. NBMA
  3. Multipoint links
  • EIGRP by default is using up to 50% bandwidth
  • It can be configured with this configuration below:
  1. R1(config-router)#int fa0/0
  2. R1(config-subif)#ip bandwidth-percent eigrp 1 45
  • If it is using bandwidth command. then EIGRP will use half of configured value
  1. R1(config-router)#int fa0/0
  2. R1(config-subif)#bandwidth 1024

EIGRP STUB Routing

  • Receive-only : Router will not advertise its network to other router
  • Connected : Router will only advertised its connected route, which come from network command
  • Static : Router will advertise static route which have redistributed into EIGRP
  • Summary : Router will advertised summary route
  • Redistributed : Router will advertised any route which redistributed into EIGRP

Minggu, 27 April 2014

Easiest Subnetting : Even 5 Years Old Can Do This

Hello, This is my first english article, Just give me a momment to translated it from google. Oke, i just want to review about ip subnet. As much as i know, subnetting is simple but almost engineer in entry level are strugling with that. So, let i tell you this tricky secret :

1. First, tell to your brain
    /24 is C Class
    /16 is B Class
    /8 is A Class

 2. Basicly, this subnetting methode is come from Ip address Class C which comes from multiple of 8
    /24 = 256 address per subnet, start from 0
    /25 = 128 half of 256
    /26 = 64
    /27 = 32 
    /28 = 16 half of 32
    /29 = 8
    /30 = 4
    /31 = 2 half of 4, and so on
    /32 = 1
   Just remember the underlined numbers 256,32,4.

3. Now start implementing this case
  
    CLASS C
    10.10.10.10.10/29
    The nearest number from /29 is /30 (which i told you to remember). So the Question is ?

    IP address persubnets = 8 (the nearest number you've remembered, divided or multipled it by 2)
    Network address = 10.10.10.8 (10.10.10.10 is included in range 8-15, the first is network)
                                    0-7
                                    8-15
                                    16-31
                                    and so on, untill 255
    Broadcast address = 10.10.10.15 (10.10.10.10 is included in range 8-15, the last is broadcast)
                                    0-7
                                    8-15
                                    16-31
                                    and so on, untill 255
    Host = 10.10.10.9 - 10.10.10.14
                Cause in range 8-15, the first is network and the last is broadcast.
                The number left will be host address, and could be use as your ip device.
    Subnet = 248 (256 - 8)
                   256 is amount of ip address in class c
                   8 is ip address per subnet.

    CLASS B
    30.30.30.30/23
    there is no nearest number. What should i do? easy man, i got it.
    How /23 could be as CLASS C ? just do this 23+8 = 31 which mean /31 = 2
    Where the 8 come from ? +8 is mandatory, the methode.
    So, what should i do with 2 ? ok this is the deal
    Ip address per subnets = 512
                                          2 x 256 (number of ip address in class c), got it?
    Network address = 30.30.30.0
    Broadcast address = 30.30.31.255
                                      Cause the ip address per subnet is 512
                                      You have to jump from 30.30.30.0 to 30.30.31.0
                                      Which mean all ip address in range 30.30.30.0 - 30.30.31.255 is included
    Host = 30.30.30.1 - 30.30.30.254
    Subnet = 255.255.255.254.0
                   254 is 256-2 Remember 2 ? Thats the clue, noted that.
   
    CLASS A
    50.50.50.50/14
    Make /14 as class. What should you do? 14+8= 22, thats not enough. 22+8 = 30. /30 = 4
    Ip address = 262144
                         4 x 65536
                         65536 is the amount of ip address in class B (256 x 256 ip addres ip class c)
    Network = 50.48.0.0
                      50 is on range 48-51
    Broadcast = 50.51.255.255
    Host = 50.48.0.1 - 50.51.255.255
    Subnet = 255.252.0.0
                   252 is from 256 - 4

So, with your hard work, you could do those thing even better. Good luck!