Example: Configuring Shared IP Interfaces

This example shows you how to create and configure shared IP interfaces.


This example uses the following software and hardware components:


You can create multiple shared IP interfaces over the same layer 2 logical interface—for example, atm 5/3.101—enabling more than one IP interface to share the same logical resources.

Configuring Shared IP Interfaces

To configure shared IP interfaces:

  1. Create a layer 2 interface.
    host1(config)#interface atm 5/3 host1(config-if)#interface atm 5/3.101
  2. (Optional) Create a primary IP interface.
    host1(config-if)#ip address host1(config-if)#exit
  3. Create the shared IP interface.
    host1(config)#interface ip si0
  4. Associate the shared IP interface with the layer 2 interface by one of the following methods:
    • Statically
      host1(config-if)#ip share-interface atm 5/3.101
    • Dynamically
      host1:vr-a:vrf-1(config-if)#ip share-nexthop
  5. To fully configure the shared interface, assign an address (or make the interface unnumbered).
    host1(config-if)#ip address

Related Documentation