tcp/ip_ospf over frame-relay2

第二部分:部分互联

1.三台设备接口同一网段部分全互联,网络类型broadcast,确保hub为dr,在星型拓扑下会出现二层封装问题,encapsulation failed解决方案,增加pvc映射

2.三台设备接口同一网段部分互联:网络类型nbma,确保hub作为dr,在dr上单播指定邻居,同时确保spoke完全不能成为dr/bdr,spoke需要多加map(解决二层映射)

3.三台设备接口同一网段部分全互联:网络类型p2mp-p ospf network point to multipoint,不再需要dr,也仅仅在type的lsa,产生32位的主机路由,要在一个点到多点的环境中标识自己,产生这个32位主机路由的下一跳在fr的bub上,告诉整个点对多点的其他设备用来标识

4.最后r1的s0/0启用p2p子接口

r3:

int s0/1

no frame-relay map ip 10.1.1.4 204 broadcast

r4:

no frame-relay map ip 10.1.1.3 402 broadcast

show frame-relay map

ospf over frame-relay hub&spoke

一.默认nbma网络类型

1.单播指定邻居

2.dr选举:hub成为dr,spoke不能成为dr(p=0)

3.二层封装问题,增加静态map到另外一端的spoke

二.broadcast网络类型

1.组播发现邻居

2.dr选举:hub成为dr,spoke不能成为dr(p=0)

3.frame-relay map ip 10.1.1.3 103 broadcast

三.点到多点网络类型(推荐)

1.无需指定邻居

2.无需dr

3.无2层封装问题,无需map

4.产生32位的标识路由

r3:

show ip route ospf

show ip ospf neighbor

int s0/1

frame-relay map ip 10.1.1.4 204 broadcast

r4:

int s0/2

frame-relya map ip 10.1.1.3 402 broadcast

r1:

ip ospf network broadcast

r3:

ip ospf network broadcast

r4:

ip ospf network broadcast

r1:

int s0/0

ip ospf network point-to-multipoint

r3:

int s0/1

ip ospf network point-to-multipoint

r4:

int s0/2

ip ospf network point-to-multipoint

r1:

int s0/0.14 point-to-point

ip add 10.1.2.1 255.255.255.0

frame-relay interface-dlci 104(在子接口不能使用map做映射)

r4:

int s0/2

ip add 10.1.2.4 255.255.255.0

frame-relay map ip 10.1.2.1 401 broadcast

ip ospf 110 area 0

r1:

int s0/0.14

ip ospf 110 area 0

r4:

int s0/2

ip ospf hello interval 10

ip ospf network point-to-point