4-24 SANRAD V-Switch CLI User Manual
Cloud
10227
V Switch 1 V Switch 2
Clou
d
Clou
d
Network D
Network E
R
R
R
10.10.20.0
20.20.10.20
30.30.20.20
12.11.20.20
10.11.30.0
20.22.11.11
10.12.40.0
Etherne
t
LAN A
Etherne
t
LAN C
Etherne
t
LAN B
Network F
D
B
D
A
Figure 4-6. IP Routing Options
Adding an IP Route
You can enable communications to networks outside of your LAN by
configuring an IP routing path. This allows volume access to hosts located on
external networks. Use the CLI command ip route add to add an IP routing
path to your V-Switch. If you are working in a V-Switch cluster, you must
configure the IP route on both V-Switches in the V-Switch cluster. For more
information on V-Switch clusters, see “Introduction to V-Switch Clusters”.
ip route add
You need four parameters to configure an IP routing path.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-dip
DESTINATION IP IP OF HOST
NETWORK
MANDATORY
10.10.20.0
-dmask
DESTINATION
MASK
IP
MASK OF HOST
NETWORK
MANDATORY
255.255.255.0
-gw
GATEWAY IP
ADDRESS
IP
ADDRESS OF THE
GATEWAY ROUTER
MANDATORY
30.30.20.20