科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道应用软件在PIX上配置PPPOE Client 与PPPOE SERVER进行通信3

在PIX上配置PPPOE Client 与PPPOE SERVER进行通信3

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

在PIX上配置PPPOE Client 与PPPOE SERVER进行通信

作者:ddvip 来源:ddvip 2009年12月31日

关键字: 思科 路由器

  • 评论
  • 分享微博
  • 分享邮件

在PIX上配置PPPOE Client 与PPPOE SERVER进行通信3

 

现在我把PIX上的E1接口重新关闭之后,再打开,再来观察一下PIX上的pppoe 的会话过程与PPPOE SERVER上的看到的pppoe 会话的四个过程,PADI---PADO-PADR-PADS 四个过程

pixfirewall# conf t
 pixfirewall(config)# int e1
 pixfirewall(config-if)# sh
 PPPoE: Shutting down client session
 PPPoE: padi timer expired
 PPPoE: padi timer expired
 
 pixfirewall(config-if)# no sh
 pixfirewall# PPPoE: send_padi:(Snd) Dest:ffff.ffff.ffff Src:00aa.0001.0102 Type:0x8863=PPPoE-Discovery
 //开始发送广播,寻找PPPOE SERVER
 PPPoE: Ver:1 Type:1 Code:09=PADI Sess:0 Len:12
 PPPoE: Type:0101:SVCNAME-Service Name Len:0
 PPPoE: Type:0103:HOSTUNIQ-Host Unique Tag Len:4
 PPPoE: 00000001
 PPPoE: PPPoE:(Rcv) Dest:00aa.0001.0102 Src:cc9f.09e4.0000 Type:0x8863=PPPoE-Discovery
 PPPoE: Ver:1 Type:1 Code:07=PADO Sess:0 Len:48
 PPPoE: Type:0101:SVCNAME-Service Name Len:0
 PPPoE: Type:0103:HOSTUNIQ-Host Unique Tag Len:4
 PPPoE: 00000001
 PPPoE: Type:0102:ACNAME-AC Name Len:12
 PPPoE: PPPOE_Server
 
 PPPoE: Type:0104:ACCOOKIE-AC Cookie Len:16
 PPPoE: 9682A160
 PPPoE: 3EDB1E03
 PPPoE: DDDF8016
 PPPoE: 2E032E1C
 PPPoE:
   
 PPPoE: PADO
 
 PPPoE: send_padr:(Snd) Dest:cc9f.09e4.0000 Src:00aa.0001.0102 Type:0x8863=PPPoE-Discovery
 PPPoE: Ver:1 Type:1 Code:19=PADR Sess:0 Len:48
 PPPoE: Type:0101:SVCNAME-Service Name Len:0
 PPPoE: Type:0103:HOSTUNIQ-Host Unique Tag Len:4
 PPPoE: 00000001
 PPPoE: Type:0102:ACNAME-AC Name Len:12
 PPPoE: PPPOE_Server
 
 PPPoE: Type:0104:ACCOOKIE-AC Cookie Len:16
 PPPoE: 9682A160
 PPPoE: 3EDB1E03
 PPPoE: DDDF8016
 PPPoE: 2E032E1C
 PPPoE:
   
 PPPoE: PPPoE:(Rcv) Dest:00aa.0001.0102 Src:cc9f.09e4.0000 Type:0x8863=PPPoE-Discovery
 PPPoE: Ver:1 Type:1 Code:65=PADS Sess:3 Len:48
 PPPoE: Type:0101:SVCNAME-Service Name Len:0
 PPPoE: Type:0103:HOSTUNIQ-Host Unique Tag Len:4
 PPPoE: 00000001
 PPPoE: Type:0102:ACNAME-AC Name Len:12
 PPPoE: PPPOE_Server
 
 PPPoE: Type:0104:ACCOOKIE-AC Cookie Len:16
 PPPoE: 9682A160
 PPPoE: 3EDB1E03
 PPPoE: DDDF8016
 PPPoE: 2E032E1C
 PPPoE:
 PPPoE: PADS
 PPPoE: IN PADS from PPPoE tunnel
 PPPoE: Opening PPP link and starting negotiations.
 到这里PIX上的pppoe 会话已经结束,已经得到从PPPOE SERVER上分配的地址
 
 PPPOE SERVER上开启debug之后,收到PIX上的PPPOE 会话请求
 PPPOE_SERVER#
 *Mar  1 00:34:17.583: PPPoE 0: I PADI  R:00aa.0001.0102 L:ffff.ffff.ffff Et0/0
 *Mar  1 00:34:17.583: PPPoE 0: O PADO, R:00aa.0001.0102 L:cc9f.0788.0000 Et0/0
 *Mar  1 00:34:17.639: PPPoE 0: I PADR  R:00aa.0001.0102 L:cc9f.0788.0000 Et0/0
 *Mar  1 00:34:17.639: PPPoE : encap string prepared
 *Mar  1 00:34:17.639: [2]PPPoE 2: Access IE handle allocated
 *Mar  1 00:34:17.639: [2]PPPoE 2: pppoe SSS switch updated
 *Mar  1 00:34:17.639: [2]PPPoE 2: AAA unique ID allocated
 *Mar  1 00:34:17.643: [2]PPPoE 2: No AAA accounting method list
 *Mar  1 00:34:17.643: [2]PPPoE 2: Service request sent to SSS
 *Mar  1 00:34:17.643: [2]PPPoE 2: Created  R:cc9f.0788.0000 L:00aa.0001.0102 Et0/0
 *Mar  1 00:34:17.647: [2]PPPoE 2: State REQ_NASPORT    Event MORE_KEYS
 *Mar  1 00:34:17.647: [2]PPPoE 2: O PADS  R:00aa.0001.0102 L:cc9f.0788.0000 Et0/0
 *Mar  1 00:34:17.651: ppp2 PPP: Using default call direction
 *Mar  1 00:34:17.651: ppp2 PPP: Treating connection as a dedicated line
 *Mar  1 00:34:17.651: ppp2 PPP: Session handle[73000003] Session id[2]
 *Mar  1 00:34:17.651: ppp2 PPP: Authorization required
 *Mar  1 00:34:17.655: [2]PPPoE 2: State START_PPP    Event DYN_BIND
 *Mar  1 00:34:17.655: [2]PPPoE 2: data path set to PPP PPPOE_SERVER# *Mar  1 00:34:20.679: ppp2 PAP: I AUTH-REQ id 1 len 24 from "wangwanli" *Mar  1 00:34:20.679: ppp2 PAP: Authenticating peer wangwanli *Mar  1 00:34:20.687: ppp2 PPP: Sent PAP LOGIN Request *Mar  1 00:34:20.687: ppp2 PPP: Received LOGIN Response PASS *Mar  1 00:34:20.691: [2]PPPoE 2: State LCP_NEGO    Event PPP_LOCAL *Mar  1 00:34:20.691: PPPoE 2/SB: Sent vtemplate request on base Vi1 *Mar  1 00:34:20.699: [2]PPPoE 2: State CREATE_VA    Event VA_RESP *Mar  1 00:34:20.699: [2]PPPoE 2: Vi1.1 interface obtained *Mar  1 00:34:20.699: [2]PPPoE 2: State PTA_BIND    Event STAT_BIND *Mar  1 00:34:20.699: [2]PPPoE 2: data path set to Virtual Acess PPPOE_SERVER# *Mar  1 00:34:20.703: [2]PPPoE 2: Connected PTA *Mar  1 00:34:20.707: Vi1.1 PPP: Sent LCP AUTHOR Request *Mar  1 00:34:20.707: Vi1.1 PPP: Sent IPCP AUTHOR Request *Mar  1 00:34:20.711: Vi1.1 LCP: Received AAA AUTHOR Response PASS *Mar  1 00:34:20.711: Vi1.1 IPCP: Received AAA AUTHOR Response PASS *Mar  1 00:34:20.711: Vi1.1 PAP: O AUTH-ACK id 1 len 5 //PAP认证通过
 
 
 pixfirewall# show vpdn session pppoe state PPPoE Session Information (Total tunnels=1 sessions=1) SessID TunID Intf     State       Last Chg     3      1 outside  SESSION_UP  2928 secs pixfirewall# show vpdn pppinterface //查看ppp会话,以及ppp认证方式 PPP virtual interface id = 1 PPP authentication protocol is PAP Server ip address is 192.168.0.1 Our ip address is 200.0.0.1 Transmitted Pkts: 122, Received Pkts: 121, Error Pkts: 0 MPPE key strength is None   MPPE_Encrypt_Pkts: 0,  MPPE_Encrypt_Bytes: 0   MPPE_Decrypt_Pkts: 0,  MPPE_Decrypt_Bytes: 0   Rcvd_Out_Of_Seq_MPPE_Pkts: 0
 
 pixfirewall#

  出处:http://hackerjx.blog.51cto.com/383839/145289

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章