R1:R3 103:301      R2:R3 203:302   
  R1 loopback 1.1.1.1/32 
  R2 loopback:2.2.2.2/32
  R3 loopback 3.3.3.3/32
 
 
NBMA
 
 
R1
conf t
int l 0
ip ad 1.1.1.1 255.255.255.255
exit
int s 0
encap f
no arp f
no frame inver
ip ad 10.1.1.1 255.255.255.0
frame map ip 10.1.1.3 103 b
frame map ip 10.1.1.2 103 b
ip ospf priority 0
no shut
exit
router ospf 1
nei 10.1.1.3
net 1.1.1.1 0.0.0.0 a 0
net 10.1.1.1 0.0.0.0 a 0
end
 
 
R2
conf t
int l0
ip ad 2.2.2.2 255.255.255.255
exit
int s 0
encap f
no arp f
no frame inver
ip ad 10.1.1.2 255.255.255.0
frame map ip 10.1.1.3 203 b
frame map ip 10.1.1.1 203 b
ip ospf priority 0
no shut
exit
router ospf 1
nei 10.1.1.3
net 2.2.2.2 0.0.0.0 a 0
net 10.1.1.2 0.0.0.0 a 0
exd
 
 
R3
conf t
int l 0
ip ad 3.3.3.3 255.255.255.255
exit
int s 0
encap f
no arp f
no frame inver
ip ad 10.1.1.3 255.255.255.0
frame map ip 10.1.1.1 301 b
frame map ip 10.1.1.2 302 b
no shut
exit
router ospf 1
nei 10.1.1.1
nei 10.1.1.2
net 3.3.3.3 0.0.0.0 a 0
net 10.1.1.3 0.0.0.0 a 0
end
 
 
R1#sh ip route ospf
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:00:20, Serial2/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 10.1.1.3, 00:00:20, Serial2/0
R1#sh ip ospf neighbor
R1#sh ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           1   FULL/DR         00:01:39    10.1.1.3        Serial2/0
 
 
 
R2#sh ip route ospf
     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:01:12, Serial2/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 10.1.1.3, 00:01:12, Serial2/0
R2#sh ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           1   FULL/DR         00:01:30    10.1.1.3        Serial2/0
 
 
R3#sh ip route ospf
     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 10.1.1.1, 00:01:45, Serial2/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:01:45, Serial2/0
R3#sh ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
10.1.1.1          0   FULL/DROTHER    00:01:30    10.1.1.1        Serial2/0
2.2.2.2           0   FULL/DROTHER    00:01:35    10.1.1.2        Serial2/0
 
 
POINT-TO-MULTIPOINT
 
 
R1
conf t
int l 0
ip ad 1.1.1.1 255.255.255.255
exit
int s 0
ip ad 10.1.1.1 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.1.2 103 b
frame map ip 10.1.1.3 103 b
ip ospf network point-to-multipoint
no shut
exit
router ospf 1
net 1.1.1.1 0.0.0.0 a 0
net 10.1.1.1 0.0.0.0 a 0
end
 
 
R2
conf t
int l 0
ip ad 2.2.2.2 255.255.255.255
exit
int s 0
ip ad 10.1.1.2 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.1.1 203 b
frame map ip 10.1.1.3 203 b
ip ospf network point-to-multipoint
no shut
exit
router ospf 1
net 2.2.2.2 0.0.0.0 a 0
net 10.1.1.2 0.0.0.0 a 0
end
 
 
 
