1: NBMA mode on Hub-and-spoke (also the default mode)
Summary: Features of The NBMA mode on HUB-AND-SPOKE:
(1) the IP addresses of the frame relay interface are all on the same subnet;
(2) manually configure OSPF neighbors;
(3) DR needs to be elected, and DR needs to be manually controlled on the HUB side;
(4) manual Frame Relay ing is required.
Verification:
1: Verify the topology:
650) this. width = 650; "alt =" "border =" 0 "src =" http://www.bkjia.com/uploads/allimg/131227/030132K27-0.jpg "/>
2: configuration process:
(1) configuration of the FR switch.
Frame-relay switching
Int s0/0
En fr ietf
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type ansi
Frame-relay route 102 interface s0/1 201
Frame-relay route 103 interface s0/2 301
Frame-relay route 104 interface s0/3 401
No sh
Int s0/1
En fr ietf
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type ansi
Frame-relay route 201 interface s0/0 102
Frame-relay route 203 interface s0/2 302
Frame-relay route 204 interface s0/3 402
No sh
Int s0/2
En fr ietf
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type ansi
Frame-relay route 301 interface s0/0 103
Frame-relay route 302 interface s0/1 203
Frame-relay route 304 interface s0/3 403
No sh
Int s0/3
En fr ietf
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type ansi
Frame-relay route 401 interface s0/0 104
Frame-relay route 402 interface s0/1 204
Frame-relay route 403 interface s0/2 304
No sh
R1 (config) # int s0/0
R1 (config-if) # encapsulation frame-relay
R1 (config-if) # ip add 192.168.1.1 255.255.255.0
R1 (config-if) # no sh
R1 (config-if) # int lo 0
R1 (config-if) # ip add 1.1.1.1 255.255.255.0
Interface Serial0/0
Ip address 192.168.1.1 255.255.255.0
Encapsulation frame-relay
No frame-relay inverse-arp
Frame-relay map ip 192.168.1.1 102 broadcast
Frame-relay map ip 192.168.1.2 102 broadcast
Frame-relay map ip 192.168.1.3 103 broadcast
Frame-relay map ip 192.168.1.4 104 broadcast
R2 (config) # int s0/0
R2 (config-if) # ip add 192.168.1.2 255.255.255.0
R2 (config-if) # encapsulation frame-relay
R2 (config-if) # no frame-relay inverse-arp
2 (config-if) # frame-relay map ip 192.168.1.1 201 broadcast
R2 (config-if) # frame-relay map ip 192.168.1.2 201 broadcast
R2 (config-if) # frame-relay map ip 192.168.1.3 201 broadcast
R2 (config-if) # frame-relay map ip 192.168.1.4 201 broadcast
R2 (config-if) # no sh
R2 (config-if) # int lo 0
R2 (config-if) # ip add 2.2.2.2 255.255.255.0
R3 (config) # int s0/0
R3 (config-if) # encapsulation frame-relay
R3 (config-if) # no frame-relay inverse-arp
R3 (config-if) # ip add 192.168.1.3 255.255.255.0
R3 (config-if) # frame-relay map ip 192.168.1.1 301 br
R3 (config-if) # frame-relay map ip 192.168.1.1 301 broadcast
R3 (config-if) # frame-relay map ip 192.168.1.2 301 broadcast
R3 (config-if) # frame-relay map ip 192.168.1.3 301 broadcast
R3 (config-if) # frame-relay map ip 192.168.1.4 301 broadcast
R3 (config-if) # no sh
R3 (config-if) # int lo 0
R3 (config-if) # ip add 3.3.3.3 255.255.255.0
R4 (config) # int s0/0
R4 (config-if) # encapsulation frame-relay
R4 (config-if) # no frame-relay inverse-arp
R4 (config-if) # ip add 192.168.1.4 255.255.255.0
R4 (config-if) # frame-relay map ip 192.168.1.1 401 broadcast
R4 (config-if) # frame-relay map ip 192.168.1.2 401 broadcast
R4 (config-if) # frame-relay map ip 192.168.1.3 401 broadcast
R4 (config-if) # frame-relay map ip 192.168.1.4 401 broadcast
R4 (config-if) # no sh
R4 (config-if) # int lo 0
R4 (config-if) # ip add 4.4.4.4 255.255.255.0
(2) Configure OSPF routes
R1 (config) # router OS 1
R1 (config-router) # network 0.0.0.0 255.255.255.255 a 0
R2 (config) # router OS 1
R2 (config-router) # network 0.0.0.0 255.255.255.255 a 0
R3 (config) # router OS 1
R3 (config-router) # net 0.0.0.0 255.255.255.255 a 0
R3 (config-router) # no au
R4 (config) # router OS 1
R4 (config-router) # net 0.0.0.0 255.255.255.255 a 0
R1 # sh ip OS nei // No neighbors found
R1 # sho ip OS interface s0/0
Serial0/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network TypeNON_BROADCAST, Cost: 64
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1
No backup designated router on this network
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
Oob-resync timeout 120
Hello due in 00:00:08
Supports Link-local Signaling (LLS)
Index 1/1, flood queue length 0
Next 0x0 (0)/0x0 (0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor (s)
// It is found that frame relay is an NBMA network by default, so you need to manually specify the neighbor.
R1 (config) # router OS 1
R1 (config-router )#Neighbor 192.168.1.2
R1 (config-router )#Neighbor 192.168.1.3
R1 (config-router )#Neighbor 192.168.1.4
R1 # sho ip OS nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/DROTHER 00:01:58 192.168.1.2 Serial0/0
3.3.3.3 1 FULL/DROTHER 00:01:58 192.168.1.3 Serial0/0
4.4.4.4 1 FULL/DR 00:01:58 192.168.1.4 Serial0/0
R2 # sho ip OS nei
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DROTHER 00:01:41 192.168.1.1 Serial0/0
Both the Hub end and all Spoke end have established a neighbor, and the Spoke end cannot build a neighbor, and the route cannot be completely learned. The solution is to make the Hub end DR.
R1 (config) # int s0/0
R1 (config-if )#Ip ospf priority 255
R2 (config) # int s0/0
R2 (config-if )#Ip ospf priority 0
R3 (config) # int s0/0
R3 (config-if )#Ip ospf priority 0
R4 (config) # int s0/0
R4 (config-if )#Ip ospf priority 0
// It is found that R1 has become a DR, and now it has learned all the routes.
R4 # sho ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/65] via 192.168.1.1, 00:00:32, Serial0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 192.168.1.2, 00:00:32, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/65] via 192.168.1.3, 00:00:32, Serial0/0
2: broadcast mode on HUB-and-spoke
Summary: features of the HUB-AND-SPOKE broadcast mode:
(1) the IP addresses of the frame relay interface are all on the same subnet;
(2) HELLO packet multicast, no need to manually configure OSPF neighbors;
(3) Select DR and manually control the DR on the HUB;
(4) You need to manually map frames.
Continue to use the above topology and change the network type to a broadcast network. The only difference after configuration is complete is that Hello can be transmitted on the broadcast network without manually specifying neighbors, however, make sure that the Hub side is DR.
R1 (config) # int s0/0
R1 (config-if) # ip ospf network?
Broadcast Specify OSPF broadcast multi-access network
Non-broadcast Specify ospf nbma network
Point-to-multipoint Specify OSPF point-to-multipoint network
Point-to-point Specify OSPF point-to-point network
R1 (config-if) # ip ospf network broadcast
R2, R3, and R4 run this command once and make sure that the Hub is DR.
3: broadcast mode on FULL Mesh:
Summary: broadcast mode features on FULL-Mesh:
(1) the IP addresses of the frame relay interface are all on the same subnet;
(2) Hello packet multicast, no need to manually configure OSPF neighbors;
(3) DR election is required, and manual DR control is not required;
(4) You do not need to perform Frame Relay ing manually.
R1 (config )#Default interface s0/0 // restore the configurations on R2, R3, and R4
R2 (config-if) # frame-relay map ip: 192.168.1.1 201 B
R2 (config-if) # frame-relay map ip 192.168.1.2 201 B
R2 (config-if) # frame-relay map ip 192.168.1.3 203 B
R2 (config-if) # frame-relay map ip 192.168.1.4 204 B
R3 (config-if) # frame-relay map ip 192.168.1.1 301 B
R3 (config-if) # frame-relay map ip 192.168.1.2 302 B
R3 (config-if) # frame-relay map ip 192.168.1.3 302 B
R3 (config-if) # frame-relay map ip 192.168.1.4 304 B
R4 (config-if) # frame-relay map ip: 192.168.1.1 401 B
R4 (config-if) # frame-relay map ip 192.168.1.2 402 B
R4 (config-if) # frame-relay map ip 192.168.1.3 403 B
R4 (config-if) # frame-relay map ip 192.168.1.4 403 B
R1 (config) # int s0/0
R1 (config-if )#Ip ospf network broadcast
R2 (config) # int s0/0
R2 (config-if) # ip ospf network broadcast
R3 (config) # int s0/0
R3 (config-if) # ip ospf network broadcast
R4 (config) # int s0/0
R4 (config-if) # ip ospf network broadcast
4: Point-to-Point Mode
Conclusion: Point-to-Point Mode features:
(1) The frame relay interface is in different subnets;
(2) Hello packet multicast, no need to manually configure OSPF neighbors;
(3) No DR election;
(4) manual Frame Relay ing is required.
R1 (config) # int s0/0
R1 (config-if )#Encapsulation frame-relay
R1 (config-if) # no sh
R1 (config )#Int s0/0.1 point-to-point
R1 (config-subif )#Ip add 192.168.1.1 255.255.255.0
R1 (config-subif )#Frame-relay interface-dlci 102
R1 (config-fr-dlci )#Int s0/0.2 p
R1 (config-subif )#Ip add 192.168.2.1 255.255.255.0
R1 (config-subif )#Frame-relay interface-dlci 103
R1 (config-fr-dlci )#Int s0/0.3 p
R1 (config-subif )#Ip add 192.168.3.1 255.255.255.0
R1 (config-subif )#Frame-relay interface-dlci 104
R2 (config) # int s0/0
R2 (config-if) # encapsulation frame-relay
R2 (config-if) # ip add 192.168.1.2 255.255.255.0
R2 (config-if )#Frame-relay map ip 192.168.1.1 201 broadcast
R2 (config-if) # no sh
R3 (config) # int s0/0
R3 (config-if) # encapsulation frame-relay
R3 (config-if) # ip add 192.168.2.2 255.255.255.0
R3 (config-if) # no sh
R3 (config-if )#Frame-relay map ip 192.168.2.1 301 B
R4 (config) # int s0/0
R4 (config-if) # encapsulation frame-relay
R4 (config-if) # ip add 192.168.3.2 255.255.255.0
R4 (config-if) # no sh
R4 (config-if )#Frame-relay map ip 192.168.3.1 401 B
The default Interface is in NBMA mode. You need to manually change it to point-to-point mode.
R2 (config) # int s0/0
R2 (config-if )#Ip ospf network point-to-point
R3 (config) # int s0/0
R3 (config-if) # ip ospf network point-to-point
R4 (config) # int s0/0
R4 (config-if) # ip ospf network point-to-point
R3 # sho ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/5209] via 192.168.2.1, 00:01:38, Serial0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/6771] via 192.168.2.1, 00:01:38, Serial0/0
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 [110/6771] via 192.168.2.1, 00:01:38, Serial0/0
O 192.168.1.0/24 [110/6770] via 192.168.2.1, 00:01:38, Serial0/0
O 192.168.3.0/24 [110/6770] via 192.168.2.1, 00:01:38, Serial0/0
// All route information has been learned.
5: point-to-point multicast Mode
Summary: features of point to multi-point broadcast mode:
(1) The frame relay interface is in the same subnet;
(2) Hello packet multicast, no need to manually configure OSPF neighbors;
(3) No DR election;
(4) You do not need to perform Frame Relay ing manually.
After configuration, the default value is NBMA. You need to manually change it to point-to-point multicast mode:
R1 (config) # int s0/0
R1 (config-if )#Ip ospf network point-to-multipoint
R2 (config) # int s0/0
R2 (config-if) # ip ospf network point-to-multipoint
R3 (config) # int s0/0
R3 (config-if) # ip ospf network point-to-multipoint
R4 (config) # int s0/0
R4 (config-if) # ip ospf network point-to-multipoint
6: point-to-point non-broadcast mode
Conclusion: features of point-to-point non-broadcast mode:
(1) The frame relay interface is in the same subnet;
(2) OSPF neighbors must be manually configured;
(3) No DR election;
(4) You do not need to perform Frame Relay ing manually.
// Change the configuration above to the point-to-point non-broadcast mode. the difference from the point-to-Multi-Point broadcast mode is that the neighbor needs to be manually specified because the Hello multicast package cannot cross the FR Environment.
R1 (config) # int s0/0
R1 (config-if )#Ip ospf network point-to-multipoint non-broadcast
R2 (config) # int s0/0
R2 (config-if) # ip ospf network point-to-multipoint non-broadcast
R3 (config) # int s0/0
R3 (config-if) # ip ospf network point-to-multipoint non-broadcast
R4 (config) # int s0/0
R4 (config-if) # ip ospf network point-to-multipoint non-broadcast
// After the change, the neighbors will soon disappear. We manually refer to the neighbors on R1.
R1 (config) # router OS 1
R1 (config-router )#Neighbor 192.168.1.2
R1 (config-router) # neighbor 192.168.1.3
R1 (config-router) # neighbor 192.168.1.4
R2 (config) # router OS 1
R2 (config-router) # neighbor 192.168.1.1
R2 (config-router) # neighbor 192.168.1.3
R2 (config-router) # neighbor 192.168.1.4
R3 (config) # router OS 1
R3 (config-router) # neighbor 192.168.1.1
R3 (config-router) # neighbor 192.168.1.2
R3 (config-router) # neighbor 192.168.1.4
R4 (config) # router OS 1
R4 (config-router) # neighbor 192.168.1.1
R4 (config-router) # neighbor 192.168.1.2
R4 (config-router) # neighbor 192.168.1.3
R2 # sho ip OS neighbor
Neighbor ID Pri State Dead Time Address Interface
4.4.4.4 0 FULL/-00:01:44 192.168.1.4 Serial0/0
3.3.3.3 0 FULL/-00:01:44 192.168.1.3 Serial0/0
1.1.1.1 0 FULL/-00:01:51 192.168.1.1 Serial0/0
R2 # sho ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/5209] via 192.168.1.1, 00:00:49, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/5209] via 192.168.1.3, 00:00:49, Serial0/0
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 [110/5209] via 192.168.1.4, 00:00:49, Serial0/0
192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
O 192.168.1.1/32 [110/5208] via 192.168.1.1, 00:00:49, Serial0/0
O 192.168.1.3/32 [110/5208] via 192.168.1.3, 00:00:49, Serial0/0
O 192.168.1.4/32 [110/5208] via 192.168.1.4, 00:00:49, Serial0/0
// All the adjacent links have been established and the route table has been learned. A 32-bit host route is generated in the non-broadcast mode from point to point.
Summary:
1: NBMA mode on Hub-and-spoke
Summary: Features of The NBMA mode on HUB-AND-SPOKE:
(5) the IP addresses of the frame relay interface are all on the same subnet;
(6) manually configure OSPF neighbors;
(7) DR needs to be elected, and DR needs to be manually controlled on the HUB side;
(8) You need to manually perform Frame Relay ing.
2: broadcast mode on HUB-and-spoke
Summary: features of the HUB-AND-SPOKE broadcast mode:
(5) the IP addresses of the frame relay interface are all on the same subnet;
(6) HELLO packet multicast, no need to manually configure OSPF neighbors;
(7) Select DR and manually control the DR on the HUB;
(8) You need to manually map frames.
3: broadcast mode on FULL Mesh:
Summary: broadcast mode features on FULL-Mesh:
(5) the IP addresses of the frame relay interface are all on the same subnet;
(6) Hello packet multicast, no need to manually configure OSPF neighbors;
(7) DR election is required, and manual DR control is not required;
(8) You do not need to perform Frame Relay ing manually.
4: Point-to-Point Mode
Conclusion: Point-to-Point Mode features:
(5) The frame relay interface is in different subnets;
(6) Hello packet multicast, no need to manually configure OSPF neighbors;
(7) No DR election;
(8) You need to manually perform Frame Relay ing.
5: point-to-point multicast Mode
Summary: features of point to multi-point broadcast mode:
(5) The frame relay interface is in the same subnet;
(6) Hello packet multicast, no need to manually configure OSPF neighbors;
(7) No DR election;
(8) You do not need to perform Frame Relay ing manually.
6: point-to-point non-broadcast mode
Conclusion: features of point-to-point non-broadcast mode:
(5) The frame relay interface is in the same subnet;
(6) OSPF neighbors must be manually configured;
(7) No DR election;
(8) You do not need to perform Frame Relay ing manually.
This article is from the "HoltZhang" blog and will not be reproduced!