UJP - 技術情報1

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

RTXでPPP: Authentication failed

RTXでインターネットに接続できない


0.改訂履歴

  • 2009.08.06 新規作成

1.はじめに

 このドキュメントでは,RTX1200にコンフィグを流しこんでも,Disconnected cause is [PPP: Authentication failed]というエラーがでて接続できない場合がある.この手順書では,その原因と解決方法を説明する. なお,仕組み的には同じなので, RTX1100,RTX1000等のヤマハのルータでも共通と考えられる.

2.Transmitted UserId/Password was not authenticatedにだまされない

  • PPの定義は次の様になっている.
 pp name @NIFTY
pp always-on on
pppoe use lan2
pppoe auto connect on
pppoe auto disconnect on

pp auth accept pap
pp auth myname userid@nifty.com PASSWORD
ppp lcp mru on 1454
ppp ipcp ipaddress on
ip pp mtu 1454
ip pp secure filter in 2000 2001 2002 2050 2051 2052 2053 2 dynamic 2200 2201 2202
ip pp secure filter out 2550 2551 2552 dynamic 2600 2601 2602 2603 2604 2605
ip pp intrusion detection in on reject=on
ip pp intrusion detection out on reject=on
ip pp nat descriptor 1000
pp enable 1
  • ステータスを確認してみる.
pp1# show status pp 1
PP[01]:
Description:
Current PPPoE session status is Offline.
Last PPPoE session status:
Access Concentrator: brasme47sinjuku012
from 2009/08/06 16:16:41 to 2009/08/06 16:16:41,
0 second connection.
Disconnected cause is [PPP: Authentication failed].
Received: 207 packets [13148 octets] Load: 0.0%
Transmitted: 153 packets [5995 octets] Load: 0.0%
pp1#
  • コネクションエラーとなっている.
  • PPPoEの定義の中で,次の様に記述しているが,オフラインになっている.
pppoe auto connect on
pppoe auto disconnect on
  • ログをshow logコマンドで確認すると,次の様なエラーがでている.
2009/08/06 15:35:07: PP[01] RECV UPAP AuthNak in CS_AUTHREQ/SS_CLOSED
2009/08/06 15:35:07: c0 23 03 01 00 1b 16 41 75 74 68 65 6e 74 69 63
2009/08/06 15:35:07: 61 74 69 6f 6e 20 66 61 69 6c 75 72 65 00 00 00
2009/08/06 15:35:07: 00 00 00 00 00 00 00 00
2009/08/06 15:35:07: PP[01] Transmitted UserId/Password was not authenticated
2009/08/06 15:35:07: PPPOE[01] RECV PADT
2009/08/06 15:35:07: 11 a7 24 d4 00 00
2009/08/06 15:35:07: PP[01] RECV LCP TermReq in OPENED
2009/08/06 15:35:07: c0 21 05 02 00 04 00 00 00 00 00 00 00 00 00 00
2009/08/06 15:35:07: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2009/08/06 15:35:07: 00 00 00 00 00 00 00 00
2009/08/06 15:35:07: PP[01] SEND LCP TermAck in OPENED
2009/08/06 15:35:07: c0 21 06 02 00 04
2009/08/06 15:35:07: PPPOE[01] SEND PADT
2009/08/06 15:35:07: 11 a7 24 d4 00 00
2009/08/06 15:35:07: PPPOE[01] Disconnected, cause [PPP: Authentication failed]
  • この時にUserId/Password was not authenticatedとでているので,認証エラーかと考えられるが,実際には違う.
  • 今まで一度も明示的に接続を行っていないので,自動接続も失敗しているようである.
  • 接続してみる
  • connectコマンドを使い,接続を行う.
pp1# connect ?        
Command Format: connect PP_NUM
PP_NUM = 1-100
Description: Manually connects to specified PP.
pp1# connect 1
pp1#
  • 引数の1は,PPの番号で,この場合PP 1の接続となる.
  • このコマンドを実行してもレスポンスは無いが,PP 1のステータスを確認する事で接続が確認できる.
pp1# show status pp 1
PP[01]:
Description:
Current PPPoE session status is Connected.
Access Concentrator: brasme47sinjuku012
54 seconds connection.
Received: 236 packets [14985 octets] Load: 0.0%
Transmitted: 179 packets [7056 octets] Load: 0.0%
PPP Cofigure Options
LCP Local: Magic-Number MRU, Remote: PAP Magic-Number MRU
IPCP Local: IP-Address, Remote: IP-Address
PP IP Address Local: 123.123.123.173, Remote: 212.111.222.333
CCP: None
Transmitted Userid: userid@nifty.com
pp1#
  • この場合,接続して54秒経過しているが,そうなればほぼ問題ない.
  • 接続できても数秒で切れる場合は,何か他に問題がある.


広告スペース
Google