1构建拓扑图,配置IP地址以及还回
2配置静态路由以及NAT
3.运用MGRE,进行中心站点配置和分支站点配置
interface Tunnel0/0/0
ip address 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 12.1.1.1
Nhrp entry multicast dynamic
Nhrp network-id 100
Nhrp entry 10.1.1.2 12.1.2.1 register
Nhrp entry 10.1.1.3 12.1.3.1 register
3.OSPF划分区域,使用私网链接R1和R3
R3-R5
R1 telnet R3 登录R6
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]nat server protocol tcp global current-interface 23 in
side 192.168.3.2 23
[r6]aaa
[r6-aaa]local-user liu password cipher 123456
Info: Add a new user.
[r6-aaa]local-user liu service-type telnet
[r6]user-interface vty 0 4
[r6-ui-vty0-4]authentication-mode aaa