IP Routing

If you are working in

aV-Switch cluster, the IP route must be added on both V- Switches.

Adding an IP route

You can add an IP route to a network port.

ip route add

You need to define four parameters to add an IP route:

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-dip

DESTINATION IP

IP OF HOST

MANDATORY

10.10.20.20

 

 

STATION

 

 

-dmask

DESTINATION

IP MASK OF HOST

MANDATORY

255.255.255.0

 

MASK

STATION

 

 

-gw

GATEWAY IP

IP ADDRESS OF

MANDATORY

30.30.20.20

 

ADDRESS

THE GATEWAY

 

 

 

 

ROUTER

 

 

-if

INTERFACE

NETWORK PORT TO

MANDATORY

eth2

 

ALIAS

OPEN

 

 

 

 

COMMUNICATION

 

 

 

 

THROUGH

 

 

Example:

An IP routing path to Network D, IP 10.10.20.20, (IP mask 255.255.255.0) is mapped from network port Eth2 through router gateway 30.30.20.20.

ip route add –dip 10.10.20.20 –dmask 255.255.255.0 –gw 30.30.20.20 –if eth2

If you are working in

aV-Switch cluster, the IP route must be removed on both V- Switches.

Removing an IP route

You can remove an IP route to a network.

ip route remove

You need to define four parameters to remove an IP routing path

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-dip

DESTINATION IP

DESTINATION

MANDATORY

10.10.20.20

 

 

NETWORK IP

 

 

 

 

ADDRESS

 

 

-dmask

DESTINATION

DESTINATION

MANDATORY

255.255.255.0

 

MASK

NETWORK IP MASK

 

 

 

 

 

 

 

180

SANRAD V-Switch User Manual

Page 187
Image 187
SANRAD V-Switch manual IP Routing, 180