1,760
edits
Changes
→Shell Script for adding custom routes on your gateway to other's VLSs
* set the shell variable OTHER_VLS_NOS to the list of VLS you want to have a route to their VLS network. The following example assign the list of network numbers 32, 33, 34, 35, 41, 42, and 43 that you want to create a custom route on your gateway:
<pre>
export OTHER_NETWORKSOTHER_VLS_NOS="32 33 34 35 41 42 43"</pre>* If you want to add a route for each VLS network in the virtual lab, you need:<pre>export OTHER_VLS_NOS="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2324 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43"
</pre>
The following Bash script to add 7 new custom routes to your gateway VM's routing table: