cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
452
Views
0
Helpful
3
Replies

NAT static ip address failover.

huytuan
Level 1
Level 1

Hi, is it possible to setup a NAT static Ip address failover. At the moment I have an External ip address of 203.145.145.145 which is NAT to the internal network address 192.168.100.20 computer. If I shutdown the computer so that 192.168.100.20 no longer available, is possible to setup a failover for the router to redirect to another internal ip address 192.168.100.30. If yes, how, what's the command???? Thanks....

3 Replies 3

jhalldn
Level 1
Level 1

Hi!

You can use NAT so the box load shares between som internal adresses with round-robin.

Something like this:

!

ip nat pool shared-hosts prefix-length 24 type rotary

!

ip nat inside destination list 1 pool shared-hosts

!

interface x

ip nat inside

!

interface y

ip nat outside

!

access-list 1 permit

! Hope this helps you, if not then you could read about SLB feature in IOS at:

http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps1833/products_feature_guide09186a0080086f50.html#2711438

Thanks, I tried this and it doesn't seem to work.

ip nat pool notes

ip nat pool notes 203.145.145.145 203.145.145.145 netmask 255.255.255.242

ip nat inside source list 20 pool notes

access-list 20 permit 192.168.100.8 0.0.0.1

access-list 20 permit 192.168.100.13 0.0.0.1

Why doesn't this work? How can it be fixed??

Swap the addresses from nat pool and the access-list.

ip nat pool notes 192.168.100.8 192.168.100.13 netmask 255.255.255.xxx

ip nat inside source list 20 pool notes

access-list 20 permit 203.145.145.145

Hopefullt this will work. I have not set this up, so its a theory things for the moment.