DM×××
u
u
外网接口都为f0/0,中间路由器模拟Internet 。 |
u
HUB配置:①②③ crypto isakmp policy 10 crypto isakmp key 6 cisco address 0.0.0.0 0.0.0.0 ! crypto ipsec transform-set ×××SET esp-des esp-md5-hmac ! crypto ipsec profile cisco ! interface Loopback0 ! interface Tunnel0 ! router eigrp 100 ! ip route 0.0.0.0 0.0.0.0 30.1.1.2 |
R1和R2配置: crypto isakmp policy 10 crypto isakmp key 6 cisco address 0.0.0.0 0.0.0.0 ! crypto ipsec transform-set ×××SET esp-des esp-md5-hmac ! crypto ipsec profile cisco ! interface Loopback0 ! interface Tunnel0 ! router eigrp 100 ! ip route 0.0.0.0 0.0.0.0 10.1.1.2 |
u
在配置eigrp后,不能建立邻居,因为eigrp不能再NBMA网络中传播,所以需要配置后面×××字体,之后HUB能学学习两个路由,但是SPOKE只能学习到HUB路由,所以需要之后的HUB不要水平分割和不要下一跳指向自己 没有配置eigrp路由前的配置 |
|
HUB |
spoke端配置 |
interface Tunnel0 ip nhrp map 172.16.1.3 30.1.1.1 tunnel source FastEthernet0/0 |
interface Tunnel0 ip nhrp network-id 100 |
当配置eigrp路由协议后,不能学习到路由只能有邻居,spoke所以要指定多播 |
|
ip nhrp map multicast 30.1.1.1 |
ip nhrp map multicast dynamic |
但是spoke只能学习到一条路由信息,路由器不会把一个接口上学到的路由重新发布出去,所以需要在hub上面关闭水平分割 |
|
hub(config-if)#no ip split-horizon eigrp 100 |
|
u