Saturday, February 6, 2010

1 router + 2ADSL + 1 LAN + NAT + WAN HA + traffic load balancing

### Policy-map to specify outgoing traffic for certain servers###
interface bvi 1
ip policy route-map SERVER_TO_WAN

### Internet connection High Availability ###
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 0.0.0.0 0.0.0.0 Dialer1 10

### This has to be entered otherwise NAT translation table will not be converted to second link ###
ip nat translation timeout 120

ip nat inside source route-map INTERNODE_NAT interface Dialer1 overload
ip nat inside source route-map TELSTRA_NAT interface Dialer0 overload

### Define interesting server traffic to send specific WAN link ###
ip access-list extended SERVER_TO_WAN
permit ip host 10.1.1.5 any
permit ip host 10.1.1.6 any
permit ip host 10.1.1.38 any

route-map INTERNODE_NAT permit 10
match ip address 100
match interface Dialer1
!
route-map SERVER_TO_WAN permit 10
match ip address SERVER_TO_WAN
set interface Dialer1
!
route-map TELSTRA_NAT permit 10
match ip address 100
match interface Dialer0

No comments:

Post a Comment