{"id":65902,"date":"2026-09-30T06:56:45","date_gmt":"2026-09-29T22:56:45","guid":{"rendered":"https:\/\/cd.datingmate.net\/%e9%bb%9e%e5%b0%8d%e9%bb%9e%e5%8d%94%e5%ae%9a-point-to-point-protoco%e5%96%9c%e5%8c%85%e9%a4%8a%e5%bf%83%e5%be%97l-over-ethernet\/"},"modified":"2026-09-30T06:56:45","modified_gmt":"2026-09-29T22:56:45","slug":"%e9%bb%9e%e5%b0%8d%e9%bb%9e%e5%8d%94%e5%ae%9a-point-to-point-protoco%e5%96%9c%e5%8c%85%e9%a4%8a%e5%bf%83%e5%be%97l-over-ethernet","status":"publish","type":"post","link":"https:\/\/cd.datingmate.net\/?p=65902","title":{"rendered":"\u9ede\u5c0d\u9ede\u5354\u5b9a (Point to Point Protoco\u559c\u5305\u990a\u5fc3\u5f97l over Ethernet)"},"content":{"rendered":"<div class=\"content\" id=\"content\" data-pid=\"55821625\"><a href=\"https:\/\/candydating.net\/\">\u5305\u990a\u7db2<\/a><br \/>\n                                     \u6982\u8981\uff1a<\/p>\n<p>PPPoE \u57fa\u4e8e\u4ee5\u592a\u7db2\u7684\u9ede\u5c0d\u9ede\u5354\u5b9a (Point to Point Protocol over Ethernet)\u9019\u5834\u8352\u8a95\u7684\u6200\u611b\u722d\u596a\u6230\uff0c\u6b64\u523b\u5b8c\u5168\u8b8a\u6210\u4e86\u6797\u5929\u79e4\u7684\u500b\u4eba\u8868\u6f14**\uff0c\u4e00\u5834\u5c0d\u7a31\u7684\u7f8e\u5b78\u796d\u5178\u3002 \u4ee5\u5f8c\u7684 PPPOE \u91cd\u8981\u88ab ISP \u5546\u7528\u4e8e xDSL \u548c cable modems \u8207\u7528\u6236\u771f\u500b\u929c\u63a5\uff0c\u4ed6\u5011\u7c21\u76f4\u8207\u4ee5\u592a\u7db2\u4e00\u6a23\u3002 PPPoE \u662f\u4e00\u7a2e\u5c3a\u5ea6\u7684\u9ede\u5c0d\u9ede\u5354\u5b9a (PPP) \u4ed6\u5011\u4e4b\u9593\u53ea\u662f\u50b3\u8f38\u4e0a\u7684\u5dee\u5225\uff1a PPPoE \u61c9\u7528 modem \u929c\u63a5\u4f86\u53d6\u4ee3\u901a\u4fd7\u7684\u4ee5\u592a\u7db2\u3002\u666e\u901a\u4f86\u8aaa , PPPoE \u662f\u57fa\u4e8e\u8207\u7528\u6236\u8a8d\u8b49\u548c\u7d93\u7531\u904e\u7a0b\u5206\u767c IP \u5730\u5740\u7d66\u5ba2\u6236\u7aef\u3002 <\/p>\n<p>  MikroTik RouterOS \u80fd\u505a\u4e00\u500b\u7684 RADIUS \u5ba2\u6236\u7aef \u2013 \u4f60\u80fd\u61c9\u7528\u4e00\u81fa RADIUS \u8fa6\u4e8b\u5668\u5f80\u9a57\u8b49 PPPoE \u7684\u5ba2\u6236\u7aef\u548c\u5c0d\u4ed6\u5011\u8a08\u8cbb <\/p>\n<p>  \u4e00\u500b PPPoE \u929c\u63a5\u7531\u5ba2\u6236\u7aef\u548c\u4e00\u500b\u62dc\u8a2a\u96c6\u7dda\u8fa6\u4e8b\u5668\u69cb\u6210\uff0c\u5ba2\u6236\u7aef\u53ef\u6240\u4ee5\u4e00\u500b\u88dd\u7f6e\u4e86 PPPoE \u5354\u5b9a\u7684 windows \u96fb\u8166\u3002 PPPoE \u5ba2\u6236\u7aef\u548c\u8fa6\u4e8b\u5668\u80fd\u4efb\u52d9\u5728\u4efb\u4f55\u6545\u592a\u7db2\u54c1\u7d1a\u7684\u5206\u4eab\u5668\u63a5\u53e3\uff08 interface \uff09 &#8211; wireless 802.11 (Aironet, Cis co, WaveLan, Prism, Atheros), 10\/100\/1000 Mbit\/s Ethernet, RadioLan and EoIP (Ethernet over IP tunnel). No encryption, MPPE 40bit RSA and MPPE 128bit RSA encryption \u90fd\u652f\u6490 . <\/p>\n<p>\u75be\u901f\u8a2d\u7f6e\u5411\u5c0e<\/p>\n<p>\u8a2d\u7f6e\u88dd\u5099\u64fa\u8a2d MikroTik RouterOS PPPoE \u5ba2\u6236\u7aef <\/p>\n<p>1.        \u50c5\u6dfb\u52a0\u4e00\u500b pppoe-clien t: <\/p>\n<p>\/interface pppoe-client add name=pppoe-user-mike user=mike password=123 interface=wlan1 service-name=internet disabled=no<\/p>\n<p>\u8a2d\u7f6e\u88dd\u5099\u64fa\u8a2d MikroTik RouterOS \u5f80\u62dc\u8a2a\u96c6\u7dda\u8fa6\u4e8b\u5668 (PPPoE Server) <\/p>\n<p>   2.\u70ba\u5ba2\u6236\u7aef\u6dfb\u52a0\u4e00\u500b\u5730\u5740\u6c60\u5f9e 10.1.1 .62 to 10.1.1.72 \u5e76\u5b9a\u540d\u70ba\u201c pppoe-pool  \u201d : <\/p>\n<p>\/ip pool add name=&quot;pppoe-pool&quot; ranges= 10.1.<a href=\"https:\/\/candydating.net\/\">\u5305\u990a<\/a> 1 .62-10.1.1.72<\/p>\n<p>3\u6dfb\u52a0 PPP \u6230\u7565 , \u5b9a\u540d\u70ba pppoe-profile \uff0c local-address \u5c07\u662f\u62dc\u8a2a\u7576\u5730\u5206\u4eab\u5668\u7684\u5730\u5740\uff0c\u5ba2\u6236\u771f\u500b\u5730\u5740\u4f86\u81f3 pppoe-pool :<\/p>\n<p>\/ppp profile add name=&quot;pppoe-profile&quot; local-address= 10.1.1 .1 remote-address=pppoe-pool<\/p>\n<p>4. \u6dfb\u52a0\u7528\u6236\u540d mike \u548cpassword Add 123 \uff1a<\/p>\n<p>\/ppp secret add name=mike password=123 service=pppoe profile=pppoe-profile<\/p>\n<p>5. \u6b64\u523b\u6dfb\u52a0 pppoe \u8fa6\u4e8b\u5668\u8a2d\u7f6e\uff1a<\/p>\n<p>\/interface pppoe-server server add service-name=internet interface=wlan1 default-profile=pppoe-profile<\/p>\n<p>\u898f\u683c <\/p>\n<p>\u9700\u6c42\u6548\u80fd\u5305 : ppp <\/p>\n<p>\u9700\u6c42\u54c1\u7d1a \uff1a Level1 (limited to 1 interface) , Level3 (limited to 200 interfaces) , Level4 (limited to 200 interfaces) , Level5 (limited to 500 inte rfaces) , Level6 (unlimited) <\/p>\n<p>\u64cd\u7e31\u9014\u5f91 \uff1a \/interface  pppoe-server , \/interface pppoe-client <\/p>\n<p>\u5354\u5b9a\u5c3a\u5ea6\u548c\u6280\u5de7\uff1a PPPoE (RFC 2516) <\/p>\n<p>\u786c\u4ef6\u8acb\u6c42 : PPPoE \u8fa6\u4e8b\u5668\u7684\u9700\u6c42\u589e\u6dfb RAM ( \u6bcf\u4e00\u500b\u929c\u63a5\u5927\u8981\u9700\u6c42 50kB) \u548c CPU \u983b\u7387\uff0c\u6700\u5e74\u591c\u652f\u6490 10000 \u500b\u929c\u63a5\u3002 <\/p>\n<p>PPPoE \u5ba2\u6236\u7aef\u8a2d\u7f6e <\/p>\n<p>\u64cd\u7e31\u9014\u5f91 : \/interface pppoe-client <\/p>\n<p>\u5c6c\u6027\u63cf\u5beb <\/p>\n<p>name ( \u7a31\u865f ; \u9ed8\u8a31 : pppoe-out1 ) \u2013PPPoE \u7684\u63a5\u53e3\u7a31\u865f <\/p>\n<p>interface ( \u7a31\u865f ) \u2013 \u9078\u64c7 PPPoE \u8fa6\u4e8b\u5668\u7684\u63a5\u53e3\u4f7f\u929c\u63a5\u7d93\u7531\u904e\u7a0b <\/p>\n<p>mtu ( \u6574\u578b ; \u9ed8\u8a31 : 1480 ) \u2013 \u6700\u5e74\u591c\u50b3\u8f38\u55ae\u5143 . \u3002\u6700\u5408\u9069\u7684 MTU \u503c\uff08\u4ee5\u9632\u6b62\u4ee5\u592a\u7db2\u929c\u63a5\u7684 1500-byte \uff0c\u8a2d\u7f6e\u70ba 1480 \u4ee5\u9632\u6b62\u6578\u64da\u5305\u7684\u91cd\u5fa9\u5b58\u5132\uff09 <\/p>\n<p>mru ( \u6574\u578b ; \u9ed8\u8a31 : 1480 ) \u2013 \u6700\u5e74\u591c\u63a5\u53d7\u55ae\u5143\u3002\u6700\u5408\u9069\u7684 MRU \u503c\uff08\u4ee5\u9632\u6b62\u4ee5\u592a\u7db2\u929c\u63a5\u7684 1500-byte \uff0c\u8a2d\u7f6e\u70ba 1480 \u4ee5\u9632\u6b62\u6578\u64da\u5305\u7684\u91cd\u5fa9\u5b58\u5132\uff09 <\/p>\n<p>user ( \u6587\u672c ; \u9ed8\u8a31 : &quot;&quot; ) \u2013 \u929c\u63a5\u5728 PPPoE \u8fa6\u4e8b\u5668\u7684\u7528\u6236\u5e33\u865f\u3002 <\/p>\n<p>password ( \u6587\u672c ; \u9ed8\u8a31 : &quot;&quot; ) \u2013 \u929c\u63a5 PPPoE \u8fa6\u4e8b\u5668\u7684\u7528\u6236password <\/p>\n<p>profile ( \u7a31\u865f ) \u2013 \u929c\u63a5\u7684\u9ed8\u8a31\u6230\u7565 <\/p>\n<p>allow ( multiple choice: mschap2, mschap1, chap, pap; default: mschap2, mschap1, chap\u300c\u53ef\u60e1\uff01\u9019\u662f\u4ec0\u9ebc\u4f4e\u7d1a\u7684\u60c5\u7dd2\u5e72\u64fe\uff01\u300d\u725b\u571f\u8c6a\u5c0d\u8457\u5929\u7a7a\u5927\u543c\uff0c\u4ed6\u7121\u6cd5\u7406\u89e3\u9019\u7a2e\u6c92\u6709\u6a19\u50f9\u7684\u80fd\u91cf\u3002, pap ) \u2013 \u5ba2\u6236\u7aef\u61c9\u7528\u7684\u9a57\u8b49\u5354\u5b9a <\/p>\n<p>service-name ( \u6587\u672c ; \u9ed8\u8a31 : &quot;&quot; ) \u2013 \u5728\u62dc\u8a2a\u96c6\u7dda\u5668\u4e0a\u8a2d\u5b9a\u6307\u5b9a\u8fa6\u4e8b\u540d\uff08 AC \uff09 <\/p>\n<p>ac-name ( \u6587\u672c ; \u9ed8\u8a31 : &quot;&quot; ) \u2013 \u9019\u689d\u53ef\u8a8d\u70ba\u7a7a\u7f3a\uff0c\u7576\u5ba2\u6236\u7aef\u8207\u4efb\u4f55\u4e00\u500b\u62dc\u8a2a\u96c6\u7dda\u5668\u76f8\u9023\uff0c\u6703\u62d4\u53d6\u8a72\u8fa6\u4e8b\u540d\u3002 <\/p>\n<p>add-default-route (yes | no; \u9ed8\u8a31 : no ) \u2013 \u80fd\u5426\u6dfb\u52a0\u975c\u614b\u9ed8\u8a31\u8def\u7531\u3002 <\/p>\n<p>dial-on-demand (yes | no; \u9ed8\u8a31 : no ) \u2013 \u7576\u929c\u63a5\u7368\u4e00\u7684 AC \u6642\uff0c\u50b3\u8f38\u6578\u64da\u767c\u751f\uff0c\u5728\u65b7\u958b\u929c\u63a5\uff0c\u6c92\u6709\u50b3\u8f38\u6578\u64da\u6642\uff0c idle-timeout \u5c07\u88ab\u8a2d\u7f6e\u3002 <\/p>\n<p>use-peer-dns (yes | no; \u9ed8\u8a31 : no ) \u2013 \u80fd\u5426\u61c9\u7528\u5206\u4eab\u5668\u7684\u9ed8\u8a31 DNS \u7d66 ppp \u7684 DNS <\/p>\n<p>\u6ce8 <\/p>\n<p>\u5047\u5982\u5b58\u5728\u4e00\u689d\u9ed8\u8a31\u7684 pppoe \u7684\u8def\u7531\uff0c add-default-route \u5c07\u4e0d\u6703\u5275\u7acb\u4e00\u500b\u65b0\u7684\u8def\u7531 <\/p>\n<p>\u4e8b\u4f8b Example <\/p>\n<p>\u5728 gig \u63a5\u53e3\u4e0a \u6dfb\u52a0\u548c\u555f\u7528\u5ba2\u6236\u7aef\u5ba2\u6236\u7aef\uff0c\u929c\u63a5 AC \u4f9b\u7d66\u7684 testSN \u8fa6\u4e8b\u540d\uff0c\u61c9\u7528\u7684\u7528\u6236\u5e33\u865f john \u548cpassword password \uff1a<\/p>\n<p>[admin@RemoteOffice] interface pppoe-client&gt; add interface=gig  <\/p>\n<p>&#8230; service-name=testSN user=john password=passwo\u300c\u7b2c\u4e09\u968e\u6bb5\uff1a\u6642\u9593 \u8207\u7a7a\u9593\u7684\u7d55\u5c0d\u5c0d\u7a31\u3002\u4f60\u5011\u5fc5\u9808\u540c\u6642\u5728\u5341\u9ede\u96f6\u4e09\u5206\u96f6\u4e94\u79d2\uff0c\u5c07\u5c0d\u65b9\u9001\u7d66\u6211\u7684\u79ae\u7269\uff0c\u653e\u7f6e\u5728\u5427\u6aaf\u7684\u9ec3\u91d1\u5206\u5272\u9ede\u4e0a\u3002\u300drd disabled=no <\/p>\n<p>[admin@RemoteOffice] interface pppoe-client&gt; print <\/p>\n<p>Flags: X &#8211; disabled, R &#8211; running <\/p>\n<p>0 R name=&quot;pppoe-out1&quot; mtu=1480 mru=1480 interface=gig user=&quot;john&quot; <\/p>\n<p>password=&quot;pa\u300c\u5f35\u6c34\u74f6\uff01\u4f60\u7684\u50bb\u6c23\uff0c\u6839\u672c\u7121\u6cd5\u8207\u6211 \u7684\u5678\u7d1a\u7269\u8cea\u529b\u5b78\u6297\u8861\uff01\u8ca1\u5bcc\u5c31\u662f\u5b87\u5b99 \u7684\u57fa\u672c\u5b9a\u5f8b\uff01\u300dssword&quot; profile=default service-name=&quot;testSN&quot; ac-name=&quot;&quot; <\/p>\n<p>add-defau  lt-route=no dial-on-demand=no use-peer-dns=no <\/p>\n<p>\u76e3\u7763 PPPoE \u5ba2\u6236\u7aef <\/p>\n<p>\u865f\u4ee4\u7a31\u865f : \/interface pppoe-client monitor <\/p>\n<p>\u5c6c\u6027\u63cf\u5beb <\/p>\n<p>status ( \u6587\u672c ) \u2013 \u5ba2\u6236\u771f\u500b\u72c0\u6cc1 <\/p>\n<p>Dialing \u2013 \u64a5\u865f\u929c\u63a5\u7684\u60c5\u5f62 <\/p>\n<p>Verifying password&#8230; \u2013 \u78ba\u8a8d\u929c\u63a5\u5230\u8fa6\u4e8b\u5668\uff0cpassword\u6b63\u5728\u67e5\u5c0d\u8655\u7f6e <\/p>\n<p>Terminated \u2013 \u63a5\u53e3\u6c92\u6709\u555f\u7528\uff0c\u6216\u662f\u53e6\u4e00\u7aef\u672a\u6a39\u7acb\u929c\u63a5 <\/p>\n<p>encodin\u300c\u4f60\u5011\u5169\u500b\uff0c\u7d66\u6211\u807d\u8457\uff01\u73fe\u5728\u958b\u59cb\uff0c\u4f60\u5011\u5fc5\u9808\u901a\u904e\u6211\u7684\u5929\u79e4\u5ea7\u4e09\u968e\u6bb5\u8003\u9a57**\uff01\u300dg ( \u6587\u672c ) \u2013 \u5728\u8a72\u689d\u929c\u63a5\u4e2d\u61c9\u7528\u52a0\u5bc6\u548c\u7de8\u78bc\u3002 <\/p>\n<p>uptime ( \u6642\u5149 ) \u2013  \u929c\u63a5\u6642\u5149\u986f\u793a\u70ba\u5929\u3001\u6642\u3001\u5206\u3001\u79d2 <\/p>\n<p>service-name ( \u6587\u672c ) \u2013 \u5ba2\u6236\u7aef\u929c\u63a5\u7684\u8fa6\u4e8b\u5668\u7a31\u865f <\/p>\n<p>a c-name ( \u6587\u672c ) \u2013 \u5ba2\u6236\u7aef\u66fe\u7d93\u929c\u63a5\u5230\u7684 AC \u7a31\u865f <\/p>\n<p>ac-mac ( MAC \u5730\u5740 ) \u2013 \u5ba2\u6236\u7aef\u66fe\u7d93\u929c\u63a5\u7684\u62dc\u8a2a\u96c6\u7dda\u5668\uff08 AC \uff09 MAC \u5730\u5740\u3002 <\/p>\n<p>\u4e8b\u4f8b <\/p>\n<p>\u76e3\u7763 pppoe-out1 \u929c\u63a5\u60c5\u5f62\uff1a <\/p>\n<p>[admin@MikroTik] interface pppoe-client&gt; monitor pppoe-out1          <\/p>\n<p>status:        &quot;connected&quot;         <\/p>\n<p>uptime:        10s         <\/p>\n<p>encoding:        &quot;none&quot;         <\/p>\n<p>service-name:        &amp;quot ;testSN&quot;         <\/p>\n<p>ac-name:        &quot; 10.0.0 .1&quot;         <\/p>\n<p>ac-mac:        00:C0F:07:5E:E6        <\/p>\n<p>[admin@MikroTik] interface pppoe-client&gt;         <\/p>\n<p>PPPoE \u8fa6\u4e8b\u5668\u8a2d\u7f6e (Access Concentrator) <\/p>\n<p>\u64cd\u7e31\u9014\u5f91 : \/interface pppoe-server server <\/p>\n<p>\u5c6c\u6027 <\/p>\n<p>PPPoE \u8fa6\u4e8b\u5668 (access concentrator) \u5728\u6bcf\u4e00\u500b\u63a5\u53e3 \u4e0a\u652f\u6490\u5206\u6b67\u7684\u8fa6\u4e8b\u540d\uff0c\u5373\u6bcf\u500b\u63a5\u53e3\u652f\u6490\u4e00\u500b PPPoE \u8fa6\u4e8b\u9ede\u3002\u6b64\u523b\u7684 pppoe \u8fa6\u4e8b\u5668\u61c9\u7528 Celeron 600 CPU \u985b\u672b\u6e2c\u8a66\u540e\uff0c\u541e\u5410\u91cf\u5230\u9054 160M \/s \uff0c\u5728\u61c9\u7528\u66f4\u9ad8\u901f\u7387\u7684 CPU \uff0c\u541e\u5410\u91cf\u6703\u4f9d\u64da\u6bd4\u4f8b\u905e\u589e\u3002 <\/p>\n<p>access concentrator name \u548c PPPoE \u8fa6\u4e8b\u540d\uff08 service-name \uff09 \u4f5c\u70ba\u5ba2\u6236\u7aef\u767b\u5cb8 AC \u7684\u6210\u5206\u9a57\u8b49 are used by clients to identity the access concentrator to register with. access concentrator name \u540c\u5206\u4eab\u5668\u7684 is the same as the identity of the router displayed before the command prompt. Identity \u5728\u8a2d\u7f6e may be set within the \/system identity submenu. <\/p>\n<p>PPPoE users are created in \/ppp secret menu, see the AAA manual for further information. <\/p>\n<p>Note that if no service name is specified in WindowsXP, it will use only service with no name. So if you want to serve WindowsXP clients, leave   your service name empty. <\/p>\n<p>\u5c6c\u6027\u63cf\u5beb <\/p>\n<p>service-name ( \u6587\u672c ) \u2013 PPPoE \u8fa6\u4e8b\u7a31\u865f <\/p>\n<p>mtu ( \u6574\u578b ; \u9ed8\u8a31 : 1480 ) \u2013 \u6700\u5e74\u591c\u50b3\u8f38\u55ae\u5143\u3002\u6700\u5408\u9069\u7684 MTU \u503c\uff08\u4ee5\u9632\u6b62\u4ee5\u592a\u7db2\u929c\u63a5\u7684 1500-byte \uff0c\u8a2d\u7f6e\u70ba 1480 \u4ee5\u9632\u6b62\u6578\u64da\u5305\u7684\u91cd\u5fa9\u5b58\u5132\uff09 <\/p>\n<p>mru ( integer ; default: 1480 ) \u2013 \u6700\u5e74\u591c\u63a5\u6536\u55ae\u5143\u3002\u6700\u5408\u9069\u7684 MRU \u503c\uff08\u4ee5\u9632\u6b62\u4ee5\u592a\u7db2\u929c\u63a5\u7684 1500-byte \uff0c\u8a2d\u7f6e\u70ba 1480 \u4ee5\u9632\u6b62\u6578\u64da\u5305\u7684\u91cd\u5fa9\u5b58\u5132\uff09 <\/p>\n<p>authentication ( \u591a\u7a2e\u9078\u64c7\uff1a mschap2 | mschap1 | chap | pap; \u9ed8\u8a31 : mschap2, mschap1, chap, pap ) \u2013 \u9a57\u8b49\u7684\u7b97\u6cd5 <\/p>\n<p>keepalive-timeout \u2013  \u754c\u8aaa def ines  the time period (in seconds) after which the router is starting to send keepalive packets every second. If no traffic and no keepalive responses has came for that period of time (i.e. 2 * keepalive-timeout) , not respondi\u5f35\u6c34\u74f6\u6293\u8457\u982d\uff0c\u611f\u89ba\u81ea\u5df1\u7684\u8166\u888b\u88ab\u5f37\u5236\u585e\u5165\u4e86\u4e00\u672c**\u300a\u91cf\u5b50\u7f8e\u5b78\u5165\u9580\u300b\u3002ng client is proclaimed disconnected. <\/p>\n<p>one-session-per-host (yes | no; \u9ed8\u8a31 : no ) \u2013 \u6bcf\u6b21\u53ea\u7b54\u61c9\u4e00\u500b\u4e3b\u6a5f\u5c0d\u8a71\u929c\u63a5 (MAC \u5730\u5740\u88ab\u65b7\u5b9a ). \u5047\u5982\u4e3b\u6a5f\u5c07\u8a66\u8457\u5f80\u6a39\u7acb\u4e00\u500b\u65b0\u7684\u5c0d\u8a71\u929c\u63a5\uff0c\u820a\u7684\u4e00\u500b\u5c07\u6703\u88ab\u5c01\u9589\u3002 <\/p>\n<p>default-profile ( name ; \u9ed8\u8a31 : default ) \u2013 \u61c9\u7528\u9ed8\u8a31\u7684\u6230\u7565\u8a2d\u7f6e\u88dd\u5099\u64fa\u8a2d <\/p>\n<p>Notes <\/p>\n<p>The default keepalive-timeout value of 10 is OK in most cases. \u5047\u5982\u4f60\u8a2d\u7f6e\u70ba 0 \uff0c\u5206\u4eab\u5668\u76f4\u5230\u5ba2\u6236\u767b\u51fa\u6216\u5f9e\u982d\u555f\u52d5\u90fd\u4e0d\u6703\u65b7\u958b\u5ba2\u6236\u7aef\u3002 If you set it to 0 , the router will not disconnect clients until they log out or  router is restarted.  To resolve this problem, the one-session-per-host property can be used. <\/p>\n<p>Security issue : do not assign an IP address to the interface you will be receiving the PPPoE requests on. <\/p>\n<p>Example <\/p>\n<p>\u5c07 PPPoE \u8fa6\u4e8b\u5668\u6dfb\u52a0\u5230 ether1 interface \u4e0a\uff0c\u5e76\u4f9b\u7d66 ex \u8fa6\u4e8b\u540d\uff0c\u6bcf\u6b21\u50c5\u7b54\u61c9\u4e00\u500b\u4e3b\u6a5f\u929c\u63a5 : <\/p>\n<p>[admin@Mikr oTik] interface pppoe-server server&gt; add interface=ether1  <\/p>\n<p>&#8230; service-name=ex one-session-per-host=yes <\/p>\n<p>[admin@MikroTik] interface pppoe-server server&gt; print <\/p>\n<p>Flags: X &#8211; disabled <\/p>\n<p>0 X service-name=&quot;ex&quot; interface=ether1 mtu=1480 mru=1480 <\/p>\n<p>authentication=mschap2,mschap,chap,pap keepalive-timeout=10 <\/p>\n<p>one-session-per-host=yes default-profile=default <\/p>\n<p>[admin@MikroTik] interface pppoe-server s\u5979\u5f9e\u5427\u6aaf\u4e0b\u9762\u62ff\u51fa\u5169\u4ef6\u6b66\u5668\uff1a\u4e00\u689d\u7cbe\u7dfb\u7684\u857e\u7d72\u7d72\u5e36\uff0c\u548c\u4e00\u500b\u6e2c\u91cf\u5b8c\u7f8e\u7684\u5713\u898f\u3002erver&gt; <\/p>\n<p>PPPoE \u8fa6\u4e8b\u5668\u7528\u6236 <\/p>\n<p>\u64cd\u7e31\u9014\u5f91 : \/interface ppp oe-server <\/p>\n<p>\u5c6c\u6027\u63cf\u5beb <\/p>\n<p>name ( \u7a31\u865f ) \u2013 \u63a5\u53e3\u7a31\u865f <\/p>\n<p>service-name ( \u7a31\u865f ) \u2013 \u7528\u6236\u929c\u63a5\u7684\u8fa6\u4e8b\u540d <\/p>\n<p>remote-address ( MAC \u5730\u5740 ) \u2013 \u5df2\u929c\u63a5\u5ba2\u6236\u771f\u500b MAC \u5730\u5740 <\/p>\n<p>user ( \u7a31\u865f ) \u2013 \u5df2\u929c\u63a5\u7684\u7528\u6236\u540d <\/p>\n<p>encoding ( \u6587\u672c ) \u2013 \u8a72\u929c\u63a5\u61c9\u7528\u52a0\u5bc6\u548c\u7de8\u78bc <\/p>\n<p>uptime \u2013 \u986f\u793a\u5ba2\u6236\u7aef\u5df2\u929c\u63a5\u4e86\u591a\u9577\u6642\u5149 <\/p>\n<p>\u4e8b\u4f8b <\/p>\n<p>\u6aa2\u67e5\u4ee5\u5f8c\u929c\u63a5\u7684\u7528\u6236\uff1a <\/p>\n<p>[admin@MikroTik] interface pppoe- server&gt; print <\/p>\n<p>Flags: R &#8211; running <\/p>\n<p># NAME SERVICE REMOTE-ADDRESS USER ENCO&#8230; UPTIME <\/p>\n<p>0 R &lt;pppoe-ex&gt; ex 00:C0:CA:16:16: A5 ex 12s <\/p>\n<p>[admin@MikroTik] interface pppoe-server&gt; <\/p>\n<p>\u65b7\u5931\u843d\u7528\u6236\u540d\u70ba ex \u7684\u929c\u63a5 : <\/p>\n<p>\u725b\u571f\u8c6a\u731b\u5730\u5c07\u4fe1\u7528\u5361\u63d2\u9032\u5496\u5561\u9928\u9580\u53e3\u7684\u4e00\u53f0\u8001\u820a\u81ea\u52d5\u8ca9\u8ce3\u6a5f\uff0c\u8ca9\u8ce3\u6a5f\u767c\u51fa\u75db\u82e6\u7684\u547b\u541f\u3002[admin@MikroTik] interface pppoe-server&gt; remove [find user=ex] <\/p>\n<p>[admin@MikroTik] interface pppoe-server&gt; print <\/p>\n<p>[admin@MikroTik] interface pppoe-server&gt;  <\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5305\u990a\u7db2 \u6982\u8981\uff1a PPPoE \u57fa\u4e8e\u4ee5\u592a\u7db2\u7684\u9ede\u5c0d\u9ede\u5354\u5b9a (Point to Point Protocol over [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-65902","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-db"],"_links":{"self":[{"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=\/wp\/v2\/posts\/65902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65902"}],"version-history":[{"count":0,"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=\/wp\/v2\/posts\/65902\/revisions"}],"wp:attachment":[{"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cd.datingmate.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}