Thursday 14 June 2012

OSPF Network Type: Point To Point:

OSPF Network Type: Point To Point:

Point to point:

·         Default on point to point sub-interfaces
·         Neighbors are discovered automatically.
·         Hellos are sent as Multicast.
·         No DR/BDR elections
·         Hello and Dead timers are 10/40

R1---------------------------102------201-----------------------R2
10.1.1.1                                                                        10.1.1.2


Interface Configuration on R1:

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

Current configuration : 93 bytes
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
end

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

Current configuration : 114 bytes
!
interface Serial1/0.1 point-to-point
 ip address 10.1.1.1 255.255.255.0
 frame-relay interface-dlci 102
end

R1#

Interface Configuration on R2:

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

Current configuration : 93 bytes
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
end

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

Current configuration : 114 bytes
!
interface Serial1/0.1 point-to-point
 ip address 10.1.1.2 255.255.255.0
 frame-relay interface-dlci 201
end

R2#

OSPF Configuration:

R1#show run | begin router ospf 1
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 10.1.1.1 0.0.0.0 area 0
 network 1.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 10.1.1.2 0.0.0.0 area 0
 network 2.2.2.2 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:00:35    10.1.1.2        Serial1/0.1
R1#

R2#show ip ospf nei

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

** 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:00:55, Serial1/0.1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0.1
R1#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 = 20/44/80 ms
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:01:15, Serial1/0.1
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0.1
R2#ping 1.1.1.1

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


Debugs on R1:


*Jun 15 12:09:29.575: OSPF: Interface Serial1/0.1 going Up
*Jun 15 12:09:29.575: OSPF: Send hello to 224.0.0.5 area 0 on Serial1/0.1 from 10.1.1.1
*Jun 15 12:09:29.643: OSPF: Rcv hello from 2.2.2.2 area 0 from Serial1/0.1 10.1.1.2
*Jun 15 12:09:29.643: OSPF: 2 Way Communication to 2.2.2.2 on Serial1/0.1, state 2WAY
*Jun 15 12:09:29.647: OSPF: Send DBD to 2.2.2.2 on Serial1/0.1 seq 0x1DDA opt 0x52 flag 0x7 len 32
*Jun 15 12:09:29.647: OSPF: Send immediate hello to nbr 2.2.2.2, src address 10.1.1.2, on Serial1/0.1
*Jun 15 12:09:29.647: OSPF: Send hello to 224.0.0.5 area 0 on Serial1/0.1 from 10.1.1.1
*Jun 15 12:09:29.647: OSPF: End of hello processing
*Jun 15 12:09:29.779: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0.1 seq 0xD2E opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART
*Jun 15 12:09:29.779: OSPF: NBR Negotiation Done. We are the SLAVE
*Jun 15 12:09:29.783: OSPF: Send DBD to 2.2.2.2 on Serial1/0.1 seq 0xD2E opt 0x52 flag 0x0 len 32
*Jun 15 12:09:29.859: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0.1 seq 0xD2F opt 0x52 flag 0x3 len 72  mtu 1500 state EXCHANGE
*Jun 15 12:09:29.859: OSPF: Send DBD to 2.2.2.2 on Serial1/0.1 seq 0xD2F opt 0x52 flag 0x0 len 32
*Jun 15 12:09:29.975: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0.1 seq 0xD30 opt 0x52 flag 0x1 len 32  mtu 1500 state EXCHANGE
*Jun 15 12:09:29.975: OSPF: Exchange Done with 2.2.2.2 on Serial1/0.1
*Jun 15 12:09:29.979: OSPF: Send LS REQ to 2.2.2.2 length 24 LSA count 2
*Jun 15 12:09:29.979: OSPF: Send DBD to 2.2.2.2 on Serial1/0.1 seq 0xD30 opt 0x52 flag 0x0 len 32
*Jun 15 12:09:30.055: OSPF: Build router LSA for area 0, router ID 1.1.1.1, seq 0x80000001
*Jun 15 12:09:30.075: OSPF: Rcv LS UPD from 2.2.2.2 on Serial1/0.1 length 124 LSA count 2
*Jun 15 12:09:30.079: OSPF: Synchronized with 2.2.2.2 on Serial1/0.1, state FULL
*Jun 15 12:09:30.079: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0.1 from LOADING to FULL, Loading Done

No comments:

Post a Comment