change default static route

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change default static route

L3 Networker

Hi.

 
qmso475_0-1712801906455.png

ethernet 1/1 > DHCP

ethernet 1/2 > Static

 

i want to dst. 172.16.1.x next hop ethernet 1/1 ///// dst. 172.16..2.x next top ethernet 1/2 for change.

not use pbf rule.

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

just go ahead and add those 2 routes 

- dst. 172.16.1.0/24 next hop ethernet 1/1

- dst. 172.16.2.0/24 next top ethernet 1/2

in routing the smaller subnet gets priority over the larger subnet, regardless of the metric

 

so 172.16.2.0/24 - eth1/2 metric 50 will still be routed to eth1/2 even if 0.0.0.0/0 - eth1/1 metric 10

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

2 REPLIES 2

Community Team Member

`Hi @qmso475 ,

 

Looks like you have a couple of defaults that are statically created and one of the 61. is active with the lower metric. Are you looking to replace them with two new routes 172.16.1 (primary) and 172.16.2 (backup)? 

LIVEcommunity team member
Stay Secure,
Jay
Don't forget to Like items if a post is helpful to you!

Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Cyber Elite
Cyber Elite

just go ahead and add those 2 routes 

- dst. 172.16.1.0/24 next hop ethernet 1/1

- dst. 172.16.2.0/24 next top ethernet 1/2

in routing the smaller subnet gets priority over the larger subnet, regardless of the metric

 

so 172.16.2.0/24 - eth1/2 metric 50 will still be routed to eth1/2 even if 0.0.0.0/0 - eth1/1 metric 10

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 1 accepted solution
  • 904 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!