Thursday 14 June 2012

OSPF Network Type - Point to Multipoint:

OSPF Network Type - Point to Multipoint:


Point to Multipoint:

·         Automatic neighbor discovery happens.
·         Hellos are sent as Multicast
·         No DR/BDR elections
·         Hello and dead timers are 30/120.

Please refer to the previous post for the Network Topology

Interface configuration on Hub, R1:

R1#show run int ser1/0
Building configuration...

Current configuration : 264 bytes
!
interface Serial1/0
 ip address 10.1.1.1 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 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
end

R1#

Interface configuration on Spoke, R2:

R2#show run int ser1/0
Building configuration...

Current configuration : 264 bytes
!
interface Serial1/0
 ip address 10.1.1.2 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 frame-relay map ip 10.1.1.1 201 broadcast
 frame-relay map ip 10.1.1.3 201 broadcast
 no frame-relay inverse-arp
end

R2#

Interface configuration on Spoke, R2:

R3#show run int ser1/0
Building configuration...

Current configuration : 264 bytes
!
interface Serial1/0
 ip address 10.1.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 frame-relay map ip 10.1.1.1 301 broadcast
 frame-relay map ip 10.1.1.2 301 broadcast
 no frame-relay inverse-arp
end

R3#

OSPF configuration:

R1#show run | begin router ospf 1
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 10.1.1.1 0.0.0.0 area 0
!
**manual neighbors not required

R2#show run | begin router ospf 1
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 10.1.1.2 0.0.0.0 area 0
!

R3#show run | begin router ospf 1
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 10.1.1.3 0.0.0.0 area 0
!


R1#show ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   FULL/  -        00:01:43    10.1.1.2        Serial1/0
3.3.3.3           0   FULL/  -        00:01:49    10.1.1.3        Serial1/0
R1#

R2#show ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:01:56    10.1.1.1        Serial1/0
R2#

R3#show ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:01:56    10.1.1.1        Serial1/0
R3#
** no DR/BDR

R1#show 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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:06:45, Serial1/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 10.1.1.3, 00:06:45, Serial1/0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O       10.1.1.2/32 [110/64] via 10.1.1.2, 00:06:45, Serial1/0
O       10.1.1.3/32 [110/64] via 10.1.1.3, 00:06:45, Serial1/0
C       10.1.1.0/24 is directly connected, Serial1/0
R1#

R2#show 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

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:06:53, Serial1/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/129] via 10.1.1.1, 00:06:53, Serial1/0 à Next-hop is R1, not R3
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O       10.1.1.3/32 [110/128] via 10.1.1.1, 00:06:53, Serial1/0
C       10.1.1.0/24 is directly connected, Serial1/0
O       10.1.1.1/32 [110/64] via 10.1.1.1, 00:06:53, Serial1/0
R2#
R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/84/156 ms
R2#

R3#show 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

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:06:53, Serial1/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/129] via 10.1.1.1, 00:06:53, Serial1/0  à Next-hop is R1, not R2
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O       10.1.1.2/32 [110/128] via 10.1.1.1, 00:06:53, Serial1/0
C       10.1.1.0/24 is directly connected, Serial1/0
O       10.1.1.1/32 [110/64] via 10.1.1.1, 00:06:53, Serial1/0
R3#
R3#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/68/152 ms
R3#

Debugs on R1:

*Jun 14 22:07:54.102: OSPF: Interface Serial1/0 going Up
*Jun 14 22:07:54.102: OSPF: Send hello to 224.0.0.5 area 0 on Serial1/0 from 10.1.1.1
*Jun 14 22:07:54.154: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1/0 10.1.1.3
*Jun 14 22:07:54.158: OSPF: 2 Way Communication to 3.3.3.3 on Serial1/0, state 2WAY
*Jun 14 22:07:54.158: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x22DB opt 0x52 flag 0x7 len 32
*Jun 14 22:07:54.158: OSPF: Send immediate hello to nbr 3.3.3.3, src address 10.1.1.3, on Serial1/0
*Jun 14 22:07:54.158: OSPF: Send hello to 10.1.1.3 area 0 on Serial1/0 from 10.1.1.1
*Jun 14 22:07:54.162: OSPF: End of hello processing
*Jun 14 22:07:54.166: OSPF: Rcv hello from 2.2.2.2 area 0 from Serial1/0 10.1.1.2
*Jun 14 22:07:54.166: OSPF: 2 Way Communication to 2.2.2.2 on Serial1/0, state 2WAY
*Jun 14 22:07:54.170: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x19FB opt 0x52 flag 0x7 len 32
*Jun 14 22:07:54.170: OSPF: Send immediate hello to nbr 2.2.2.2, src address 10.1.1.2, on Serial1/0
*Jun 14 22:07:54.170: OSPF: Send hello to 10.1.1.2 area 0 on Serial1/0 from 10.1.1.1
*Jun 14 22:07:54.170: OSPF: End of hello processing
*Jun 14 22:07:54.258: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x178F opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART
*Jun 14 22:07:54.262: OSPF: NBR Negotiation Done. We are the SLAVE
*Jun 14 22:07:54.262: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x178F opt 0x52 flag 0x2 len 92
*Jun 14 22:07:54.262: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2155 opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART
*Jun 14 22:07:54.266: OSPF: NBR Negotiation Done. We are the SLAVE
*Jun 14 22:07:54.266: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2155 opt 0x52 flag 0x2 len 92
*Jun 14 22:07:54.306: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x1790 opt 0x52 flag 0x3 len 92  mtu 1500 state EXCHANGE
*Jun 14 22:07:54.306: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x1790 opt 0x52 flag 0x0 len 32
*Jun 14 22:07:54.310: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2156 opt 0x52 flag 0x3 len 92  mtu 1500 state EXCHANGE
*Jun 14 22:07:54.310: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2156 opt 0x52 flag 0x0 len 32
*Jun 14 22:07:54.374: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x1791 opt 0x52 flag 0x1 len 32  mtu 1500 state EXCHANGE
*Jun 14 22:07:54.374: OSPF: Exchange Done with 3.3.3.3 on Serial1/0
*Jun 14 22:07:54.374: OSPF: Synchronized with 3.3.3.3 on Serial1/0, state FULL
*Jun 14 22:07:54.374: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/0 from LOADING to FULL, Loading Done
*Jun 14 22:07:54.378: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x1791 opt 0x52 flag 0x0 len 32
*Jun 14 22:07:54.378: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2157 opt 0x52 flag 0x1 len 32  mtu 1500 state EXCHANGE
*Jun 14 22:07:54.378: OSPF: Exchange Done with 2.2.2.2 on Serial1/0
*Jun 14 22:07:54.378: OSPF: Synchronized with 2.2.2.2 on Serial1/0, state FULL
*Jun 14 22:07:54.378: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done

No comments:

Post a Comment