[Contents] [Prev] [Next] [Index] [Report an Error]

Dynamic Subscriber Interface Configuration Example

The procedure in this section shows how to configure dynamic subscriber interfaces by using the same loopback interface referenced by multiple unnumbered IP interfaces. Instead of assigning a different IP address to each physical interface, this example assigns an IP address to a loopback interface (loopback 0). Each physical interface is then configured as an unnumbered IP interface, referencing the same loopback interface. This example uses a DHCP local server.

This approach has the following benefits:

To configure dynamic subscriber interfaces, perform the following steps:

  1. Enable the DHCP local server for standalone mode.
    host1(config)#service dhcp-local standalone
  2. Access DHCP Local Pool Configuration mode for the local address pool.
    host1(config)#ip dhcp-local pool ispWestford
  3. Specify the enduring IP addresses that the DHCP local server can assign from the local address pool.
    host1(config-dhcp-local)#network 10.20.0.0 255.255.192.0
  4. Specify the router to forward traffic from the IP addresses to destinations on other subnets.
    host1(config-dhcp-local)#default-router 10.20.32.1
  5. Exit DHCP Local Pool Configuration mode.
    host1(config-dhcp-local)#exit
  6. Configure a loopback interface.
    host1(config)#interface loopback 0
  7. Assign an IP address and mask to the loopback interface.
    host1(config-if)#ip address 10.20.32.1 255.255.255.0
  8. Exit Interface Configuration mode.
    host1(config-if)#exit
  9. Specify a Fast Ethernet port.
    host1(config)#interface fastEthernet 3/0
  10. Create an unnumbered primary IP interface associated with the loopback interface configured in Steps 6 and 7.
    host1(config-if)#ip unnumbered loopback 0
  11. Configure the primary IP interface to enable dynamic creation of subscriber interfaces.
    host1(config-if)#ip auto-configure ip-subscriber
  12. Exit Interface Configuration mode.
    host1(config-if)#exit
  13. Repeat Steps 9 through 12 for each Fast Ethernet interface on which you want to configure dynamic subscriber interfaces. For example:
    host1(config)#interface fastEthernet 3/1
    host1(config-if)#ip unnumbered loopback 0
    host1(config-if)#ip auto-configure ip-subscriber
    host1(config-if)#exit
    host1(config)#interface fastEthernet 3/2
    host1(config-if)#ip unnumbered loopback 0
    host1(config-if)#ip auto-configure ip-subscriber
    host1(config-if)#exit

atm pvc

default-router

encapsulation bridge1483

encapsulation vlan

interface atm

interface fastEthernet

interface gigabitEthernet

interface tenGigabitEthernet

interface loopback

ip address

ip auto-configure ip-subscriber

ip auto-detect ip-subscriber

ip dhcp-local pool

ip inactivity-timer

ip source-prefix

ip unnumbered

ip use-framed-routes ip-subscriber

network

service dhcp-local

set dhcp relay giaddr-selects-interface

vlan id

 


[Contents] [Prev] [Next] [Index] [Report an Error]