Configuring Static Routes


vRouters forward packets using either routing information from route tables manually configured or routing information calculated using dynamic routing algorithms.


Static routes define explicit paths between two vRouters and are not automatically updated. When network changes occur, you have to reconfigure static routes. Static routes use less bandwidth than dynamic routes.




Figure 5 - Configuring a Static Route


In this example, you configure a static route on vRouter1 for the network, 172.16.10.10/24 with a gateway IP address, 172.16.20.1:


CLI (network-admin@switch) > vrouter-static-route-add vrouter-name vrouter1 network 172.16.10.10/24 gateway-ip 172.16.20.1