Configuring the source IP address of L2TP tunnel packets

As a best practice to ensure high availability, use the IP address of a loopback interface as the source IP address of L2TP tunnel packets on the LAC. If equal cost routing paths exist between the LAC and LNS, you must use the IP address of a loopback interface as the source IP address of L2TP tunnel packets. To do so, use the source-ip command or use the RADIUS server to assign a loopback interface address.

To configure the source IP address of L2TP tunnel packets:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter L2TP group view in LAC mode.

l2tp-group group-number [ mode lac ]

N/A

3. Configure the source IP address of L2TP tunnel packets.

source-ip ip-address

By default, the source IP address of L2TP tunnel packets is the IP address of the egress interface.