NBMA网络OSPF point-to-multipoint non-broadcast

 

    在点到多点非广播模式下,必须静态指定邻居。

     

     

     

     

    配置如同point-to-multipoint模式下,只是在指定OSPF网络类型时,使用命令ip ospf network point-to-multipoint non-broadcast,此时由于无法启用组播和广播,所以无法自动建立邻居关系,需要手工指定邻居。仍不选举DR/BDR

     

    FR

    FR(config)#no ip routing

    FR(config)#frame-relay switching

     

    FR(config)#int s0/0

    FR(config-if)#no ip add

    FR(config-if)#no sh

    FR(config-if)#en fr

    FR(config-if)#frame-relay intf-ty dce

    FR(config-if)#clock rate 64000

    FR(config-if)#frame-relay lmi-type cisco

    FR(config-if)#frame-relay route 102 int s0/1 201

    FR(config-if)#frame-relay route 103 int s0/2 301

    FR(config-if)#exit

     

    FR(config)#int s0/1

    FR(config-if)#no sh

    FR(config-if)#no ip add

    FR(config-if)#en fr

    FR(config-if)#frame-relay intf-type dce

    FR(config-if)#clock rate 64000

    FR(config-if)#frame-relay lmi-type cisco

    FR(config-if)#frame-relay route 201 int s0/0 102

    FR(config-if)#exit

     

    FR(config)#int s0/2

    FR(config-if)#no ip add

    FR(config-if)#no sh

    FR(config-if)#en fr

    FR(config-if)#frame-relay intf-ty dce

    FR(config-if)#clock rate 64000

    FR(config-if)#frame-relay lmi-type cisco

    FR(config-if)#frame-relay route 301 int s0/0 103

    FR(config-if)#exit

     

    R1

    R1(config)#int lo0

    R1(config-if)#ip add 1.1.1.1 255.255.255.0

    R1(config-if)#ip ospf net point-to-point

    R1(config-if)#exit

    R1(config)#int s0/0

    R1(config-if)#no ip add

    R1(config-if)#no sh

    R1(config-if)#en fra

    R1(config)#int s0/0.1 multipoint

    R1(config-subif)#ip add 10.10.10.1 255.255.255.0

    R1(config-subif)#frame-relay map ip 10.10.10.2 102 br              

    R1(config-subif)#frame-relay map ip 10.10.10.3 103 br

    R1(config-subif)#ip ospf net point-to-multipoint non-broadcast                

     

     

    R1(config)#router ospf 1

    R1(config-router)#router-id 1.1.1.1

    R1(config-router)#net 1.1.1.0 0.0.0.255 area 0

    R1(config-router)#net 10.10.10.0 0.0.0.255 area 0

    R1(config-router)#neighbor 10.10.10.2                                     //手工指定邻居

    R1(config-router)#neighbor 10.10.10.3

    R1(config-router)#exit

     

    R2

    R2(config)#int lo 0

    R2(config-if)#ip add 2.2.2.2 255.255.255.0

    R2(config-if)#ip ospf net point-to-point

    R2(config-if)#exit

     

    R2(config)#int s0/0

    R2(config-if)#ip add 10.10.10.2 255.255.255.0

    R2(config-if)#no sh

    R2(config-if)#encapsulation frame-relay

    R2(config-if)#frame-relay map ip 10.10.10.1 201 br

    R2(config-if)#ip ospf net point-to-multipoint non-broadcast

     

    R2(config)#router ospf 1

    R2(config-router)#router-id 2.2.2.2

    R2(config-router)#net 2.2.2.0 0.0.0.255 area 0

    R2(config-router)#net 10.10.10.0 0.0.0.255 area 0

    R2(config-router)#exit

     

    R3

    R2(config)#int lo 0

    R2(config-if)#ip add 3.3.3.3 255.255.255.0

    R2(config-if)#ip ospf net point-to-point

    R2(config-if)#exit

     

    R3(config)#int s0/0

    R3(config-if)#ip add 10.10.10.3 255.255.255.0

    R3(config-if)#no sh

    R3(config-if)#encapsulation frame-relay

    R3(config-if)#frame-relay map ip 10.10.10.1 301 br

    R3(config-if)#ip ospf net point-to-multipoint non-broadcast

     

    R3(config)#router ospf 1

    R3(config-router)#router-id 3.3.3.3

    R3(config-router)#net 3.3.3.0 0.0.0.255 area 0

    R3(config-router)#net 10.10.10.0 0.0.0.255 area 0

    R3(config-router)#exit

     

     

     

     

    验证:

    R1#sh ip ospf int s0/0.1

    Serial0/0.1 is up, line protocol is up

      Internet Address 10.10.10.1/24, Area 0

      Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_MULTIPOINT, Cost: 64

      Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,

      Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5

        oob-resync timeout 120

        Hello due in 00:00:14

      Supports Link-local Signaling (LLS)

      Index 2/2, flood queue length 0

      Next 0x0(0)/0x0(0)

      Last flood scan length is 1, maximum is 2

      Last flood scan time is 0 msec, maximum is 4 msec

      Neighbor Count is 2, Adjacent neighbor count is 2

        Adjacent with neighbor 3.3.3.3

        Adjacent with neighbor 2.2.2.2

      Suppress hello for 0 neighbor(s)

     

     

    R2#sh ip ro os  

         1.0.0.0/24 is subnetted, 1 subnets

    O       1.1.1.0 [110/65] via 10.10.10.1, 00:03:55, Serial0/0

         3.0.0.0/24 is subnetted, 1 subnets

    O       3.3.3.0 [110/129] via 10.10.10.1, 00:03:55, Serial0/0

         10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

    O       10.10.10.3/32 [110/128] via 10.10.10.1, 00:03:55, Serial0/0

    O       10.10.10.1/32 [110/64] via 10.10.10.1, 00:03:55, Serial0/0

     

     

     

你可能感兴趣的:(网络,职场,休闲,ospf,NBMA)