{"id":320,"date":"2018-04-21T16:06:28","date_gmt":"2018-04-21T15:06:28","guid":{"rendered":"https:\/\/zed-network.fr\/?p=320"},"modified":"2020-08-24T19:32:41","modified_gmt":"2020-08-24T18:32:41","slug":"pppoe-configuration-example-with-chap","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=320","title":{"rendered":"How to configure PPPoE with CHAP"},"content":{"rendered":"<p>Client:<\/p>\n<pre>interface Ethernet0\/0\n no ip address\n ip virtual-reassembly in\n pppoe enable\n pppoe-client dial-pool-number 1\nend\n\n!\ninterface Dialer1\n ip address negotiated\n ip mtu 1492\n ip nat outside\n ip virtual-reassembly in\n encapsulation ppp\n dialer pool 1\n ppp chap hostname User1\n ppp chap password 0 Password1\n ppp ipcp route default     &lt;&lt; To install default route\nend\n\n\n<\/pre>\n<p>Server:<\/p>\n<pre>username User1 password 0 Password1\n!\n!\nbba-group pppoe Group10\n virtual-template 10\n\n\ninterface Virtual-Template10\n ip unnumbered Loopback0\n ip mtu 1492\n peer default ip address pool Pool10\n ppp authentication chap\n\ninterface Ethernet0\/2\n ip address 10.0.0.1 255.255.255.252\n pppoe enable group Group10\n\n\nip local pool Pool10 10.0.0.2\n\n\n<\/pre>\n<p>Verification:<\/p>\n<pre>client#sh ip int brief\nInterface IP-Address OK? Method Status Protocol\nEthernet0\/0 unassigned YES manual up up\n&lt;..&gt;\nEthernet1\/3 unassigned YES TFTP administratively down down\nDialer1 10.0.0.2 YES IPCP up up\nNVI0 unassigned NO unset up up\nVirtual-Access1 unassigned YES unset up up<\/pre>\n<pre>server# sh ppp all\nInterface\/ID OPEN+ Nego* Fail- Stage Peer Address Peer Name\n------------ --------------------- -------- --------------- --------------------\nVi2.1 LCP+ CHAP+ IPCP+ LocalT 10.0.0.2 User1\n\n<\/pre>\n<pre>server# sh subscriber session brief\nCurrent Subscriber Information: Total sessions 1\n\nUniq ID Interface State Up-time Identifier\n6 Vi2.1 authen 00:12:49 User1<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Client: interface Ethernet0\/0 no ip address ip virtual-reassembly in pppoe enable pppoe-client dial-pool-number 1 end ! interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside ip virtual-reassembly in encapsulation ppp dialer pool 1 ppp chap hostname User1 ppp chap password 0 Password1 ppp ipcp route default &lt;&lt; To install default route end Server: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-ccie-rs"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=320"}],"version-history":[{"count":2,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions"}],"predecessor-version":[{"id":555,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions\/555"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}