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

Configuring Dynamic Subscriber Interfaces over VLANs

To configure a dynamic subscriber interface in an IP over VLAN over Ethernet configuration by using DHCP events, perform the following steps:

  1. Configure the DHCP server.

    For instructions, see Configuring the DHCP Local Server .

  2. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
    host1(config)#interface gigabitEthernet 1/0
  3. Specify VLAN as the encapsulation method on the interface. This command creates the VLAN major interface.
    host1(config-if)#encapsulation vlan
  4. Create a VLAN subinterface by adding a subinterface number to the interface identification command.
    host1(config-if)#interface gigabitEthernet 1/0.1
  5. Assign a unique VLAN ID to the VLAN subinterface.
    host1(config-if)#vlan id 101
  6. Create the primary IP interface by assigning an IP address and mask to the VLAN subinterface (or make it unnumbered).
    host1(config-if)#ip address 192.168.2.10 255.255.255.0
  7. Configure the primary IP interface to enable dynamic creation of subscriber interfaces.
    host1(config-if)#ip auto-configure ip-subscriber
  8. (Optional) Specify the source address of traffic that is destined for the primary IP interface.
    host1(config-if)#ip source-prefix 192.168.2.10 255.255.255.0

Figure 23 shows the interface stack built for this configuration.

Figure 23: IP over VLAN over Ethernet Dynamic Subscriber Interface Configuration

Image g013454.gif


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