DAS3series_PPPoE relay setting

Document Sample
DAS3series_PPPoE relay setting Powered By Docstoc
					Managing the Connection Service
                 This chapter describes how to manage the system connection services.

                 This chapter contains the following sections:

                      Configuring DHCP relay
                      Configuring PPPoE Relay



Configuring DHCP relay
                 Modern high-speed public Internet access technologies call for an ISP/NSP Switch/Router to have
                 a local area network (LAN) attachment to one or more customer premise hosts. It is advantageous
                 to use the Dynamic Host Configuration Protocol (DHCP) as defined in IETF RFC-2131 to assign
                 customer premise host IP addresses in this environment. However, a number of security and
                 scaling problems arise with such normal DHCP use.

                 To solve the aforementioned problems, IETF RFC-3046 defines the Relay Agent Information
                 option (Option82). The DHCP relay agent inserts this optional tag when forwarding
                 client-originated DHCP packets to a DHCP Server. Server can use this information to assign IP
                 addresses, perform access control, set quality of service (QoS) and security policies (or other
                 parameter-assignment policies) for each subscriber of a service-provider network. The DHCP
                 Server echoes the option back verbatim to the relay agent in server-to-client replies, and the relay
                 agent strips the option before forwarding the reply to the client.

                 Two sub-options of option 82 are defined in RFC 3046:
                 • Agent Circuit ID (intended for circuits terminated by the system hosting the Relay agent)
                 • Agent Remote ID (intended to identify the remote host end of a circuit)

                 The following configuration is needed for getting packets for Control plane:

                 Create a filter for DHCP relay

                 $create filter rule entry ruleid 101 action sendtocontrol description dhcp statsstatus enable
                 $create filter subrule udp ruleid 101 subruleid 1 dstportfrom 67 dstportcmp eq
                 $modify filter rule entry ruleid 101 status enable
                 $create filter rule map ifname alleoa stageid 1 ruleid 101

Table 0-1        DHCP Relay Configuration

 Use this command to set DHCP relay on device.
 $modify dhcpr option [RelayEnable disable|enable] [Option82 disable|enable] [dhcpServer <ip-address>]
 [dhcpAgent <ip-address>] [circuitId <name>]
 Use this command to set remote-id of ports.
 $modify dhcpr remoteid portid <portid> [remoteid <name>]
 Use this command to show DHCP relay on device.
 $get dhcpr option
 Use this command to show remote-id of ports.
 $get dhcpr remoteid [portid <portid>]
 Parameters                          Task
 [RelayEnable disable|enable]        Enable/disable DHCP relay on device
                                     Valid values: { enable | disable }
                                     Default value: disable
 [Option82 disable|enable]          This specifies to enable or disable the option82 function.
                                    Valid values: { enable | disable }
                                    Default value: disable
 [dhcpServer <ip-address>]          This specifies the DHCP Server IP address.
                                    Type: Optional
                                    Valid values: Any valid class A/B/C address
 [dhcpAgent <ip-address>]           This specifies the relay agent IP address. (Used the IP address of uplink)

 [circuitId <name>]                 This field will be included in Option 82 message to identify relay agent.
                                    Valid values: String of up to 47 characters (All characters except ‘;’, ‘?’, and empty space)
 [remoteid <name>]                  This specifies the remote-id which will be embedded into option 82.
                                    Valid values: String of up to 62 characters (All characters except ‘;’, ‘?’, and empty space)




Configuring PPPoE Relay
                The PPPoE Relay feature enables an L2TP access concentrator (LAC) to relay active discovery
                and service selection functionality for PPP over Ethernet (PPPoE), over a Layer 2 Tunneling
                Protocol (L2TP) control channel, to an L2TP network server (LNS) or tunnel switch (multihop
                node). The relay functionality of this feature allows the LNS or tunnel switch to advertise the
                services it offers to the client, thereby providing end-to-end control of services between the LNS
                and a PPPoE client.
                The PPPoE Relay feature enables an L2TP access concentrator (LAC) to relay active discovery
                and service selection functionality for PPP over Ethernet (PPPoE), over a Layer 2 Tunneling
                Protocol (L2TP) control channel, to an L2TP network server (LNS) or tunnel switch (multihop
                node). The relay functionality of this feature allows the LNS or tunnel switch to advertise the
                services it offers to the client, thereby providing end-to-end control of services between the LNS
                and a PPPoE client.

                The following configuration is needed for getting packets for Control plane:

                Create a filter for PPPoE relay

                $create filter rule entry ruleid 102 action sendtocontrol description pppoed statsstatus
                enable
                $create filter subrule ether ruleid 102 subruleid 1 ethertypefrom 0x8863 ethertypecmp eq
                $modify filter rule entry ruleid 102 status enable
                $create filter rule map ifname all stageid 1 ruleid 102

Table 0-2       PPPoE Relay Configuration

 Use this command to enable PPPoE relay on device.
 $modify pppoer option RelayEnable { disable | enable }
 Use this command to show PPPoE relay status.
 $get pppoer option
 Parameters                         Task
 [RelayEnable disable|enable]       Enable/disable PPPoE relay on device
                                    Valid values: { enable | disable }
                                    Default value: disable

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:3
posted:2/15/2012
language:
pages:2