当前位置: 技术问答>linux和unix
在freebsd8.2中mpd5 pppoe服务器,能拨号,但是不能上网!
来源: 互联网 发布时间:2016-12-26
本文导语: process 292 started, version 5.5 (root@07fly.com 09:50 6-May-2011) CONSOLE: listening on 127.0.0.1 5005 web: listening on 127.0.0.1 5006 radsrv: listening on 0.0.0.0 3799 PPPoE: waiting for connection on em0:, service "xyz" [em0] Incoming PPPoE connectio...
process 292 started, version 5.5 (root@07fly.com 09:50 6-May-2011)
CONSOLE: listening on 127.0.0.1 5005
web: listening on 127.0.0.1 5006
radsrv: listening on 0.0.0.0 3799
PPPoE: waiting for connection on em0:, service "xyz"
[em0] Incoming PPPoE connection request via em0: for service "xyz" from 00:0c:29:21:2c:66
[em0-2] Accepting PPPoE connection
[em0-2] Link: OPEN event
[em0-2] LCP: Open event
[em0-2] LCP: state change Initial --> Starting
[em0-2] LCP: LayerStart
[em0-2] PPPoE: connection successful
[em0-2] Link: UP event
[em0-2] LCP: Up event
[em0-2] LCP: state change Starting --> Req-Sent
[em0-2] LCP: SendConfigReq #1
[em0-2] PROTOCOMP
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: rec'd Configure Request #0 (Req-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] CALLBACK 6
[em0-2] LCP: SendConfigRej #0
[em0-2] CALLBACK 6
[em0-2] LCP: rec'd Configure Reject #1 (Req-Sent)
[em0-2] PROTOCOMP
[em0-2] LCP: SendConfigReq #2
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: rec'd Configure Request #1 (Req-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] LCP: SendConfigAck #1
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] LCP: state change Req-Sent --> Ack-Sent
[em0-2] LCP: rec'd Configure Ack #2 (Ack-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: state change Ack-Sent --> Opened
[em0-2] LCP: auth: peer wants nothing, I want CHAP
[em0-2] CHAP: sending CHALLENGE #1 len: 21
[em0-2] LCP: LayerUp
[em0-2] LCP: rec'd Ident #2 (Opened)
[em0-2] MESG: MSRASV5.10
[em0-2] LCP: rec'd Ident #3 (Opened)
[em0-2] MESG: MSRAS-0-DB2EA9BF7AA5484
[em0-2] CHAP: rec'd RESPONSE #1 len: 56
[em0-2] Name: "xx"
[em0-2] AUTH: Trying RADIUS
[em0-2] RADIUS: Authenticating user 'xx'
[em0-2] RADIUS: Rec'd RAD_ACCESS_ACCEPT for user 'xx'
[em0-2] AUTH: RADIUS returned: authenticated
[em0-2] CHAP: Auth return status: authenticated
[em0-2] CHAP: Reply message: S=DCA56911E0A68EF8DD956A04D3029800539793CE
[em0-2] CHAP: sending SUCCESS #1 len: 46
[em0-2] LCP: authorization successful
[em0-2] Link: Matched action 'bundle "pppsrvr" ""'
[em0-2] Creating new bundle using template "pppsrvr".
[pppsrvr-1] Bundle: Interface ng0 created
[em0-2] Link: Join bundle "pppsrvr-1"
[pppsrvr-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
[pppsrvr-1] IPCP: Open event
[pppsrvr-1] IPCP: state change Initial --> Starting
[pppsrvr-1] IPCP: LayerStart
[pppsrvr-1] IPCP: Up event
[pppsrvr-1] IPCP: Got IP 172.18.0.1 from pool "pppoe_ippool" for peer
[pppsrvr-1] IPCP: state change Starting --> Req-Sent
[pppsrvr-1] IPCP: SendConfigReq #1
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[em0-2] RADIUS: Accounting user 'xx' (Type: 1)
[em0-2] RADIUS: Rec'd RAD_ACCOUNTING_RESPONSE for user 'xx'
[em0-2] rec'd unexpected protocol CCP, rejecting
[pppsrvr-1] IPCP: rec'd Configure Request #5 (Req-Sent)
[pppsrvr-1] IPADDR 0.0.0.0
[pppsrvr-1] NAKing with 172.18.0.1
[pppsrvr-1] PRIDNS 0.0.0.0
[pppsrvr-1] NAKing with 61.139.2.69
[pppsrvr-1] PRINBNS 0.0.0.0
[pppsrvr-1] SECDNS 0.0.0.0
[pppsrvr-1] SECNBNS 0.0.0.0
[pppsrvr-1] IPCP: SendConfigRej #5
[pppsrvr-1] PRINBNS 0.0.0.0
[pppsrvr-1] SECDNS 0.0.0.0
[pppsrvr-1] SECNBNS 0.0.0.0
[pppsrvr-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
[pppsrvr-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pppsrvr-1] IPCP: SendConfigReq #2
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] IPCP: rec'd Configure Request #6 (Req-Sent)
[pppsrvr-1] IPADDR 0.0.0.0
[pppsrvr-1] NAKing with 172.18.0.1
[pppsrvr-1] PRIDNS 0.0.0.0
[pppsrvr-1] NAKing with 61.139.2.69
[pppsrvr-1] IPCP: SendConfigNak #6
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] IPCP: state change Req-Sent --> Ack-Rcvd
[pppsrvr-1] IPCP: rec'd Configure Request #7 (Ack-Rcvd)
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] 172.18.0.1 is OK
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: SendConfigAck #7
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: state change Ack-Rcvd --> Opened
[pppsrvr-1] IPCP: LayerUp
[pppsrvr-1] 18.18.18.18 -> 172.18.0.1
[pppsrvr-1] IFACE: Up event
这是我MPD参数,但是现在拨号客户端ping 18.18.18.18 都不通,
客户端IP,是172.18.0.1
pppoe服务器地址:18.18.18.18
CONSOLE: listening on 127.0.0.1 5005
web: listening on 127.0.0.1 5006
radsrv: listening on 0.0.0.0 3799
PPPoE: waiting for connection on em0:, service "xyz"
[em0] Incoming PPPoE connection request via em0: for service "xyz" from 00:0c:29:21:2c:66
[em0-2] Accepting PPPoE connection
[em0-2] Link: OPEN event
[em0-2] LCP: Open event
[em0-2] LCP: state change Initial --> Starting
[em0-2] LCP: LayerStart
[em0-2] PPPoE: connection successful
[em0-2] Link: UP event
[em0-2] LCP: Up event
[em0-2] LCP: state change Starting --> Req-Sent
[em0-2] LCP: SendConfigReq #1
[em0-2] PROTOCOMP
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: rec'd Configure Request #0 (Req-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] CALLBACK 6
[em0-2] LCP: SendConfigRej #0
[em0-2] CALLBACK 6
[em0-2] LCP: rec'd Configure Reject #1 (Req-Sent)
[em0-2] PROTOCOMP
[em0-2] LCP: SendConfigReq #2
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: rec'd Configure Request #1 (Req-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] LCP: SendConfigAck #1
[em0-2] MRU 1480
[em0-2] MAGICNUM 56a90931
[em0-2] LCP: state change Req-Sent --> Ack-Sent
[em0-2] LCP: rec'd Configure Ack #2 (Ack-Sent)
[em0-2] MRU 1480
[em0-2] MAGICNUM ac90f4dc
[em0-2] AUTHPROTO CHAP MSOFTv2
[em0-2] LCP: state change Ack-Sent --> Opened
[em0-2] LCP: auth: peer wants nothing, I want CHAP
[em0-2] CHAP: sending CHALLENGE #1 len: 21
[em0-2] LCP: LayerUp
[em0-2] LCP: rec'd Ident #2 (Opened)
[em0-2] MESG: MSRASV5.10
[em0-2] LCP: rec'd Ident #3 (Opened)
[em0-2] MESG: MSRAS-0-DB2EA9BF7AA5484
[em0-2] CHAP: rec'd RESPONSE #1 len: 56
[em0-2] Name: "xx"
[em0-2] AUTH: Trying RADIUS
[em0-2] RADIUS: Authenticating user 'xx'
[em0-2] RADIUS: Rec'd RAD_ACCESS_ACCEPT for user 'xx'
[em0-2] AUTH: RADIUS returned: authenticated
[em0-2] CHAP: Auth return status: authenticated
[em0-2] CHAP: Reply message: S=DCA56911E0A68EF8DD956A04D3029800539793CE
[em0-2] CHAP: sending SUCCESS #1 len: 46
[em0-2] LCP: authorization successful
[em0-2] Link: Matched action 'bundle "pppsrvr" ""'
[em0-2] Creating new bundle using template "pppsrvr".
[pppsrvr-1] Bundle: Interface ng0 created
[em0-2] Link: Join bundle "pppsrvr-1"
[pppsrvr-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
[pppsrvr-1] IPCP: Open event
[pppsrvr-1] IPCP: state change Initial --> Starting
[pppsrvr-1] IPCP: LayerStart
[pppsrvr-1] IPCP: Up event
[pppsrvr-1] IPCP: Got IP 172.18.0.1 from pool "pppoe_ippool" for peer
[pppsrvr-1] IPCP: state change Starting --> Req-Sent
[pppsrvr-1] IPCP: SendConfigReq #1
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[em0-2] RADIUS: Accounting user 'xx' (Type: 1)
[em0-2] RADIUS: Rec'd RAD_ACCOUNTING_RESPONSE for user 'xx'
[em0-2] rec'd unexpected protocol CCP, rejecting
[pppsrvr-1] IPCP: rec'd Configure Request #5 (Req-Sent)
[pppsrvr-1] IPADDR 0.0.0.0
[pppsrvr-1] NAKing with 172.18.0.1
[pppsrvr-1] PRIDNS 0.0.0.0
[pppsrvr-1] NAKing with 61.139.2.69
[pppsrvr-1] PRINBNS 0.0.0.0
[pppsrvr-1] SECDNS 0.0.0.0
[pppsrvr-1] SECNBNS 0.0.0.0
[pppsrvr-1] IPCP: SendConfigRej #5
[pppsrvr-1] PRINBNS 0.0.0.0
[pppsrvr-1] SECDNS 0.0.0.0
[pppsrvr-1] SECNBNS 0.0.0.0
[pppsrvr-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
[pppsrvr-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pppsrvr-1] IPCP: SendConfigReq #2
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] IPCP: rec'd Configure Request #6 (Req-Sent)
[pppsrvr-1] IPADDR 0.0.0.0
[pppsrvr-1] NAKing with 172.18.0.1
[pppsrvr-1] PRIDNS 0.0.0.0
[pppsrvr-1] NAKing with 61.139.2.69
[pppsrvr-1] IPCP: SendConfigNak #6
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
[pppsrvr-1] IPADDR 18.18.18.18
[pppsrvr-1] IPCP: state change Req-Sent --> Ack-Rcvd
[pppsrvr-1] IPCP: rec'd Configure Request #7 (Ack-Rcvd)
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] 172.18.0.1 is OK
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: SendConfigAck #7
[pppsrvr-1] IPADDR 172.18.0.1
[pppsrvr-1] PRIDNS 61.139.2.69
[pppsrvr-1] IPCP: state change Ack-Rcvd --> Opened
[pppsrvr-1] IPCP: LayerUp
[pppsrvr-1] 18.18.18.18 -> 172.18.0.1
[pppsrvr-1] IFACE: Up event
这是我MPD参数,但是现在拨号客户端ping 18.18.18.18 都不通,
客户端IP,是172.18.0.1
pppoe服务器地址:18.18.18.18
|
dhcp么,一般adsl都是dhcp的,dns什么的都帮你指定好
|
看错了,
你客户端IP地址怎么是这个网段的呢?
是通过DHCP分配的地址吗?如果不是会不会和你没有设置网关有关系?
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。