目录
项目场景:
步骤分析:
1、子网划分
a)按照区域(6个)划分
b)区域内自由划分
2、配置--IP地址
3、缺省路由+NAT
4、MGRE环境配置
5、OSPF协议
6、重发步
7、域间路由汇总、域外路由汇总
8、空接口防环路由
9、特殊区域
10、更改hello时间
11、OSPF认证
12、测试全网可达
实施方案:
子网划分
配置
[R1]
[r1]
interface GigabitEthernet0/0/0
ip address 172.16.32.1 255.255.248.0
interface LoopBack0
ip address 172.16.40.1 255.255.248.0
ospf 1 router-id 1.1.1.1
area 0.0.0.1
network 172.16.0.0 0.0.255.255
stub
[R2]
interface GigabitEthernet0/0/0
ip address 172.16.32.2 255.255.248.0
interface LoopBack0
ip address 172.16.48.1 255.255.248.0
ospf 1 router-id 2.2.2.2
area 0.0.0.1
network 172.16.0.0 0.0.255.255
stub
[R3]
acl number 2000
rule 1 permit
#
interface Serial1/0/0
link-protocol ppp
ip address 172.16.0.1 255.255.255.252
nat outbound 2000
#
interface GigabitEthernet0/0/0
ip address 172.16.32.3 255.255.248.0
#
interface LoopBack0
ip address 172.16.56.1 255.255.248.0
#
interface Tunnel0/0/0
ip address 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 172.16.0.1
ospf network-type p2mp
nhrp entry multicast dynamic
nhrp network-id 100
#
ospf 1 router-id 3.3.3.3