cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
411
Views
0
Helpful
2
Replies

HSRP for outside

filip00011
Level 1
Level 1

I have 5 static IPs from ISP

I have two border routers. I want to run HSRP for outside.

R1: int gig 0/0   20.20.20.1 255.255.255.248

ip nat outside

ip route 0.0.0.0 0.0.0.0 20.20.20.6

 

R2: int gig 0/0   20.20.20.2 255.255.255.248

ip nat outside

ip route 0.0.0.0 0.0.0.0 20.20.20.6  10

 

R1 and R2: standby 1 ip 20.20.20.3

 

QUESTIONS:

how to set up nat so all outgoing traffic has source of 20.20.20.3

how to set up nat, so I can use rest of the IPs. (20.20.20.4, 20.20.20.5)

I want to host 2 different web servers on these IPs

I have anyconnect on 20.20.20.3

 

2 Replies 2

Francesco Molino
VIP Alumni
VIP Alumni
Hi

With hsrp you can setup resilient nat.
Take a look at this document which explains it very well:
https://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ios-software-releases-12-2-t/prod_white_paper0900aecd8052870b.html

What do you mean by:
how to set up nat, so I can use rest of the IPs. (20.20.20.4, 20.20.20.5)
I want to host 2 different web servers on these IPs

You want to create static nat for these servers (1:1 nat)?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Firstly the IP 20.20.20.3 is an internal Lan IP which should not be the source IP for the outgoing packets.

 

how to set up nat so all outgoing traffic has source of 20.20.20.3

   Not possible if you use PAT so that all the outgoing traffic takes outside interface IP

how to set up nat, so I can use rest of the IPs. (20.20.20.4, 20.20.20.5)

   You can use the rest of the IP's inside the LAN with no issues

I want to host 2 different web servers on these IPs

      You can use these IP's in the LAN either in PC or servers doesnt matter, packets will be routed via the active router.

I have anyconnect on 20.20.20.3

   Not sure about this , as you are using it as virtual IP, how you are expecting to configure same IP in the anycast. 

 

 

Please do not hesitate to click the STAR button if you are satisfied with my answer.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: