128 Configuring and managing IP interfaces and servicesNN47250-500 (320657-F Version 02.01)This example shows dynamic routes added by WSS Software for two VLAN interfaces, 10.0.1.1/24 on VLAN 1 and10.0.2.1/24 on VLAN 2.This example also shows two static routes, which have a next-hop type (NH-Type) value of Router. Static routes have adefault router, listed in the Gateway field. The 0.0.0.0 destination represents a default route. Here, default router10.0.1.17 is reachable through the subnet on VLAN 1. Route 10.0.1.1/24 resolves the static route that uses the defaultrouter. Default router 10.0.2.17 is reachable through the subnet on VLAN 2 and route 10.0.2.1/24 resolves the staticroute to that gateway.WSS Software adds routes with next-hop types Direct and Local when you add an IP interface to a VLAN, when theVLAN is up. Direct routes are for the locally attached subnets that the switch’s IP addresses are in. Local routes are fordestination interfaces configured on the WSS itself.WSS Software automatically adds the 224.0.0.0 route to support the IGMP snooping feature.If a VLAN is administratively disabled or all of the links in the VLAN go down or are disabled, WSS Software removesthe VLAN’s routes from the route table. If the direct route required by a static route goes down, WSS Software changesthe static route state to Down. If the route table contains other static routes to the same destination, WSS Software selectsthe resolved route that has the lowest cost. In the following example, the default route to 10.0.1.17 is down, so WSSSoftware selects the default route to 10.0.2.17.WSS# show ip routeRouter table for IPv4(For more information about the fields in the output, see the Nortel WLAN Security Switch 2300 Series Command LineReference.)Adding a static routeTo add a static route, use the following command:set ip route {default | ip-addr mask | ip-addr/mask-length} default-router metric10.0.2.1/32 IP 0 Local vlan:2:ip:10.0.1.1/2410.0.2.255/32 IP 0 Local vlan:2:ip:10.0.1.1/24224.0.0.0/ 4 IP 0 Local MULTICASTDestination/Mask Proto Metric NH-TypeGateway VLAN:Interface0.0.0.0/ 0 Static 1 Router 10.0.1.17 Down0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip10.0.2.1/24 IP 0 Direct vlan:2:ip10.0.2.1/32 IP 0 Direct vlan:2:ip:10.0.1.1/2410.0.2.255/32 IP 0 Direct vlan:2:ipp:10.0.1.1/24224.0.0.0/ 4 IP 0 Local MULTICAST