OPSF Network Type: Broadcast
Broadcast:
· Neighbors are discovered automatically.
· Hellos are sent as multicast
· DR/BDR elections happen.
· Hello and Dead timers are 10/40
Please refer to the previous post for the Network Topology
Interface Configuration on the Hub, R1:
R1#show run int ser1/0
Building configuration...
Current configuration : 254 bytes
!
interface Serial1/0
ip address 10.1.1.1 255.255.255.0
encapsulation frame-relay
ip ospf network broadcast
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 the Spoke, R2:
R2#show run int ser1/0
Building configuration...
Current configuration : 274 bytes
!
interface Serial1/0
ip address 10.1.1.2 255.255.255.0
encapsulation frame-relay
ip ospf network broadcast
ip ospf priority 0
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 the Spoke, R2:
R3#show run int ser1/0
Building configuration...
Current configuration : 274 bytes
!
interface Serial1/0
ip address 10.1.1.3 255.255.255.0
encapsulation frame-relay
ip ospf network broadcast
ip ospf priority 0
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
!
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/DROTHER 00:00:32 10.1.1.2 Serial1/0
3.3.3.3 0 FULL/DROTHER 00:00:32 10.1.1.3 Serial1/0
R1#
R2#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DR 00:00:30 10.1.1.1 Serial1/0
R2#
R3#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DR 00:00:30 10.1.1.1 Serial1/0
R3#
**DR/BDR elections happen
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:50, 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:50, Serial1/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 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:48, 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/65] via 10.1.1.3, 00:06:48, Serial1/0 à Next-hop is R3
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, 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 = 16/67/148 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:49, Serial1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 10.1.1.2, 00:06:49, Serial1/0 à Next-Hop is R2
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, 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 = 48/84/152 ms
R3#
Debugs on R1:
*Jun 15 08:43:49.132: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x713 opt 0x52 flag 0x7 len 32 mtu 1500 state 2WAY
*Jun 15 08:43:49.132: OSPF: Nbr state is 2WAY
*Jun 15 08:43:49.140: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x2195 opt 0x52 flag 0x7 len 32 mtu 1500 state 2WAY
*Jun 15 08:43:49.140: OSPF: Nbr state is 2WAY
*Jun 15 08:43:54.112: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x2195 opt 0x52 flag 0x7 len 32 mtu 1500 state 2WAY
*Jun 15 08:43:54.116: OSPF: Nbr state is 2WAY
*Jun 15 08:43:54.116: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x713 opt 0x52 flag 0x7 len 32 mtu 1500 state 2WAY
*Jun 15 08:43:54.116: OSPF: Nbr state is 2WAY
*Jun 15 08:43:58.396: OSPF: Rcv hello from 2.2.2.2 area 0 from Serial1/0 10.1.1.2
*Jun 15 08:43:58.400: OSPF: End of hello processing
*Jun 15 08:43:58.400: OSPF: Rcv hello from 2.2.2.2 area 0 from Serial1/0 10.1.1.2
*Jun 15 08:43:58.400: OSPF: End of hello processing
*Jun 15 08:43:58.936: OSPF: end of Wait on interface Serial1/0
*Jun 15 08:43:58.936: OSPF: DR/BDR election on Serial1/0
*Jun 15 08:43:58.936: OSPF: Elect BDR 1.1.1.1
*Jun 15 08:43:58.936: OSPF: Elect DR 1.1.1.1
*Jun 15 08:43:58.936: OSPF: Elect BDR 0.0.0.0
*Jun 15 08:43:58.936: OSPF: Elect DR 1.1.1.1
*Jun 15 08:43:58.936: DR: 1.1.1.1 (Id) BDR: none
*Jun 15 08:43:58.936: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x5C8 opt 0x52 flag 0x7 len 32
*Jun 15 08:43:58.936: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x2323 opt 0x52 flag 0x7 len 32
*Jun 15 08:43:58.936: OSPF: Send hello to 224.0.0.5 area 0 on Serial1/0 from 10.1.1.1
*Jun 15 08:43:59.128: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1/0 10.1.1.3
*Jun 15 08:43:59.128: OSPF: End of hello processing
*Jun 15 08:43:59.128: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1/0 10.1.1.3
*Jun 15 08:43:59.128: OSPF: End of hello processing
*Jun 15 08:43:59.132: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x713 opt 0x52 flag 0x7 len 32 mtu 1500 state EXSTART
*Jun 15 08:43:59.132: OSPF: NBR Negotiation Done. We are the SLAVE
*Jun 15 08:43:59.132: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x713 opt 0x52 flag 0x2 len 52
*Jun 15 08:43:59.140: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x2195 opt 0x52 flag 0x7 len 32 mtu 1500 state EXSTART
*Jun 15 08:43:59.140: OSPF: NBR Negotiation Done. We are the SLAVE
*Jun 15 08:43:59.140: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x2195 opt 0x52 flag 0x2 len 52
*Jun 15 08:43:59.180: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x714 opt 0x52 flag 0x3 len 72 mtu 1500 state EXCHANGE
*Jun 15 08:43:59.180: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x714 opt 0x52 flag 0x0 len 32
*Jun 15 08:43:59.184: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x2196 opt 0x52 flag 0x3 len 72 mtu 1500 state EXCHANGE
*Jun 15 08:43:59.188: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x2196 opt 0x52 flag 0x0 len 32
*Jun 15 08:43:59.256: OSPF: Rcv DBD from 3.3.3.3 on Serial1/0 seq 0x2197 opt 0x52 flag 0x1 len 32 mtu 1500 state EXCHANGE
*Jun 15 08:43:59.256: OSPF: Exchange Done with 3.3.3.3 on Serial1/0
*Jun 15 08:43:59.256: OSPF: Send LS REQ to 3.3.3.3 length 24 LSA count 2
*Jun 15 08:43:59.256: OSPF: Send DBD to 3.3.3.3 on Serial1/0 seq 0x2197 opt 0x52 flag 0x0 len 32
*Jun 15 08:43:59.260: OSPF: Rcv LS REQ from 3.3.3.3 on Serial1/0 length 36 LSA count 1
*Jun 15 08:43:59.264: OSPF: Send UPD to 10.1.1.3 on Serial1/0 length 52 LSA count 1
*Jun 15 08:43:59.268: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x715 opt 0x52 flag 0x1 len 32 mtu 1500 state EXCHANGE
*Jun 15 08:43:59.268: OSPF: Exchange Done with 2.2.2.2 on Serial1/0
*Jun 15 08:43:59.268: OSPF: Send LS REQ to 2.2.2.2 length 24 LSA count 2
*Jun 15 08:43:59.268: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x715 opt 0x52 flag 0x0 len 32
*Jun 15 08:43:59.272: OSPF: Rcv LS REQ from 2.2.2.2 on Serial1/0 length 36 LSA count 1
*Jun 15 08:43:59.272: OSPF: Send UPD to 10.1.1.2 on Serial1/0 length 52 LSA count 1
*Jun 15 08:43:59.312: OSPF: Rcv LS UPD from 3.3.3.3 on Serial1/0 length 124 LSA count 2
*Jun 15 08:43:59.316: OSPF: Synchronized with 3.3.3.3 on Serial1/0, state FULL
*Jun 15 08:43:59.316: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/0 from LOADING to FULL, Loading Done
*Jun 15 08:43:59.324: OSPF: Rcv LS UPD from 2.2.2.2 on Serial1/0 length 124 LSA count 2
*Jun 15 08:43:59.324: OSPF: Synchronized with 2.2.2.2 on Serial1/0, state FULL
*Jun 15 08:43:59.324: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
No comments:
Post a Comment