HCL里MSR36-20的PPPoE配置(含client和server)

wKiom1UWy7zzCVTUAAJjukf86jQ400.jpg两台MSR36-20,通过各自的G0/1互联。Server端:VT1地址为123.123.123.254/24;启用DHCP,地址池123.123.123.0/24,排除掉123.123.123.254;PAP验证;VA池;VT1与G0/1绑定。Client端:ACL;NAT;dialer接口;dialer 1与G0/1绑定。

不妥的地方请批评指正,谢谢!

//=========================================

client端的:

#

 version 7.1.059, Alpha 7159

#

 sysname Client

#

 dialer-group 1 rule ip permit

#

 system-working-mode standard

 xbar load-single

 password-recovery enable

 lpu-type f-series

#

vlan 1

#

interface Dialer1

 mtu 1492

 ppp pap local-user user1 password cipher $c$3$ofJXn4GGHs5HKX8AQ8DdQXd5jAh3rGJv0w==

 dialer bundle enable

 dialer-group 1

 dialer timer idle 0

 dialer timer autodial 1

 ip address ppp-negotiate

 nat outbound 2000

#

interface Serial1/0

#

interface Serial2/0

#

interface Serial3/0

#

interface Serial4/0

#

interface NULL0

#

interface GigabitEthernet0/0

 port link-mode route

 combo enable copper

 ip address 192.168.56.254 255.255.255.0

#

interface GigabitEthernet0/1

 port link-mode route

 combo enable copper

 pppoe-client dial-bundle-number 1

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

#

interface GigabitEthernet5/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet5/1

 port link-mode route

 combo enable copper

#

interface GigabitEthernet6/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet6/1

 port link-mode route

 combo enable copper

#

 scheduler logfile size 16

#

line class aux

 user-role network-admin

#

line class tty

 user-role network-operator

#

line class vty

 user-role network-operator

#

line aux 0

 user-role network-admin

#

line vty 0 63

 user-role network-operator

#

 ip route-static 0.0.0.0 0 Dialer1

#

acl basic 2000

 rule 5 permit source 192.168.56.0 0.0.0.255

#

domain system

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

return


//==========================================================

Server端的:

#

 version 7.1.059, Alpha 7159

#

 sysname Server

#

 dhcp enable

#

 system-working-mode standard

 xbar load-single

 password-recovery enable

 lpu-type f-series

#

vlan 1

#

dhcp server ip-pool adsl

 gateway-list 123.123.123.254

 network 123.123.123.0 mask 255.255.255.0

#

interface Serial1/0

#

interface Serial2/0

#

interface Serial3/0

#

interface Serial4/0

#

interface Virtual-Template1

 ppp authentication-mode pap

 ppp pap local-user user1 password cipher $c$3$NgoXvUDCZbD8oKRMjXVgc6xzv7gNWFWLVw==

 remote address pool adsl

 ip address 123.123.123.254 255.255.255.0

#

interface NULL0

#

interface GigabitEthernet0/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet0/1

 port link-mode route

 combo enable copper

 dhcp server apply ip-pool adsl

 pppoe-server bind virtual-template 1

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

#

interface GigabitEthernet5/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet5/1

 port link-mode route

 combo enable copper

#

interface GigabitEthernet6/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet6/1

 port link-mode route

 combo enable copper

#

 scheduler logfile size 16

#

line class aux

 user-role network-admin

#

line class tty

 user-role network-operator

#

line class vty

 user-role network-operator

#

line aux 0

 user-role network-admin

#

line vty 0 63

 user-role network-operator

#

domain system

 authentication ppp local

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

local-user user1 class network

 password cipher $c$3$OLRnpM4sbCLayqWHkoTVfX7Zc/V7eHzegg==

 service-type ppp

 authorization-attribute user-role network-operator

#

 pppoe-server virtual-template 1 va-pool 5

#

return


你可能感兴趣的:(h3c,pppoe,HCL,MSR36-20)