H3C PPPOE 基本配置

发布时间:2019-09-14 09:28:40编辑:auto阅读(1876)

    实验TOP:

     

     

    说明:两端都使用ppp的chap认证。

    配置:

    server 端的配置:

    ================================

    [H3C]local-user server
    [H3C-luser-server]password simple 123456
    [H3C-luser-server]service-type ppp
    [H3C-luser-server]quit     
    [H3C]int Virtual-Template 1
    [H3C-Virtual-Template1]ppp authentication-mode chap   
    [H3C-Virtual-Template1]ppp chap user client
    [H3C-Virtual-Template1]ip add 192.168.1.1 255.255.255.0
    [H3C-Virtual-Template1]remote address 192.168.1.5
    [H3C-Virtual-Template1]quit
    [H3C]int e0/1/0
    [H3C-Ethernet0/1/0]
    [H3C-Ethernet0/1/0]pppoe-server bind virtual-template 1
    [H3C-Ethernet0/1/0]quit

     

     

     

    client 端的配置:

    =======================================================

    [H3C]local-user client
    [H3C-luser-client]password simple 123456
    [H3C-luser-client]service-type ppp
    [H3C-luser-client]quit
    [H3C]dialer-rule 1 ip permit
    [H3C]int Dialer 1
    [H3C-Dialer1]dialer user server
    [H3C-Dialer1]dialer-group 1
    [H3C-Dialer1]dialer bundle 1
    [H3C-Dialer1]ip add ppp-negotiate
    [H3C-Dialer1]ppp chap user server
    [H3C-Dialer1]quit
    [H3C]int e0/1/0
    [H3C-Ethernet0/1/0]pppoe-client dial-bundle-number 1
    [H3C-Ethernet0/1/0]quit

     

     

     

     

     

关键字