R3
conf t
int l 0
ip ad 3.3.3.3 255.255.255.255
exit
int s 0
ip ad 10.1.1.3 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.1.1 301 b
frame map ip 10.1.1.2 302 b
ip ospf network point-to-multipoint
no shut
exit
router ospf 1
net 3.3.3.3 0.0.0.0 a 0
net 10.1.1.3 0.0.0.0 a 0
end
 
 
R1#sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:01:55    10.1.1.3        Serial2/0
R1#sh 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/129] via 10.1.1.3, 00:10:45, Serial2/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 10.1.1.3, 00:10:45, Serial2/0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O       10.1.1.2/32 [110/128] via 10.1.1.3, 00:10:45, Serial2/0
O       10.1.1.3/32 [110/64] via 10.1.1.3, 00:10:45, Serial2/0
C       10.1.1.0/24 is directly connected, Serial2/0
 
 
R2#sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:01:47    10.1.1.3        Serial2/0
R2#sh 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/129] via 10.1.1.3, 00:11:15, Serial2/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:11:15, Serial2/0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O       10.1.1.3/32 [110/64] via 10.1.1.3, 00:11:15, Serial2/0
C       10.1.1.0/24 is directly connected, Serial2/0
O       10.1.1.1/32 [110/128] via 10.1.1.3, 00:11:15, Serial2/0
 
 
R3#sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   FULL/  -        00:01:38    10.1.1.2        Serial2/0
1.1.1.1           0   FULL/  -        00:01:35    10.1.1.1        Serial2/0
R3#sh 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:11:33, Serial2/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.1.2, 00:11:33, Serial2/0
     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/64] via 10.1.1.2, 00:11:33, Serial2/0
C       10.1.1.0/24 is directly connected, Serial2/0
O       10.1.1.1/32 [110/64] via 10.1.1.1, 00:11:33, Serial2/0
 
 
 
POINT-TO-POINT
 
 
R1
conf t
int l 0
ip ad 1.1.1.1 255.255.255.255
exit
int s 0
ip ad 10.1.1.1 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.1.3 301 b
ip ospf network point-to-point
no shut
router ospf 1
net 1.1.1.1 0.0.0.0 a 0
net 10.1.1.1 0.0.0.0 a 0
end
 
 
 
R2
conf t
int l 0
ip ad 2.2.2.2 255.255.255.255
exit
int s 0
ip ad 10.1.2.2 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.2.3 203 b
ip ospf network point-to-point
no shut
router ospf 1
net 2.2.2.2 0.0.0.0 a 0
net 10.1.2.2 0.0.0.0 a 0
end
 
 
 
R3
conf t
int l 0
ip ad 3.3.3.3 255.255.255.255
exit
int s 0
encap f
no arp f
no frame inver
no shut
exit
int s 0.1 p
ip ad 10.1.1.3 255.255.255.0
no arp f
no frame inver
frame interface-dlci 301
exit
ip ospf network point-to-point
exit
int s 0.2 p
ip ad 10.1.2.3 255.255.255.0
no arp f
no frame inver
frame interface-dlci 302
exit
ip ospf network point-to-point
exit
router ospf 1
net 3.3.3.3 0.0.0.0 a 0
net 10.1.1.3 0.0.0.0 a 0
net 10.1.2.3 0.0.0.0 a 0
end
 
R1# sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:00:32    10.1.1.3        Serial2/0
R1#sh 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/129] via 10.1.1.3, 00:00:23, Serial2/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/65] via 10.1.1.3, 00:00:23, Serial2/0
     10.0.0.0/24 is subnetted, 2 subnets
O       10.1.2.0 [110/128] via 10.1.1.3, 00:00:23, Serial2/0
C       10.1.1.0 is directly connected, Serial2/0
 
 
R2#sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:00:37    10.1.2.3        Serial2/0
R2#sh 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/129] via 10.1.2.3, 00:00:13, Serial2/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.2.3, 00:00:13, Serial2/0
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.2.0 is directly connected, Serial2/0
O       10.1.1.0 [110/128] via 10.1.2.3, 00:00:13, Serial2/0
 
 
R3# sh ip ospf n
Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   FULL/  -        00:00:33    10.1.2.2        Serial2/0.2
1.1.1.1           0   FULL/  -        00:00:37    10.1.1.1        Serial2/0.1
R3#sh 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:00:02, Serial2/0.1
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 10.1.2.2, 00:00:02, Serial2/0.2
     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, 2 subnets
C       10.1.2.0 is directly connected, Serial2/0.2
C       10.1.1.0 is directly connected, Serial2/0.1