cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
795
Views
0
Helpful
1
Replies

NAT load balancing

waqas hameed
Level 1
Level 1

load balancing.JPG

I have configured NAT load balancing, and it is not working. Below is  my configuration

RTR#sh run
Building configuration...

Current configuration : 1722 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RTR
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
ip sla monitor 1
type echo protocol ipIcmpEcho 192.168.1.1 source-ipaddr 192.168.1.111
timeout 1000
threshold 10
frequency 1
ip sla monitor schedule 1 life forever start-time now
ip sla monitor 2
type echo protocol ipIcmpEcho 10.2.2.2 source-ipaddr 192.168.1.111
timeout 1000
threshold 10
frequency 1
ip sla monitor schedule 2 life forever start-time now
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
description INSIDE NETWORK
ip address 172.16.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0
description CONNECTED TO PTCL
ip address 192.168.1.111 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1/0
description CONNECTED TO LDN
ip address 10.2.2.111 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip http server
no ip http secure-server
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.1 track 1
!
ip nat inside source route-map LDN_EXIT interface FastEthernet1/0 overload
ip nat inside source route-map PTCL_EXIT interface FastEthernet0/0 overload
!
access-list 110 permit ip 172.16.1.0 0.0.0.255 any
!
route-map LDN_EXIT permit 10
match ip address 110
match interface FastEthernet1/0
!
route-map PTCL_EXIT permit 10
match ip address 110
match interface FastEthernet0/0
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

1 Reply 1

Florin Barhala
Level 6
Level 6

You have to add the secound default route for the 2nd ISP.

Also correct:

ip sla monitor 2
type echo protocol ipIcmpEcho 10.2.2.2 source-ipaddr 192.168.1.111

with

ip sla monitor 2
type echo protocol ipIcmpEcho 10.2.2.2 source-ipaddr 10.2.2.111