1,760
edits
Changes
→Manually configure routes on the gateways to reach VMs in other virtual
== Manually configure custom routes on the gateways to reach VMs in other virtual VLSs ==You only need to create the custom routes on your own VLS, but make sure that other student's VLS has the custom routes to your VLS.=== On VLS 1 ===
On VLS 1's gateway (192.168.1.1 or 172.20.1.1):
Using nmcli:
* nmcli con up ens192
Check to make sure that your kernel routing table has the proper entries.with the following command:
* ip route show
=== On VLS 2 ===
On VLS 2's gateway (192.168.2.1 or 172.20.2.1):
Using nmcli:
* nmcli con modify ens192 +ipv4.routes "192.168.1.0/24 172.20.1.1 100"
* nmcli con modify ens192 +ipv4.routes "192.168.3.0/24 172.20.3.1 100"
* nmcli con down ens192
* nmcli con up ens192
== Manually Configure routes on each VM in each virtual network ==