10-28-2022 02:49 AM - last edited on 10-28-2022 11:57 AM by Translator
Hello Everyone,
I am having some difficulties with the following.
I have 2 WAN ports to the same ISP where I need to configure these two ports as Primary and Backup with HSRP.
Each interface has its own /30 subnet.
Now I am comfortable with LAN side of things but this has me struggling for couple of hours and its evading me since I know I need at least 4 usable IPs to configure the HSRP, but the 2 WAN ports are the thing that is throwing me off.
#########################
interface GigabitEthernet0/0/1.1
description WAN_Main
bandwidth 50000
encapsulation dot1Q 20 second-dot1q 200
ip address x.x.x.x 255.255.255.252
service-policy output xxx
#############
interface GigabitEthernet0/0/0.1
description WAN_Backup
bandwidth 20000
encapsulation dot1Q 31 second-dot1q 310
ip address x.x.x.x 255.255.255.252
service-policy output xxx
##############################
Any help or tips in the right direction is greatly appreciated.
thank you
Solved! Go to Solution.
10-28-2022 03:19 AM - last edited on 10-28-2022 12:06 PM by Translator
One Inside two Outside
what you need
static route with
one high AD <<- this for backup
other with IP SLA track <<- this for primary
router will check the primary when it down (IP SLA is down) the static route will remove and backup static route will be now the primary for traffic
for NAT you need to use PBR to match the interface
https://blog.router-switch.com/2013/08/steps-to-configure-static-nat-with-route-maps/
10-28-2022 02:55 AM
two port in same router and you want to use HSRP ??
10-28-2022 02:59 AM
That is the only redundancy protocol we use. this was just dropped on me to be fair with little to no explanation I kinda have to figure it out.
10-28-2022 03:19 AM - last edited on 10-28-2022 12:06 PM by Translator
One Inside two Outside
what you need
static route with
one high AD <<- this for backup
other with IP SLA track <<- this for primary
router will check the primary when it down (IP SLA is down) the static route will remove and backup static route will be now the primary for traffic
for NAT you need to use PBR to match the interface
https://blog.router-switch.com/2013/08/steps-to-configure-static-nat-with-route-maps/
10-28-2022 03:34 AM - last edited on 10-28-2022 12:01 PM by Translator
Thank you for taking the time.
For routing I have BGP running and can not switch.
neighbor x.x.x.x activate
neighbor x.x.x.x send-community
neighbor x.x.x.x weight 2000
neighbor x.x.x.x soft-reconfiguration inbound
neighbor y.y.y.y activate
neighbor y.y.y.y send-community
neighbor y.y.y.y weight 1000
X-Primary Y- Backup
10-28-2022 03:39 AM - last edited on 10-28-2022 12:02 PM by Translator
but you use weight so you config primary and backup by change wieght of prefix from both Peer.
can I see
show ip bgp ??
10-28-2022 03:59 AM
Thank you @MHM I just figured it out.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide