Learn Cisco: Fundamentals

Post Top Ad

Showing posts with label Fundamentals. Show all posts
Showing posts with label Fundamentals. Show all posts

Lab 38 - EIGRP NBMA Network

March 13, 2011
Prerequisites: CCNP level skills.

Topology
 Pic. 1 - EIGRP NBMA Topology.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
Enable EIGRP on all interfaces of the routers in pic. 1 (AS=1). Use the most specific wildcard mask. Disable automatic summarization. Make the local loopback0 IP address the ID of EIGRP router.

Task 2
Check the reachability between the spoke routers (R2 and R3). Make sure LANs between R2 and R3 are reachable.

Lab Solution

Task 1
Enable EIGRP on all interfaces of the routers in pic. 1 (AS=1). Use the most specific wildcard mask. Disable automatic summarization. Make the local loopback0 IP address the ID of EIGRP router.

R1 Configuration:
!
router eigrp 1
 network 10.1.0.1 0.0.0.0
 network 10.1.1.1 0.0.0.0
 network 172.16.101.1 0.0.0.0
 no auto-summary
 eigrp router-id 172.16.101.1
!

R2 Configuration:
!
router eigrp 1
 network 10.1.0.2 0.0.0.0
 network 10.1.2.2 0.0.0.0
 network 172.16.102.2 0.0.0.0
 no auto-summary
 eigrp router-id 172.16.102.2
!

R3 Configuration:
!
router eigrp 1
 network 10.1.0.3 0.0.0.0
 network 10.1.3.3 0.0.0.0
 network 172.16.103.3 0.0.0.0
 no auto-summary
 eigrp router-id 172.16.103.3
!

Verification:
Pic. 2 - EIGRP Neighbors on R1.

Note!
'Q Cnt' show '0' for each neighbor. This indicates full convergence.

Pic. 3 - R2's EIGRP Routing Table.

Note!
R2 does NOT receive prefixes advertised by R3. The reason is the 'split-horizon' enabled on R1 by default. The solution to this reachability problem on NBMA hub-and-spoke topology can be disabling 'split-horizon' or using sub-interfaces point-to-point with different layer 3 subnet address on each.

Task 2
Check the reachability between the spoke routers (R2 and R3). Make sure LANs between R2 and R3 are reachable.

R1 Configuration:
!
interface Serial0/0
 ip address 10.1.0.1 255.255.255.0
 encapsulation frame-relay
 no ip split-horizon eigrp 1
 serial restart-delay 0
 frame-relay map ip 10.1.0.2 102 broadcast
 frame-relay map ip 10.1.0.3 103 broadcast
 no frame-relay inverse-arp
!

Verification:
Pic. 4 - R2's EIGRP Routing Table.

Pic. 5 - Ping Test Between Spokes.
Read More

Lab 32 - OSPF Conditional Default Routing

March 10, 2011
Prerequisites: CCNP level skills.

Topology

Pic. 1 - OSPF Topology.

Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
R1 does NOT have a default route but must become a default gateway for R2 (it is assumed that BGP is running between R1 and R3). The design stipulates that R1 should advertise this default route in OSPF only if the link between R1 and R3 is up.

Lab Solution

Task 1
R1 does NOT have a default route but must become a default gateway for R2 (it is assumed that BGP is running between R1 and R3). The design stipulates that R1 should advertise this default route in OSPF only if the link between R1 and R3 is up.

R1 Configuration:
!
ip access-list standard LINK_R1_R3
 permit 10.1.13.0 0.0.0.255
!
route-map CHECK_LINK permit 10
 match ip address LINK_R1_R3
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 10.1.12.1 0.0.0.0 area 0
 network 172.16.101.1 0.0.0.0 area 0
 default-information originate always route-map CHECK_LINK
!

Note!
The command 'default-information originate always' allows to advertise default route in OSPF without actually having one in the routing table. However, this 'always' keyword here will be dependent on the presence of 10.1.13.0/24 in the routing table (link between R1 and R3 must be up). In case the link is down, 10.1.13.0/24 is withdrawn from R1's routing table and default route is no longer advertised towards R2 (withdrawn). This way we accomplish the conditional router advertisement with the 'always' keyword used in the configuration.

Verification:
Pic. 2 - R2's Routing Table - R1_R3 Link Up.

Shutting down interface between R1 and R3 results in withdrawing this default route.
Read More

Lab 6 - OSPF Multi-Area Network

February 17, 2011
Prerequisites: CCNP level skills.

In the next few labs I am going to use the following topology.

Topology

Pic. 1 - OSPF Multi-Area Topology.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Workflow
  1. Get familiar with the topology and the 'Task List'.
  2. Answer the questions.
  3. Enable IP addresses as per the topology diagram (pic. 1).
  4. Check layer 3 reachability between all routers (point to point reachability since there is no OSPF enabled yet).
  5. Enable OSPF as per topology diagram (pic. 1) using the Task List below.
  6. Ensure full reachability between all IP addresses in the network presented (pic. 1).
Task List
  • All loopback addresses should be advertised with their configured network mask (/24).
  • All interfaces of R3 must belong to the backbone area.
  • Loopback0 interfaces of R1 and R2 must belong to the area 0.
  • F1/0 interfaces of R1 and R2 must belong the the area 1. Area 1 should be a normal area in this lab.
  • R1 should be the DR, and R2 should be the BDR on the Ethernet Segment (10.1.123.0/24).
  • All interfaces of R4 should operate in the area 1. The Loopback addresses should be advertised with their configured network mask.
Questions
  1. What are the reasons to use multi-area rather than single area OSPF design?
  2. What are the OSPF router types
  3. What is ABR and its role?
  4. What is ASBR and its role?
  5. What are the types of LSAs and what they describe?
  6. What are the OSPF area types and which LSAs do they maintain?
