Zhone 5100 参照マニュアル

ページ / 186
CHAPTER 4
IP services
122    
Vpacket 5100/6100 Series Reference Manual
enabled on Router ABC. You can also use static routes to route IP traffic to a specific host on a 
remote network.
Static routes from the 5100/6100 VDR to a remote server
You can use static routes to route packets from the 5100/6100 VDR to a remote server through a 
specific path. In Figure 4-4, a static route can be added to force packets to use Router LA instead 
of Router LV when sending to the remote server (54.166.45.10). This use of static routing is 
important incase your network has a preferred router (LA) and an alternate router (LV). You can 
choose to pass all traffic through the Router LA instead of using the Router LV. If you do not 
implement static routes when multiple routes exist from the 5100/6100 VDR to the remote 
server, the 5100/6100 VDR will select the shortest path to the destination, which might or might 
not pass through the intended Router LA. 
Adding a static route
You can add a static route by issuing the route add command. The routes you set up can be to a 
network or to a host on a specific network. You must commit and save this configuration for it to 
become active.
This example uses Figure 4-4 on page 121 to set three routes:
WAN static route to a network
WAN static route to Router LA (host) on the network
LAN static route to Network B behind Router ABC
Syntax: route add <IP address> <netmask> [gateway] [number of hops]
Arguments:
IP address
a valid IP address appropriate to your network configuration
netmask
a valid subnet mask appropriate to your network configuration
gateway
the IP address of the interface you want the route IP address to map to; 
if you do not include the gateway IP address, the 5100/6100 determines 
the shortest path to the specified server/PC host 
number of hops
a numerical value for the number of hops desired; default = 1; not 
including the number of hops defaults the hops to 1
Example 1:
VPacket# route add 54.166.45.0 255.255.255.0
VPacket# commit
VPacket# save
This action will overwrite the configuration in the Flash memory.
Do you want to continue (y|n) [n]? y
Save successful
VPacket#
downloadlike
ArtboardArtboardArtboard
Report Bug