User guide
Chapter 4. Configuring Special Features 77
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 169) and remote addiproute (page 183).
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 154).
system delIPRoutingTable Deletes a range of IP addresses from the range defined for a virtual routing table
or deletes the entire table (page 159).
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 163
).
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 169).
eth ip unbindRoute Removes an Ethernet route from a virtual routing table (page 179).
remote bindIPVirtualRoute Adds a remote route to a virtual routing table (page 186).
remote unbindIPVirtualRoute Removes a remote route from a virtual routing table (page 207).
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.