beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 58

background image

25

Figure 12 Network diagram for L2TP multi-domain application

WAN

Corporate

network 1

L2TP tunnel

Eth1/2
1.1.2.1/24

GE1/1

1.1.2.2/24

LNS

LAC

Host A

Corporate

network 2

Host B

Eth1/3
1.1.1.1/24

Eth1/1

1.1.1.2/24

Configuration procedure

Step1

Configure the LAC

In this example, Ethernet 1/1 and Ethernet 1/3 on the LAC are both user access interfaces. The IP

address of Ethernet 1/2 through which the LAC connects to the tunnel is 1.1.2.1. The IP address of

GigabitEthernet 1/1 through which the LNS connects to the tunnel is 1.1.2.2.
# Create two local users, set the passwords, and enable the PPP service.

system-view

[LAC] local-user vpdn1

[LAC-luser-vpdn1] password simple 11111

[LAC-luser-vpdn1] service-type ppp

[LAC-luser-vpdn1] quit

[LAC] local-user vpdn2

[LAC-luser-vpdn2] password simple 22222

[LAC-luser-vpdn2] service-type ppp

[LAC-luser-vpdn2] quit

# Configure local authentication for the users.

[LAC] domain aaa.net

[LAC-isp-aaa.net] authentication ppp local

[LAC-isp-aaa.net] quit

[LAC] domain bbb.net

[LAC-isp-bbb.net] authentication ppp local

[LAC-isp-bbb.net] quit

# Configure PPPoE servers on interface Ethernet 1/1 and Ethernet 1/3.

[LAC] interface ethernet 1/3

[LAC-Ethernet1/3] pppoe-server bind virtual-template 100

[LAC-Ethernet1/3] quit

[LAC] interface ethernet 1/1

[LAC-Ethernet1/1] pppoe-server bind virtual-template 101

[LAC-Ethernet1/1] quit

# Configure an IP address for interface Ethernet 1/2.

[LAC] interface ethernet 1/2

[LAC-Ethernet1/2] ip address 1.1.2.1 255.255.255.0

[LAC-Ethernet1/2] quit