beautypg.com

Pppoe configuration example, Pppoe client configuration example, Network requirements – H3C Technologies H3C WA2600 Series WLAN Access Points User Manual

Page 24: Configuration procedure

background image

5-4

PPPoE Configuration Example

PPPoE Client Configuration Example

Network requirements

As shown in

Figure 5-2

, Ethernet 1/0/1 on Router A and VLAN-interface 1 on AP are connected to each

other. It is required that Router A authenticates AP using PAP or CHAP.

Figure 5-2 Network diagram for PPPoE client configuration

Configuration procedure

z

Configuring PAP authentication:

1) Configure

Router

A as the PPPoE server

# Add a PPPoE user.

system-view

[RouterA] local-user user2

[RouterA-luser-user2] password simple hello

[RouterA-luser-user2] service-type ppp

[RouterA-luser-user2] quit

# Configure virtual template 1.

[RouterA] interface virtual-template 1

[RouterA-Virtual-Template1] ppp authentication-mode pap

[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0

[RouterA-Virtual-Template1] remote address 1.1.1.2

[RouterA-Virtual-Template1] quit

# Configure the PPPoE server.

[RouterA] interface ethernet 1/0/1

[RouterA-Ethernet1/0/1] pppoe-server bind virtual-template 1

2) Configure AP as the PPPoE client.

system-view

[AP] dialer-rule 1 ip permit

[AP] interface dialer 1

[AP-Dialer1] dialer user user2

[AP-Dialer1] dialer-group 1

[AP-Dialer1] dialer bundle 1

[AP-Dialer1] ip address ppp-negotiate

[AP-Dialer1] ppp pap local-user user2 password simple hello

[AP-Dialer1] quit

# Configure the PPPoE session.

[AP] interface Vlan-interface 1

[AP-Vlan-interface1] pppoe-client dial-bundle-number 1

z

Configuring CHAP authentication:

3) Configure

Router

A as the PPPoE server

This manual is related to the following products: