Shiva Logo

L2FHomeGateway:<nickname> Sections

The [L2FHomeGateway:<nickname>] sections ([L2FHomeGateway:name1], [L2FHomeGateway:name2], and so on) contain parameters for configuring the layer-two forwarding features on a Network Access Server (NAS) for a connection with the home gateway.

The value you enter as the nickname becomes the name of the virtual private network (VPN) home gateway. You select the name of the home gateway when you put the nickname in the user name after the @ character, for example, userabc@bigco.

Parameters

AuthForHGCHAPHostname

AuthForHGCHAPPassword

CheckChecksum

Enabled

IPAddress

NetworkAccessServerName

NetworkAccessServerPassword

NetworkAccessServerTextPassword

Protocol

SendChecksum

SequenceBugWorkaround

ShellAuthType

AuthForHGCHAPHostname

Description

Sets the CHAP host name that the Shiva® device uses to authenticate itself during PPP negotiation

This is also the host name sent in the Challenge Request packet that is sent to the remote router.

During the authentication stage of PPP connection establishment, if the Shiva device is the destination end of the connection (or a CLI dial-back connection has been established) and two-way authentication was negotiated during LCP negotiation, the Shiva device sends an authentication request to the remote router in an attempt to authenticate itself.

Note: You must configure this parameter manually; it is not on a user interface.

Syntax

AuthForHGCHAPHostname=<string specifying the CHAP host name>

Default

Unset

Example

AuthForHGCHAPHostname= Sys1HGCHAPHostname

Related Parameter

For an incoming call or CLI dial-back, the AuthForHGCHAPPassword and AuthForHGCHAPHostname parameters are required to negotiate 2-way authentication during LCP negotiation. You must also enable the following parameters in the [PhoneGroupn] section: L2FEnabled, L2FForcedHomeGateway, PPP2WayAuthEnabled, and PPPL2AuthForHG.

Reboot

Required

AuthForHGCHAPPassword

Description

Sets the CHAP password the Shiva device uses to authenticate itself during PPP negotiation

This is also the password sent in the Challenge Request packet that is sent to the remote router.

During the authentication stage of PPP connection establishment, if the Shiva device is the destination end of the connection (or a CLI dial-back connection has been established) and 2-way authentication was negotiated during LCP negotiation, the Shiva device sends an authentication request to the remote router in an attempt to authenticate itself.

Note: You must configure this parameter manually; it is not on a user interface.

Syntax

AuthForHGCHAPPassword=<password string>

Default

Unset

Example

AuthForHGCHAPPassword= Sys1HGCHAPPassword

Related Parameter

For an incoming call or CLI dial-back, the AuthForHGCHAPPassword and AuthForHGCHAPHostname parameters are required to negotiate 2-way authentication during LCP negotiation. You must also enable the following parameters in the [PhoneGroupn] section: L2FEnabled, L2FForcedHomeGateway, PPP2WayAuthEnabled, and PPPL2AuthForHG.

Reboot

Required

CheckChecksum

Description

Specifies whether the NAS verifies the L2F CRC-CCITT checksum on incoming packets

This parameter enables the NAS to verify the optional L2F checksum (if present) of the PPP data sent from this home gateway over L2F to the NAS. Computing the checksum provides stronger data integrity than the UDP checksum.

There is a system performance loss when you enable this option.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

CheckChecksum=<Boolean 0 or 1>

Default

CheckChecksum=1

Example

To have the NAS verify the L2F CRC-CCITT checksum on incoming packets:

CheckChecksum=1

To not have the NAS verify the L2F CRC-CCITT checksum on incoming packets:

CheckChecksum=0

Reboot

Required

Enabled

Description

Enables or disables the VPN tunnels

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

Enabled=<Boolean 0 or 1>

Default

Enabled=0

Example

To enable the L2F VPN tunnels on this home gateway:

Enabled=1

To disable the L2F VPN tunnels on this home gateway:

Enabled=0

Reboot

Required

IPAddress

Description

Specifies the IP address of the home gateway, if you are running IP/UDP

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

IPAddress=<IP address>

