Topology map:
Case:
Internal use of the company is a dial-up fiber and a fixed-line fiber, the default is to point to the dial-up fiber export gateway out, now 2 network segment has two servers (WEB, Mail) map to the public network, let the outside to access.
Office area due to work needs, often dial-up for IP address, is as a common user to use the Internet, take the dial-up fiber export. Because the web, mail server needs a fixed IP address, take the mobile fixed-line optical fiber export, in order to ensure the operation of the web, mail system is normal, to ensure business continuity, using ROUTE-MAP to do Policy routing.
Reference:
Route-map Policy Routing settings
Router (config) #route-map engineers [Permit|deny] [ordinal]//define engineers marked as Route-map.
Router (config-route-map) #match IP Address [access list number]//Set matching criteria for access list definitions
Router (config-route-map) #set IP next-hop 0.0.0.0//Match set Next hop address
Router (config-if) #ip Policy ROUTE-MAP Engineers//Apply engineers on the interface.
The programme is as follows:
1. Set Route-map
Router (config) #route-map Test Permit 10//define the Route-map name labeled Test as: Test
Router (config-route-map) #match IP address 110//Set matching criteria for access list definitions
Router (config-route-map) #set IP next-hop 192.168.5.2//Match set Next hop address
Router (config-route-map) #exit
Router (config) #int f0/1.1//Application on interface
Router (config-if) #ip policy Route-map test
Router (config-if) #exit
2. Add some of the addresses in the VLAN with IP policy to the Access-list (access list)
Router (config) #access-list permit IP host 192.168.2.2 any//access-list label permit source Address
Router (config) #access-list permit IP host 192.168.2.3 any//access-list label permit source Address
Router (config) #snmp-server Community public RO//configure this router for a string of public ro/rw (read/write only)