Video Note - The answers.
http://www.youtube.com/watch?v=8u6-_mkc0-4

    Lab Solution

    R1 Configuration:
    !
    interface Loopback0
     ip address 172.16.101.1 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1
     ip address 10.1.124.1
     ip ospf priority 20
    !
    interface Serial0/1
     ip address 10.1.13.1 255.255.255.0
     serial restart-delay 0
    !
    router ospf 1
     router-id 1.1.1.1
     log-adjacency-changes
     network 10.1.13.1 0.0.0.0 area 0
     network 10.1.124.1 0.0.0.0 area 1
     network 172.16.101.1 0.0.0.0 area 0
    !

    R2 Configuration:
    !
    interface Loopback0
     ip address 172.16.102.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1/0
     ip address 10.1.124.2 255.255.255.0
     ip ospf priority 10
    !
    interface Serial0/2
     ip address 10.1.23.2 255.255.255.0
     serial restart-delay 0
    !
    router ospf 1
     router-id 2.2.2.2
     log-adjacency-changes
     network 10.1.23.2 0.0.0.0 area 0
     network 10.1.124.2 0.0.0.0 area 1
     network 172.16.102.2 0.0.0.0 area 0
    !

    R3 Configuration:
    !
    interface Loopback0
     ip address 172.16.103.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface Loopback1
     ip address 172.16.133.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/1
     ip address 10.1.13.3 255.255.255.0
     serial restart-delay 0
    !
    interface Serial0/2
     ip address 10.1.23.3 255.255.255.0
    !
    router ospf 1
     router-id 3.3.3.3
     log-adjacency-changes
     network 0.0.0.0 255.255.255.255 area 0
    !

    R4 Configuration:
    !
    interface Loopback0
     ip address 172.16.104.4 255.255.255.0
     ip ospf network point-to-point
    !
    interface Loopback1
     ip address 172.16.144.4 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1/0
     ip address 10.1.124.4 255.255.255.0
    !
    router ospf 1
     router-id 4.4.4.4
     log-adjacency-changes
     network 0.0.0.0 255.255.255.255 area 1

    Verification

    Pic. 1
    Pic. 2
    Pic.3
    Pic. 4
    Read More

    Lab 5 - OSPF in Point-to-Multipoint Non-broadcast

    February 16, 2011
    Prerequisites: CCNP level skills.

    Cisco IOS OSPF modes:
    1. Point-to-point (Cisco)
    2. Broadcast (Cisco)
    3. Non-broadcast (RFC 2328)
    4. Point-to-multipoint (RFC 2328)
    5. Point-to-multipoint non-broadcast (Cisco)

    Topology

    Pic. 1 - Topology Diagram.
    Icons designed by: Andrzej Szoblik - http://www.newo.pl

    Workflow
    1. Get familiar with the topology.
    2. Read the 'Task List'.
    3. Read the 'Questions' and provide the answers BEFORE configuring the routers.
    4. Configure the lab according to the 'Task List' .
    5. Compare the answers (step 3) with the lab results.
    Task List
    • Configure IP addresses as per topology diagram and use encapsulation Frame-Relay on S0/0 interfaces.
    • Make sure that you use only DLCIs specified in the topology diagram (pic. 1) and routers do not learn any other other DLCIs dynamically.
    • Assume that pseudo broadcast is not supported.
    • Configure OSPF with all links in area 0. Make sure that R2 can ping R3's loopback0 and S0/0 interfaces (no additional layer 3 to layer 2 mappings).
    Questions
    1. What is the behavior of OSPF point-to-multipoint non-broadcast mode compared to non-broadcast on Frame-Relay links?
    2. How does point-to-multipoint mode differ from point-to-multipoint non-broadcast OSPF mode?
    3. What are the default hello/dead interval timers on point-to-multipoint non-broadcast links?
    4. What is going to be the next-hop address on R2 for 172.16.103.0/24 using point-to-multipoint links? Why?

    Lab Solution

    Note!
    Lab is similar to Lab 4 (previous post). The only difference is the mandatory 'neighbor' statement on R1. Except for that, the behavior is just like on point-to-multipoint networks.

    R1 Configuration:
    !
    interface loopback0
     ip address 172.16.101.1 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.1 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint non-broadcast
     frame-relay map ip 10.1.1.2 102
     frame-relay map ip 10.1.1.3 103
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 1.1.1.1
     log-adjacency-changes
     network 10.1.1.1 0.0.0.0 area 0
     network 172.16.101.1 0.0.0.0 area 0
     neighbor 10.1.1.3
     neighbor 10.1.1.2
    !

    R2 Configuration:
    !
    interface loopback0
     ip address 172.16.102.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.2 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint non-broadcast
     frame-relay map ip 10.1.1.1 201
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 2.2.2.2
     log-adjacency-changes
     network 10.1.1.2 0.0.0.0 area 0
     network 172.16.102.2 0.0.0.0 area 0
    !

    R3 Configuration:
    !
    interface loopback0
     ip address 172.16.103.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.3 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint non-broadcast
     frame-relay map ip 10.1.1.1 301
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 3.3.3.3
     log-adjacency-changes
     network 10.1.1.3 0.0.0.0 area 0
     network 172.16.103.3 0.0.0.0 area 0
    !

    Verification

    Note!
    The verification steps as per Lab04.
    Read More

    Lab 4 - OSPF in Point-to-Multipoint

    February 16, 2011
    Prerequisites: CCNP level skills.

    Cisco IOS OSPF modes:
    1. Point-to-point (Cisco)
    2. Broadcast (Cisco)
    3. Non-broadcast (RFC 2328)
    4. Point-to-multipoint (RFC 2328)
    5. Point-to-multipoint non-broadcast (Cisco)
    Topology

    Pic. 1 - Topology Diagram.
    Icons designed by: Andrzej Szoblik - http://www.newo.pl

    Workflow
    1. Get familiar with the topology.
    2. Read the 'Task List'.
    3. Read the 'Questions' and provide the answers BEFORE configuring the routers.
    4. Configure the lab according to the 'Task List' .
    5. Compare the answers (step 3) with the lab results.
    Task List
    • Configure IP addresses as per topology diagram and use encapsulation Frame-Relay on S0/0 interfaces.
    • Make sure that you use only DLCIs specified in the topology diagram (pic. 1) and routers do not learn any other DLCIs dynamically.
    • R2 should use only one layer 3 to layer 2 mapping. Also R3 should use only one layer 3 to layer 2 mapping.
    • Configure OSPF with all links in area 0. Make sure that R2 can ping R3's loopback0 and S0/0 interfaces (R2 must not have frame-relay mapping to R3).
    Questions
    1. What are the differences betweent OSPF point-to-multipoint and non-broadcast on Frame-Relay links?
    2. Does point-to-multipoint mode networks use multicast or unicast to transmit OSPF packets? Why?
    3. What are the default hello/dead interval timers on point-to-multipoint links?

    Lab Solution

    R1 Configuration:
    !
    interface loopback0
     ip address 172.16.101.1 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.1 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint
     frame-relay map ip 10.1.1.2 102 broadcast
     frame-relay map ip 10.1.1.3 103 broadcast
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 1.1.1.1
     log-adjacency-changes
     network 10.1.1.1 0.0.0.0 area 0
     network 172.16.101.1 0.0.0.0 area 0
    !

    R2 Configuration:
    !
    interface Loopback0
     ip address 172.16.102.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.2 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint
     frame-relay map ip 10.1.1.1 201 broadcast
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 2.2.2.2
     log-adjacency-changes
     network 10.1.1.2 0.0.0.0 area 0
     network 172.16.102.2 0.0.0.0 area 0
    !

    R3 Configuration:
    !
    interface Loopback0
     ip address 172.16.103.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.3 255.255.255.0
     encapsulation frame-relay
     ip ospf network point-to-multipoint
     frame-relay map ip 10.1.1.1 301 broadcast
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 3.3.3.3
     log-adjacency-changes
     network 10.1.1.3 0.0.0.0 area 0
     network 172.16.103.3 0.0.0.0 area 0
    !

    Verification
    Note!
    OSPF point-to-multipoint treats the circuits as point-to-point links so no DR/BDR are elected. In addition to that, the spokes do not have to have IP-to-DLCI mapping via R1. R1 resolves the reachability between spokes by injecting itself as the next-hop. Both spokes know how to reach R1 according to IP-to-DLCI static mapping.

    Pic. 2 - Only DLCIs as per Topology Diagram.

    Pic. 3 - R1's Adjacencies with R2 and R3.

     Pic. 4 - R2 /32 Route Injected by R1.

    Pic. 5 - Traceroute.
    Read More

    Lab 3 - OSPF in NBMA Networks

    February 14, 2011
    Prerequisites: CCNP level skills.

    Cisco IOS OSPF modes of Operation:
    1. Point-to-point (Cisco)
    2. Broadcast (Cisco)
    3. Non-broadcast (RFC 2328)
    4. Point-to-multipoint (RFC 2328)
    5. Point-to-multipoint non-broadcast (Cisco)
    Topology

    Pic. 1 - NBMA Topology Diagram.
    Icons designed by: Andrzej Szoblik - http://www.newo.pl

    Workflow
    1. Get familiar with the topology.
    2. Read the 'Task List'.
    3. Read the 'Questions' and provide the answers BEFORE configuring the routers.
    4. Configure the lab according to the 'Task List' .
    5. Compare the answers (step 3) with the lab results.
    Task List
    • Configure IP addresses as per Pic. 1.
    • Configure Frame-Relay using DLCIs listed in the topology (Pic. 1). Make sure that S0/0 interfaces do NOT learn any other DLCIs.
    • Enable OSPF in all routers. All interfaces should be in area 0. Use default OSPF mode.
    • Check if OSPF adjacency has been built and if the loopback interfaces are reachable.
    Questions
    1. What is the default OSPF mode of operation on NBMA networks (here: Frame-Relay)?
    2. Is DR/BDR elected by default in NBMA networks?
    3. If DR/BDR are elected, which router in the topology can be DR and which can be BDR?
    4. Do OSPF packets use multicast or unicast transmissions by default?
    5. What kind of well-known issue with regards to IP-to-DLCI mapping can a router run into? How can I check it? How can I fix it?
    6. If Frame-Relay hub-and-spoke topology is used, what are the differences between OSPF non-broadcast mode and OSPF point-to-multipoint mode?
    7. R1's interface S0/0 (Frame-Relay) uses the default OSPF mode, and R2's interface S0/0 (Frame-Relay) is configured as multipoint interface (S0/0.1 multipoint). What OSPF mode is going to be used on S0/0.1?
    8. With hub-and-spoke topology (the spokes do not have circuit provisioned) what is the behavior of the next-hop address between the spokes?

    Lab Solution

    Note!
    Since Frame-Relay is not a full meshed, the spoke routers must NOT become DR or BDR! 

    Note!
    When static mapping IP-to-DLCI is uses the broadcast keyword allows broadcast and multicast to be sent out as unicast (pseudo broadcast/multicast).

    R1 Configuration:
    !
    interface Loopback0
     ip address 172.16.101.1 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.1 255.255.255.0
     encapsulation frame-relay
     frame-relay map ip 10.1.1.2 102 broadcast
     frame-relay map ip 10.1.1.3 103 broadcast
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 1.1.1.1
     log-adjacency-changes
     network 10.1.1.1 0.0.0.0 area 0
     network 172.16.101.1 0.0.0.0 area 0
     neighbor 10.1.1.2
     neighbor 10.1.1.3
    !

    R2 Configuration:
    !
    interface Loopback0
     ip address 172.16.102.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.2 255.255.255.0
     encapsulation frame-relay
     ip ospf priority 0
     frame-relay map ip 10.1.1.1 201 broadcast
     frame-relay map ip 10.1.1.3 201
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 2.2.2.2
     log-adjacency-changes
     network 10.1.1.2 0.0.0.0 area 0
     network 172.16.102.2 0.0.0.0 area 0
    !

    R3 Configuration:
    !
    interface Loopback0
     ip address 172.16.103.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface Serial0/0
     ip address 10.1.1.3 255.255.255.0
     encapsulation frame-relay
     ip ospf priority 0
     frame-relay map ip 10.1.1.1 301 broadcast
     frame-relay map ip 10.1.1.2 301
     no frame-relay inverse-arp
    !
    router ospf 1
     router-id 3.3.3.3
     log-adjacency-changes
     network 10.1.1.3 0.0.0.0 area 0
     network 172.16.103.3 0.0.0.0 area 0
    !

    Verification

    Note!
    R1 (the hub router) uses the 'neighbor' statement to send hello packet using unicast. Without this command, the adjacency will not get established.

    Note!
    R2 and R3 are DROTERs as they must NOT become DR/BDR since they have no full reachability to other routers in the topology.

    Pic.  2 - OSPF Neighbors.

    Note!
    Frame-Relay static mapping on R2 also shows how to reach R3 via R1 (no broadcast keyword is necessary since no broadcast/multicast are gonna be sent between R2 and R3 directly).

    Pic. 3 - Frame-Relay Mapping on R2.

    Pic. 4 - OSPF Routing Table on R2.

    Pic. 5 - Traceroute from R2 to R3's Loopback.

    Read More

    Lab 2 - OSPF in Broadcast Networks

    February 13, 2011
    Prerequisites: CCNP level skills.

    Quick Note:
    I must keep my Video Notes as short as possible since Youtube upload takes a moment. Each post is going to have only two videos: the answer to the question, and the lab solution.

    Cisco IOS OSPF modes of Operation:
    1. Point-to-point (Cisco)
    2. Broadcast (Cisco)
    3. Non-broadcast (RFC 2328)
    4. Point-to-multipoint (RFC 2328)
    5. Point-to-multipoint non-broadcast  (Cisco)
    In this post I'm going to refresh few concepts with regards to OSPF operation in broadcast networks.

    Again, the tasks helping me understand the OSPF operation are going to be structured in a similar way to my previous post (OSPF in point-to-point networks)

    Topology

    Pic. 1 - OSPF Broadcast Network.
    Icons designed by: Andrzej Szoblik - http://www.newo.pl

    Workflow
    1. Get familiar with the topology. Pay attention to what Router IDs are on each router.
    2. Read the 'Task List'.
    3. Read the 'Questions' and provide the answers BEFORE configuring the routers.
    4. Configure the lab as per 'Task List' .
    5. Compare the answers (step 3) with the lab results.
    Task List
    • Configure IP adresses as per topology diagram (pic. 1). Check the layer 3 connectivity.
    • Enable OSPF routing protocol. All interfaces should be in area 0.
    • R1 should be elected the DR and R2 should be elected the BDR on the broadcast segment.
    • Make sure that loopback interfaces are advertised with their configured network mask (/24).
    • On each router use different method of enabling OSPF on the interfaces.
     Questions
    1. What is the default OSPF mode of operation on broadcast links?
    2. What are the default timers (hello/dead) used on broadcast links?
    3. What is the role of DR/BDR on broadcast/NBMA segment (more detailed answer can be found in my other blog here)?
    4. If all routers participate in the election of DR/BDR what parameter(s) determines these roles?
    5. If the DR/BDR have been elected, what is going to happen if the router with the highest router ID joins the broadcast/NBMA network?
    6. What is going to happen if DR is no longer available and BDR has lower priority than the newly introduced router?
    7. What is the implication of using the priority with the value of 0?
    8. If R1 is the DR and R2 is the BDR, what is going to be OSPF state between R3 and R4 in the topology used (pic.1)?
    9. What is the address used to advertise updates on broadcast segment?

    Lab Solution

    Note!
    Since the lab stipulates that R1 must be the DR and R2 the BDR, the order of operation does matter (unless I want to clear the ip ospf process later which is a waste of time). That's why I start my configuration with R1 and R2 first by changing the priority on F1/0 interfaces. 

    Note!
    Because the loopback interfaces area advertised as stub network (/32) by default, I change the mode of operation to point-to-point so OSPF advertises them with their native (configured /24) network mask. 

    Note!
    I am going to use different ways of enabling OSPF on the interfaces. In practice (especially in the CCIE lab), the most specific wildcard mask is recommended unless specified otherwise.

    R1 Configuration:
    !
    interface Loopback0
     ip address 172.16.101.1 255.255.255.0
     ip ospf network point-to-point
     ip ospf 1 area 0
    !
    interface FastEthernet1/0
     ip address 10.1.1.1 255.255.255.0
     ip ospf priority 20
     ip ospf 1 area 0
    !
    interface FastEthernet1/0
     ip address 10.1.1.1 255.255.255.0
     ip ospf priority 20
     ip ospf 1 area 0
    !

    R2 Configuration:
    !
    interface Loopback0
     ip address 172.16.102.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1/0
     ip address 10.1.1.2 255.255.255.0
     ip ospf priority 10
    !
    router ospf 1
     router-id 2.2.2.2
     log-adjacency-changes
     network 10.1.1.2 0.0.0.0 area 0
     network 172.16.102.2 0.0.0.0 area 0
    !

    R3 Configuration:
    !
    interface Loopback0
     ip address 172.16.103.3 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1/0
     ip address 10.1.1.3 255.255.255.0
    !
    router ospf 1
     router-id 3.3.3.3
     log-adjacency-changes
     network 0.0.0.0 255.255.255.255 area 0
    !

    R4 Configuration:
    !
    interface Loopback0
     ip address 172.16.104.4 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet1/0
     ip address 10.1.1.4 255.255.255.0
    !
    router ospf 1
     router-id 4.4.4.4
     log-adjacency-changes
     redistribute connected subnets
     network 10.1.1.0 0.0.0.255 area 0
    !

    Verification

    Note!
    On R4 OSPF neighbor adjacencies. Pay attention, R4 has 2-way (correct) state with R3. Full adjacency established between R1 (DR) and R2 (BDR).

    Pic. 2 - OSPF Adjacencies

    Note!
    In my configuration R4 redistributes connected network (Lo0) into OSPF. This shows as E2 (external type 2) by default.

    Pic. 3

    Note!
    R4 learns all subnets (loopbacks advertised by R1, R2, and R3) with /24 network mask. This is the result of using point-to-point mode of operation configured on the loopback interfaces.

    Pic. 4 - OSPF Routing Table.


    Note!
    R1 (also R2 and R4) learns 172.16.104.0/24 as external (redistributed) subnet.

    Pic. 5 - OSPF External Subnet.
    Read More

    Lab 1 - OSPF Point-to-Point Mode - Solution

    February 05, 2011

    Prerequisites: CCNP level skills.

    This post contains the answers and configuration for the LAB 1.

    Answers
    Q1:
    What is the default OSPF mode of operation on F1/0 interface?
    Answer:
    The default OSPF mode of operation is 'broadcast'.

    Q2:
    Are hello packets sent using unicast or multicast? 
    Answer:
    Hello packets will use multicast 224.0.0.5.

    Q3:
    Does F1/0 interface participate in DR/BDR election? Why?
    Answer:
    Yes, since broadcast and NBMA interfaces do participate in DR/BDR election unless have been configured with the priority=0.
    The reason for electing DR/BDR on broadcast and NBMA networks is to limit the propagation of LSAs. DRother routers establish full adjacency with DR and BDR only. DRothers establish 2-way adjacency with other routers in DRother role.

    Q4:
    What is the default OSPF mode of operation on S0/1 interface?
    Answer:
    The default encapsulation on S0/1 is HDLC which is point-to-point protocol.
    The default OSPF mode is point-to-point. This is the default OSPF mode on the following:
    • Interfaces running point-to-point protocols (HDLC, PPP)
    • Subinterfaces configured as point-to-point (int s0/1.point-to-point) 
    Q5:
    Are hello packets sent using unicast or multicast?
    Answer:
      Since point-to-point connections support multicast (like broadcast networks), multicast 224.0.0.5 is going to be used when sending hello packets. 

      Q6:
      Does it participate in DR/BDR election? Why?
      Answer:
      OSPF point-to-point mode does not participate in the election of DR/BDR since there are only two routers echanging LSAs. There is no excess of LSA exchanges typical for multi-access networks.

      Q7:
      What are the default hello and dead interval timers used on F1/0 and S0/1?
      Answer:
      On both interfaces the timers are:
      • hello=10 seconds
      • dead=40 seconds. 
      Q8:
      Is there any other OSPF mode of operation that could work with the default OSPF mode on F1/0? What would you have to do to make it work?
      Answer:
      The default OSPF mode on broadcast networks is broadcast.
      You can configure OSPF-enabled interface with NBMA mode which also elect DR/BDR. In order to make them work together you have to adjust the timers as they are not same between these two modes. NBMA mode uses:
      • hello=30 seconds
      • dead=120 seconds
      Q9:
      Is there any other OSPF mode of operation that could work with the default OSPF mode on S1/0? What would you have to do to make it work?
      Answer:
      The default OSPF mode on S0/1 (HDLC encapsulation) is point-to-point.
      The "somewhat" compatible modes of operation with the 'point-to-point' are:
      • point-to-multipoint
      • point-to-multipoint nonbrodcast
      Also, their hello and dead interval timers must be tweaked. They use 30/120 whereas point-to-point use 10/40.

      Q10:
      Without using the 'network' statement, how can you advertise the subnet 10.1.1.0/24?
      Answers:
      Quick solutions could be:
      1. The interface command: 'ip ospf 1 area 0' (here 1 is the process ID).
      2. Redistribution of connected networks into OSPF.
      As for the solution to the tasks, here goes...

      Pic. 1 - OSPF Point-to-Point Topology.
      Icons designed by: Andrzej Szoblik - http://www.newo.pl
      R1 Configuration:
      !
      interface Loopback0
       ip address 172.16.101.1 255.255.255.0
      !
      interface Serial0/1
       ip address 10.1.13.1 255.255.255.0
      !
      router ospf 1
       log-adjacency-changes
       network 10.1.1.1 0.0.0.0 area 0
       network 10.1.13.0 0.0.0.255 area 0
      !

      R3 Configuration:
      !
      interface Loopback0
       ip address 172.16.103.3 255.255.255.0
      !
      interface Serial0/1
       ip address 10.1.13.3 255.255.255.0
      !
      router ospf 1
      log-adjacency-changes
      network 10.1.3.3 0.0.0.0 area 0
      network 10.1.13.0 0.0.0.255 area 0
      !

      Read More

      Lab 1 - OSPF Point-to-Point Mode

      February 02, 2011
      Prerequisites: CCNP skills.

      Here's our first lab which I hope is going to help us hone the skills with OSPF point-to-point operation.

      First, a quick refresher.

      Cisco IOS OSPF modes of Operation:
      1. Point-to-point (Cisco)
      2. Broadcast (Cisco)
      3. Non-broadcast (RFC 2328)
      4. Point-to-multipoint (RFC 2328)
      5. Point-to-multipoint non-broadcast  (Cisco)
      It's time to roll up the sleeves. Below is my topology.
        Topology

        Pic. 1 - OSPF Point-to-Point Topology.
        Icons designed by: Andrzej Szoblik - http://www.newo.pl

        Workflow
        1. Read the whole task list first and try to picture what needs to be done.
        2. Answer the questions listed below BEFORE you start the lab.
        3. Check the results with your answers given before starting the lab (the answers will available in the next post).
        Task List
        On router R1:
        • Use default encapsulation on serial0/1 interface.
        • Enable and configure interfaces as per topology diagram (pic. 1).
        • Enable OSPF area 0 on F1/0 interface. Make sure that no other interface is going to be enabled if one is created in the future.
        • Enable OSPF area 0 on S0/1 interface. Use the wildcard mask as per original network mask.
        • Make sure that both interfaces are OSPF-enabled.
        On router R3:
        • Use default encapsulation on serial0/1 interface.
        • Enable and configure interfaces as per topology diagram (pic. 1).
        • Enable OSPF area 0 on F1/0 interface. Make sure that no other interface is going to be enabled if one is created in the future.
        • Enable OSPF area 0 on S0/1 interface. Use the wildcard mask as per original network mask.
        • Make sure that both interfaces are OSPF-enabled.
        On router R1 and R3:
        • Check if the OSPF adjacency has been built.
        • Check if the the advertised routes are in LSDBs.
        • Check the OSPF routing table.
        • Check the reachability between the two subnets being advertised.
        Questions
        1. What is the default OSPF mode of operation on F1/0 interface?
        2. Are hello packets sent using unicast or multicast?
        3. Does F1/0 interface participate in DR/BDR election? Why?
        4. What is the default OSPF mode of operation on S0/1 interface?
        5. Are hello packets sent using unicast or multicast? 
        6. Does it participate in DR/BDR election? Why?
        7. What are the default hello and dead interval timers used on F1/0 and S0/1?
        8. Is there any other OSPF mode of operation that could work with the default OSPF mode on F1/0? What would you have to do to make it work?
        9. Is there any other OSPF mode of operation that could work with the default OSPF mode on S1/0? What would you have to do to make it work?
        10. Without using the 'network' statement, how can you advertise the subnet 10.1.1.0/24?
        Video on Youtube with the answers to the questions:
        http://www.youtube.com/watch?v=tVBxlSUj77g
          Video with the lab and practical presentation for questions 8-10.
          http://www.youtube.com/watch?v=cQMgnX7J68E


          In the next post, I'm going to post the solution to the lab along with the answers to the questions above.
          Read More

          Post Top Ad