Specifications

78 Chapter 4. Configuring Special Features
Virtual Routing Tables
The virtual routing feature allows you to define multiple routing tables. This is also known as IP virtual router
support.
To define a new routing table, you must specify a name for the routing table and a range of IP source addresses
that use that table. The router determines which routing table to use based on the source address in the packet. For
example, if the router receives a packet whose source address is 192.168.254.10, it checks if that address is within
the address range defined for a virtual routing table. If it is, the virtual routing table is used to route the packet. If
it is not, the default routing table is used instead.
The address ranges assigned to the virtual routing tables may not overlap. All source IP addresses not assigned to
a virtual routing table are routed using the default routing table. You can add routes to the default routing table
using eth ip addroute (page 231) and remote addiproute (page 258).
The following commands define the names and address ranges of the virtual routing tables:
system addIPRoutingTable Adds a range of IP addresses to a virtual routing table. The virtual routing table
is defined if it does not already exist (page 209).
system delIPRoutingTable Deletes a range of IP addresses from the range defined for a virtual routing table
or deletes the entire table (page 219).
system moveIPRoutingTable Moves a range of IP addresses from their current assignment to the specified
virtual routing table. The virtual routing table is defined if it does not already
exist (page 223
).
To add and remove routes from a virtual routing table, use these commands:
eth ip bindRoute Adds an Ethernet route to a virtual routing table (page 233).
eth ip unbindRoute Removes an Ethernet route from a virtual routing table (page 246).
remote bindIPVirtualRoute Adds a remote route to a virtual routing table (page 260).
remote unbindIPVirtualRoute Removes a remote route from a virtual routing table (page 289).
Note: Unlike changes to the default routing table, changes to IP virtual routing tables take effect immediately.
However, the changes are lost if they are not saved before the next reboot.