This example shows how you can use static subscriber interfaces to direct traffic toward special local content on the network, based on the traffic’s destination address.
This example uses the following software and hardware components:
The example in Figure 1 shows how you can use static subscriber interfaces to direct traffic toward special local content on the network, based on the traffic’s destination address. In this application, a local VoIP service is on network 10.11.0.0./16, and a local gaming service is on network 10.12.0.0/16.
Figure 1: Subscriber Interfaces Using a Destination Address to Demultiplex Traffic

To configure the static subscriber interfaces shown in Figure 1, perform the following steps:
Use the no version to restore the default situation in which the router uses a source address to demultiplex traffic.
Use the specified name to refer to the shared IP interface; you cannot use the layer 2 interface to refer to the shared IP interface, because the shared interface can be moved.
Use the no version to delete the IP interface.
If you issue this command on a shared IP interface, you cannot issue the ip share-nexthop command for the interface.
After creating the shared IP interface, you can configure it as you do any other IP interface. The shared interface is operationally up when the layer 2 interface is operationally up and IP is properly configured. You can create operational shared IP interfaces in the absence of a primary IP interface.
Use the no version to remove the association between the layer 2 interface and the shared IP interface. You can delete shared and primary IP interfaces independently.
You can use this command to specify that the shared IP interface dynamically tracks a next hop. If the next hop changes, the shared IP interface moves to the new layer 2 interface associated with the IP interface toward the new next hop.
If you issue this command on a shared IP interface, you cannot issue the ip share-interface command for the interface. If you issue this command on a shared IP interface, the shared interface cannot dynamically track the next hop for the specified destination if the next-hop IP address is resolvable over MPLS. If you specify a virtual router, the command fails if the VR does not already exist. If you do not specify a VR, the current VR is assumed.
After creating the shared IP interface, you can configure it as you do any other IP interface. The shared interface is operationally up when the layer 2 interface associated with the specified next hop is operationally up and IP is properly configured.
Use the no version to halt tracking of the next hop.
On the ERX1440 Broadband Services Router or the E320 router, you can configure up to 1024 subnets for static subscriber interfaces per primary IP interface when each subnet has a variable network mask that is less than /32. The number of subnets identifying a single route (/32) is still limited by the global maximum of 16,000 hosts per line module.
Use the no version to remove the association between the interface and the specified IP destination address and mask.