Configuring and managing IP interfaces and services 127Nortel WLAN—Security Switch 2300 Series Configuration Guide• Default route—Forwarding path for traffic to a destination without an explicit route in the route tableA destination can be a subnet or network. If two static routes specify a destination, the more specific route is alwayschosen (longest prefix match). For example, if you have a static route with a destination of 10.10.1.0/24, and anotherstatic route with a destination of 10.10.0.0/16, the first static route is chosen to reach 10.10.1.15, because it has thelonger prefix match.If the IP route table contains an explicit route for a given destination, WSS Software uses the route. Otherwise, WSSSoftware uses a default route. For example, if the route table does not have a route to host 192.168.1.10, the WSS usesthe default route to forward a packet addressed to that host. Nortel recommends that you configure at least one defaultroute.You can configure a maximum of four routes per destination. This includes default routes, which have destination0.0.0.0/0. Each route to a given destination must have a unique gateway address. When the route table contains multipledefault routes or multiple explicit routes to the same destination, WSS Software uses the route with the lowest metric(cost for using the route). If two or more routes to the same destination have the lowest cost, WSS Software selects thefirst route in the route table.WSS Software can use a route only if the route is resolved by a direct route on one of the WSS switch’s VLANs.Displaying IP routesTo display IP routes, use the following command:show ip route [destination]The destination parameter specifies a destination IP address.To display the IP route table, type the following command:WSS# show ip routeRouter table for IPv4Note. Before you add a static route, use the show interface command to verify that theswitch has an IP interface in the same subnet as the route’s default router (gateway). WSSSoftware requires the routes for the interface to resolve the static route. If the switch doesnot have an interface in the default router’s subnet, the static route cannot be resolved andthe VLAN:Interface field of the show ip route command output shows that the static routeis down.Destination/Mask Proto Metric NH-TypeGateway VLAN:Interface0.0.0.0/ 0 Static 1 Router 10.0.1.17 vlan:1:ip0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip10.0.1.1/24 IP 0 Direct vlan:1:ip10.0.1.1/32 IP 0 Local vlan:1:ip:10.0.1.1/2410.0.1.255/32 IP 0 Local vlan:1:ip:10.0.1.1/2410.0.2.1/24 IP 0 Direct vlan:2:ip