beautypg.com

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

Page 282

background image

270

Figure 169 Network diagram

Configuration procedure

1.

Configure the LAC:
In this example, GigabitEthernet 0/1 and GigabitEthernet 0/3 on the LAC are both user access
interfaces. The IP address of GigabitEthernet 0/2 through which the LAC connects to the tunnel is

1.1.2.1. The IP address of GigabitEthernet 0/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 interfaces GigabitEthernet 0/1 and GigabitEthernet 0/3.

[LAC] interface GigabitEthernet 0/3

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

[LAC-GigabitEthernet0/3] quit

[LAC] interface GigabitEthernet 0/1

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

[LAC-GigabitEthernet0/1] quit

# Configure an IP address for interface GigabitEthernet 0/2.

[LAC] interface GigabitEthernet 0/2

[LAC-GigabitEthernet0/2] ip address 1.1.2.1 255.255.255.0

[LAC-GigabitEthernet0/2] quit