If the protocol parameter is set to IP, the IP address is the address of the home gateway to which you want to connect. You can enter the IP address in dotted- decimal format (99.9.9.99), or you can enter a DNS host name if you have configured DNS resolution.

Default

Unset

Example

IPAddress=10.38.0.250

Reboot

Required

NetworkAccessServerName

Description

Specifies the name the NAS uses to identify itself to this home gateway

The NAS sends this name as the L2F_CONF_NAME option in the L2F_CONF packet when it is authenticating a tunnel.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

NetworkAccessServerName=<1- to 255-character NAS name>

Default

Unset

Example

NetworkAccessServerName=Prince

Related Parameter

The NetworkAccessServerTextPassword (shared secret) parameter that you associate with this name must be the same one you associate with this home gateway. You enter the password associated with this parameter in the /l2f permission flag in the [Users] section.

Reboot

Required

NetworkAccessServerPassword

Description

Specifies the encrypted version of the secret the NAS uses to authenticate itself to this home gateway (NetworkAccessServerTextPassword)

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

NetworkAccessServerPassword= <encrypted NAS password of any length>

Default

Unset

Example

NetworkAccessServerPassword= xBhQio89Ha567

Reboot

Required

NetworkAccessServerTextPassword

Description

Specifies the clear-text CHAP secret that the NAS uses to authenticate itself to this home gateway

The NAS uses this password to generate the L2F_OPEN_RESP field in the L2F_OPEN packet for the tunnel when the NAS authenticates itself to this home gateway. The home gateway validates this password and must associate the same shared secret with the name of this NAS.

The NetworkAccessServerTextPassword is encrypted immediately when you save the configuration file to protect anyone from reading it.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

NetworkAccessServerTextPassword= <NAS text password of any length>

Default

Unset

Reboot

Required

Protocol

Description

Specifies the protocol running between the NAS and the home gateway

This parameter indicates that the L2F protocol will run between the NAS and this home gateway.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

Protocol=IP

Note: L2F runs on UDP port 1701 over IP.

Default

Protocol=IP

Reboot

Required

SendChecksum

Description

Specifies whether the NAS computes the L2F CRC-CCITT checksum of the PPP data sent over L2F to this home gateway

Computing this checksum provides stronger data integrity than the UDP checksum. Using this checksum, however, negatively affects system performance.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

SendChecksum=<Boolean 0 or 1>

Default

SendChecksum=1

Example

To specify having the NAS compute the L2F CRC-CCITT checksum of the PPP data sent over L2F to this home gateway:

SendChecksum=1

To specify having the NAS not compute the L2F CRC-CCITT checksum of the PPP data sent over L2F to this home gateway:

SendChecksum=0

Reboot

Required

SequenceBugWorkaround

Description

Enables or disables the workaround to make L2F protocol compatible with protocol violations in Cisco* IOS 11.2(1) home gateway implementation

The problems that cause the protocol violations were fixed in all subsequent versions of IOS 11.2(1.1), 11.1(2), and so on. This parameter may be removed in the next release of the NAS.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

SequenceBugWorkaround=<Boolean 0 or 1>

Default

SequenceBugWorkaround=0

Example

To enable the workaround that makes L2F protocol compatible with protocol violations in Cisco IOS 11.2(1) home gateway implementation:

SequenceBugWorkaround=1

To disable the workaround that makes L2F protocol compatible with protocol violations in Cisco IOS 11.2(1) home gateway implementation:

SequenceBugWorkaround=0

Reboot

Required

ShellAuthType

Description

Specifies which PPP authentication protocol L2F claims to be using for the home gateway when the client uses the L2F login shell command to initiate a PPP over an L2F session

If you use the shell command L2F login to authenticate and start an L2F session, the L2F protocol must specify that the client is using PAP or CHAP authentication.

The actual authentication type is "textual" but there is no value defined in L2F for textual PPP. The value that you set for this parameter must be compatible with the authentication type set for the NAS on the home gateway.

Note: You must configure this parameter on the NAS manually; it is not on a user interface.

Syntax

ShellAuthType=<CHAP or PAP>

Note: Select CHAP, if possible, because it provides more security on the network.

Default

ShellAuthType=CHAP

Reboot

Required

Related Information

Parameter Sections Overview

[ Top of Page . . . ]