首页 专题 - 实验 - 软件 - 管理 - 布线 - 方案 - 配置 - 问题 - 协议 - 下载 - 交换 - 路由 - 无线 - 安全 - 认证 - Cisco - 华为 - 网吧 - ADSL
您是本帖第977位浏览者 打印

[分享] OSPF配置示例(1)

OSPF配置示例(1)

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP

在图1,Mollie使用DLCI 201 与Neon 通信,使用DLCI 202 与Jelly通信, 使 用DLCI 203与Platty 通信。Neon 使用DLCI 101 与Mollie 通信,使用DLCI 102与Platty通信。Platty 使用DLCI 401与Neon 通信,使用DLCI 402与Mollie 通信。Jelly 使用DLCI 301与Mollie通信。


(点击查看原图)


1. Mollie 的配置如下:

hostname mollie

!

interface serial 1

ip address 10.0.0.2 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.1 201 broadcast

frame-relay map ip 10.0.0.3 202 broadcast

frame-relay map ip 10.0.0.4 203 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.225 area 0

2. Neon 的配置如下:

hostname neon

!

interface serial 0

ip address 10.0.0.1 225.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

frame-relay map ip 10.0.0.2 101 broadcast

frame-relay map ip 10.0.0.4 102 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

3. Platty的配置如下:

hostname platty

!

interface seria1 3

ip address 10.0.0.4 255.0.0.0

ip ospf network point-to-multipoint

encapsulation frame-relay

clock rate 1000000

frame-relay map ip 10.0.0.1 401 broadcast

frame-relay map ip 10.0.0.2 402 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

4. Jelly的配置如下:

hostname jelly

!

interface seria1 2

ip address 10.0.0.3 255.0.0.0

ip ospf network point-multipoint

encapsulation frame-relay

clock rate 2000000

frame-relay map ip 10.0.0.2 301 broadcast

!

router ospf 1

network 10.0.0.0 0.0.0.255 area 0

TOP