Overview
To use the Virtual Router Redundancy Protocol (VRRP) with PBR (Policy-Based Routing), you should specify the behavior of the router interfaces that connect to the LAN, WAN, and the out-of-path Exinda appliances.
This article provides step-by-step instructions on how to configure a router for VRRP with PBR.
Process
- Launch the router's CLI.
- To enter the privileged EXEC (enable) mode, run the following command at the prompt:
hostname > enable
- The hostname # prompt appears.
- To enter the configuration (config) mode, run the following command at the prompt:
hostname # configure terminal
- The hostname (config) prompt appears.
- To enter the privileged EXEC (enable) mode, run the following command at the prompt:
- Configure the interface parameters for the switch installed between the router and the out-of-path Exinda Appliances (Gig0/0).
- Specify the interface to configure:
hostname (config)# interface GigabitEthernet0/0
- Set the IP address of the out-of-path Exinda Appliance:
hostname (config-if)# ip address 10.10.10.1 255.0.0.0
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
- Specify the interface to configure:
- Configure the parameters for the WAN interface (Gig0/1).
- Specify the interface to configure:
hostname (config)# interface GigabitEthernet0/1
- Set the IP address and netmask of the WAN interface:
hostname (config-if)# ip address 64.65.66.1 255.255.255.0
- Set the route map for policy routing to asymmetrical:
hostname (config-if)# ip policy route-map Asym
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
- Specify the interface to configure:
- Configure the parameters for the LAN interface (Fa0/1).
- Specify the interface to configure:
hostname (config)# interface FastEthernet0/1
- Set the IP address and netmask of the LAN interface:
hostname (config-if)# ip address 172.16.12.1 255.255.0.0
- Set the route map for policy routing with the name
Asym
:
hostname (config-if)# ip policy route-map Asym
- Set the duplex and speed parameters for the interface:
hostname (config-if)# duplex auto
hostname (config-if)# speed auto
- Specify the interface to configure:
- Create an access list named
120
that allows the devices in the specified IP address range to access the network:
hostname (config)# access-list 120 permit ip
172.16.0.0 0.0.255.255 64.65.66.0 0.0.0.255
hostname (config)# access-list 120 permit ip
64.65.66.0 0.0.0.255 172.16.0.0 0.0.255.255 - Configure the route map to enable access to the routes specified in the access list (
120
), and route the traffic to the router:
route-map Asym permit 10
match ip address 120
set ip next-hop 10.10.10.100
Priyanka Bhotika
Comments