OSPF多区域

 

 

实验要求:

  1.基础配置;

  2.OSPF多区域配置;

  3.OSPF特殊区域的配置(stubtotally stubNSSAtotally NSSA);

  4.路由重发布;

  5.frame-relay的配置;

  6.OSPFframe-relay网络中的配置;

  7.OSPF认证配置(接口、区域、虚链路);

  8.验证OSPF网络类型(broadcastNBMAP2PP2MPP2MP NBMAloopback)。

 

 

 

 

 

 

配置我只写了R8、R9模拟Frame-Relay,详细的配置在附件更新后的配置文件。

 

 

Cisco 路由器模拟FR交换机:

 

// FR1即拓扑中的R8FR2R9.

Router>en

Router#configg terminal

Router(config)line console 0

Router(config-line)#pass cisco

Router(config-line)#logg sy

Router(config-line)#exec-timeout 0 0

Router(config-line)#login

Router(config-line)#exit

Router(config-line)#line vty 0 4

Router(config-line)#pass cisco

Router(config-line)#login

Router(config-line)#exit

Router(config)#enable secre cisco

Router(config)#enable pass  cisco_wesley

Router(config)#service password-encryption

Router(config)#no ip domain-look

Router(config)#no ip finger

Router(config)#no ip http server

Router(config)#no ip http secure-server

Router(config)#no ip routing                                                  //  disable routing function

Router(config)#frame-relay switching                                         //  enable frame-relay switching function

Router(config)#hostname FR

FR1(config)#inter f1/0

FR1(config-if)#ip address 89.1.1.8 255.255.255.0

FR1(config-if)#exit

FR1(config)#inter tunnel 1

FR1(config-if)#tunnel source 89.1.1.8

FR1(config-if)#tunnel destination 89.1.1.9

FR1(config-if)#exit

FR1(config)#inter s0/0

FR1(config-if)#encapsulation frame-relay ietf                            // change encapsulation type

FR1(config-if)#no frame-relay inverse-arp                               //  disable inverse-arp

FR1(config-if)#no arp frame-relay                                                                        

FR1(config-if)#frame-relay lmi-type cisco                              // define LMI type

FR1(config-if)#frame-relay intf-type dce                              // configure interface's type dce

FR1(config-if)#clock rate 64000

FR1(config-if)#frame-relay route 102 interface serial0/1 201         // 定义本地接口的DLCI,并与DLCI201serial0/1成为一个虚链路。

FR1(config-if)#frame-relay route 103 interfaace tunnel 1 100

FR1(config-if)#inter s0/1

FR1(config-if)#encapsulation frame-relay ietf

FR1(config-if)#no frame-relay inverse-arp

FR1(config-if)#no arp frame-relay

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

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

FR1(config-if)#clock rate 64000

FR1(config-if)#frame-relay route 201 interface serial0/0 102

 

 

Router>en

Router#configg terminal

Router(config)line console 0

Router(config-line)#pass cisco

Router(config-line)#logg sy

Router(config-line)#exec-timeout 0 0

Router(config-line)#login

Router(config-line)#exit

Router(config-line)#line vty 0 4

Router(config-line)#pass cisco

Router(config-line)#login

Router(config-line)#exit

Router(config)#enable secre cisco

Router(config)#enable pass  cisco_wesley

Router(config)#service password-encryption

Router(config)#no ip domain-look

Router(config)#no ip finger

Router(config)#no ip http server

Router(config)#no ip http secure-server

Router(config)#no ip routing                                                  //  disable routing function

Router(config)#frame-relay switching                                         //  enable frame-relay switching function

Router(config)#hostname FR2

FR2(config)#inter f1/0

FR2(config-if)#ip address 89.1.1.9 255.255.255.0

FR2(config-if)#exit

FR2(config)#inter tunnel 1

FR2(config-if)#tunnel source 89.1.1.9

FR2(config-if)#tunnel destination 89.1.1.8

FR2(config-if)#exit

FR2(config)#inter s0/0

FR2(config-if)#encapsulation frame-relay ietf                          

FR2(config-if)#no frame-relay inverse-arp                             

FR2(config-if)#no arp frame-relay                                                                        

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

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

FR2(config-if)#clock rate 64000       

FR2(config-if)#frame-relay route 301 interfaace tunnel 1 100

 

 

 

 

 

 

 

 

 

Topology说明:

 

    R1:f0/0   ---------   R2:f0/0                   area 0                                                                         

    R1:f0/1   ---------   R3:f0/0                   area 0

    R2:f0/1   ---------   R3:f0/1                   area 0

    R1:f1/0   ---------   R4:f0/0                   area 2 stub

    R2:f1/0   ---------   R5:f0/0                   area 3 Totally stub

    R3:f1/0   ---------   R6:f0/0                   area 4 NSSA | Totally NSSA

    R6:s0/0   ---------   R7:s0/0                   AS2 RIP

    R1:s0/0   ---------   R8:s0/0                 

    R8:s0/1   ---------   R10:s0/0                  

    R8:f1/0   ---------   R9:f1/0                  

    R9:s0/0   ---------   R11:s0/0   

 

IP分配:

       

    R1  -----  R2   12.1.1.0/24

    R1  -----  R3   13.1.1.0/24

    R1  -----  R4   14.1.1.0/24

    R2  -----  R3   23.1.1.0/24

    R2  -----  R5   25.1.1.0/24

    R3  -----  R6   36.1.1.0/24

    R6  -----  R7    67.1.1.0/24

     R8  -----  R9   89.1.1.0/24

    frame-relay cloud:110.1.1.0/24

你可能感兴趣的:(职场,休闲,ospf,多区域实验)