How to configure default routes for non-VoIP traffic
An example of how to configure default routes to handle non-VoIP traffic.
- Configure a default route for the Provider A network
vyatta@vyatta# set protocols static route 0.0.0.0/0 next-hop-routing-instance provider-a next-hop 10.10.2.2
- Configure a default route for the Provider B network.
vyatta@vyatta# set protocols static route 0.0.0.0/0 next-hop-routing-instance provider-b next-hop 10.10.3.2
- Configure a default route for the Provider C network.
vyatta@vyatta# set protocols static route 0.0.0.0/0 next-hop-routing-instance provider-c next-hop 10.10.4.2
- Commit the configuration.
vyatta@vyatta# commit
[edit]
- Optional: View the configuration.
vyatta@vyatta# show protocols static route 0.0.0.0/0 next-hop-routing-instance
next-hop-routing-instance provider-a { next-hop 10.10.2.2 } next-hop-routing-instance provider-b { next-hop 10.10.3.2 } next-hop-routing-instance provider-c { next-hop 10.10.4.2 } [edit]