Ip routing, Adding an ip route – SANRAD I3.1.1205 User Manual
Page 199
Chapter 10: Routine V-Switch Maintenance
10-13
Example:
The second IP address, 212.199.43.70, on the network interface eth3 is removed.
ip config remove–ip 212.199.12.70
10231
212.199.12.67
212.199.12.70
212.199.75.66
212.199.43.46
212.199.43.56
212.199.43.57
Figure 10-2. Removing an IP Address
IP Routing
Adding an IP route
If you are working in
a V-Switch cluster,
the IP route must be
added on both V-
Switches.
You can add an IP route to a network port.
ip route add
You need to define four parameters to add an IP route:
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-dip
DESTINATION
IP IP
OF HOST
STATION
MANDATORY
10.10.20.20
-dmask
DESTINATION
MASK
IP
MASK OF HOST
STATION
MANDATORY
255.255.255.0
-gw
GATEWAY
IP
ADDRESS
IP
ADDRESS OF THE
GATEWAY ROUTER
MANDATORY
30.30.20.20
-if
INTERFACE
ALIAS
NETWORK PORT TO
OPEN
COMMUNICATION
THROUGH
MANDATORY
eth2