- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-27-2023 07:54 PM
trying to set a default route and getting error message
set network virtual-router default routing-table ip static-route default next-hop ip-address 10.1.5.9
any ideas on how to set a default route point to next hop 10.1.5.9?
Thanks
09-27-2023 08:19 PM
Hello @hfakoor2 ,
As the error says, you're missing the destination. A default route has a destination as 0.0.0.0/0 and that would make your command something like this:
set network virtual-router default routing-table ip static-route default destination 0.0.0.0/0 nexthop ip-address 10.1.5.9
I hope this helps.
09-27-2023 08:19 PM
Hello @hfakoor2 ,
As the error says, you're missing the destination. A default route has a destination as 0.0.0.0/0 and that would make your command something like this:
set network virtual-router default routing-table ip static-route default destination 0.0.0.0/0 nexthop ip-address 10.1.5.9
I hope this helps.
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!