AR2200怎樣配置GRE+VRRP組合組網

2015/3/3 16:50:07點擊:
問題描述

路由器(qì)AR1和(hé)AR2做(zuò)為網絡雙出口,如何配置GRE+VRRP組合組網;

解決方案

AR1的主要配置:

interface GigabitEthernet0/0/0
 ip address 10.1.1.2 255.255.255.0 
 vrrp vrid 1 virtual-ip 10.1.1.11           //WAN口配置虛拟IP
 vrrp vrid 1 priority 20
 vrrp vrid 1 preempt-mode timer delay 20
#
interface Tunnel0/0/1
 ip address 10.2.1.1 255.255.255.0 
 tunnel-protocol gre
 source 10.1.1.11              //配置虛拟IP作(zuò)為源
 destination 10.3.1.1
#
ip route-static 10.10.1.0 255.255.255.0 Tunnel0/0/1


AR2的主要配置:

interface GigabitEthernet0/0/0
 ip address 10.1.1.3 255.255.255.0 
 vrrp vrid 1 virtual-ip 10.1.1.11           //WAN口配置虛拟IP
#
interface Tunnel0/0/1
 ip address 10.2.1.2 255.255.255.0 
 tunnel-protocol gre
 source 10.1.1.11              //配置虛拟IP作(zuò)為源
 destination 10.3.1.1
#
ip route-static 10.10.1.0 255.255.255.0 Tunnel0/0/1


AR3的主要配置:

interface GigabitEthernet0/0/0
 ip address 10.3.1.1 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 10.10.1.1 255.255.255.0 
#
interface Tunnel0/0/1
 ip address 10.2.1.3 255.255.255.0 
 tunnel-protocol gre
 source 10.3.1.1
 destination 10.1.1.11        //配置虛拟IP作(zuò)為目的
#
ip route-static 10.20.1.0 255.255.255.0 Tunnel0/0/1