I was trying to figure this out using:
But I did not seem to understand or figure out how to get this done in /etc/rc.conf
So I want to have a static route pointing to one gateway in day to day situations but I want another static route to take over in case the primary route path is unavailable.
Usually I have done this with higher or lower metric added to static routes in cisco but I was hoping there was something similar in FreeBSD.
I understand up to the point on how to create a static route on rc.conf but adding metrics I could not find an example of it.
Does anyone know if this is capable? If so, may you kindly point to a resource that I can read that shows how it is done.
Thank you all for your time.
Best,
T
Chapter 34. Advanced Networking
Advanced networking in FreeBSD: basics of gateways and routes, CARP, how to configure multiple VLANs on FreeBSD, etc
docs.freebsd.org
ifconfig(8)
www.freebsd.org
routed(8)
www.freebsd.org
But I did not seem to understand or figure out how to get this done in /etc/rc.conf
So I want to have a static route pointing to one gateway in day to day situations but I want another static route to take over in case the primary route path is unavailable.
Usually I have done this with higher or lower metric added to static routes in cisco but I was hoping there was something similar in FreeBSD.
I understand up to the point on how to create a static route on rc.conf but adding metrics I could not find an example of it.
Does anyone know if this is capable? If so, may you kindly point to a resource that I can read that shows how it is done.
Thank you all for your time.
Best,
T