HPE FlexNetwork MSR Series Comware 5 Layer 2 - Wan Access Configuration Manual page 66

Table of Contents

Advertisement

[RouterA-Ethernet1/2] ip address 192.168.1.1 255.255.255.0
[RouterA-Ethernet1/2] quit
[RouterA] ip route-static 0.0.0.0 0 dialer 1
If the IP addresses of the hosts in the LAN are private addresses, configure NAT on Router A.
For more information about NAT, see HPE FlexNetwork MSR Router Series Comware 5 Layer
3—IP Services Configuration Guide.
Configure Router B as the PPPoE server:
2.
# Add a PPPoE user.
<RouterB> system-view
[RouterB] local-user user1
[RouterB-luser-user1] password simple 123456
[RouterB-luser-user1] service-type ppp
[RouterB-luser-user1] quit
# Configure ATM 1/0 interface.
[RouterB] interface atm 1/0
[RouterB-Atm1/0] pvc 0/32
[RouterB-atm-pvc-Atm1/0-0/32] map bridge virtual-ethernet 1
[RouterB-atm-pvc-Atm1/0-0/32] quit
[RouterB-Atm1/0] quit
# Enable PPPoE server on the virtual Ethernet interface.
[RouterB] interface virtual-ethernet 1
[RouterB-Virtual-Ethernet1] pppoe-server bind virtual-template 1
[RouterB-Virtual-Ethernet1] quit
# Configure virtual template 1.
[RouterB] interface virtual-template 1
[RouterB-Virtual-Template1] ppp authentication-mode pap domain system
[RouterB-Virtual-Template1] remote address pool 1
[RouterB-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[RouterB-Virtual-Template1] quit
# Configure local authentication for the users in the default ISP domain system.
[RouterB] domain system
[RouterB-isp-system] authentication ppp radius-scheme cams
# Add a local IP address pool that contains nine IP addresses.
[RouterB-isp-system] ip pool 1 1.1.1.2 1.1.1.10
[RouterB-isp-system] quit
# Configure RADIUS scheme.
[RouterB] radius scheme cams
[RouterB-radius-cams] primary authentication 10.110.91.146 1812
[RouterB-radius-cams] primary accounting 10.110.91.146 1813
[RouterB-radius-cams] key authentication expert
[RouterB-radius-cams] key accounting expert
[RouterB-radius-cams] server-type extended
[RouterB-radius-cams] user-name-format with-domain
[RouterB-radius-cams] quit
For more information about RADIUS, see HPE FlexNetwork MSR Router Series Comware 5
Security Configuration Guide.
55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?

Table of Contents