tcp/ip_ospf案例研究5 forward address
forward address:in the autonomous system's interior to function as "route server"in its as-external-lsas,packets should be routed directly
通告0.0.0.0
非0的情况
nssa区域:转发地址为asbr上最大的环回口
非nssa:直接为下一跳地址连接外部接口为广播类型,不可passive;不要在abr(r1)做汇总;f0/1所在网段不要是外部路由
r3:
int s0/3
ip ospf 110 area 0
show ip ospf data external
r1:
int f1/0
ip ospf 110 area 1
r2:
int f1/0
ip ospf 110 area 1
int lo1
ip ospf 110 area 1
r4:
int f1/0
ip ospf 110 area 1
int lo0
ip ospf 110 area 1
转发地址(forwarding address)是指到达所通告的目的地的数据包应该被转发的地址.如果转发地址是0.0.0.0,那么数据包将被转发到始发asbr上.
r1:
router ospf 110
area 1 nssa
r2:
router ospf 110
area 1 nssa
r4:
router ospf 110
area 1 nssa
r3:
access-list 1 permit 11.1.1.1
router ospf 110
distribute-list 1 in
ip access-list standard 1
permit 124.1.1.0
permit 44.1.1.1
permit 22.1.1.1
permit 2.2.2.0
permit 122.1.1.1
转发地址非0的情况:1.在asbr的下一跳连接外部的接口使能ospf
2.该接口没有passive
3.不是一个点到点网络
4.不能是一个点到多点网络
5.在宣告范围内
r4:
router rip
version 2
no auto
network 124.1.1.0
network 44.0.0.0
r2:
router rip
no auto
version 2
network 124.1.1.0
router ospf 110
red rip subnet
router rip
red ospf 110 metric 2
r3:
show ip ospf data external
ip route 124.1.1.0 255.255.255.0 null0
标签:area,ip,permit,110,address,Forward,router,ospf,OSPF From: https://www.cnblogs.com/smoke520/p/18368022