如题,本人先前使用 PON stick 替代光猫接入,最近进行了宽带移机
移机后 LOID 进行了变更,重新配置 PON stick 后发现 PPPOE 拨号失败
由于之前没有对光猫 MAC 做模拟,最初怀疑是 MAC 不正确,故修改 PON stick 模拟光猫 Pon 侧 MAC 地址
重新拨号后能够正常鉴权,获取 IP 及 DNS
但是 2 分钟后既被上联强制下线,后续 PPPOE 不再能够拨号成功
尝试换回源运营商光猫,发现运营商光猫也无法拨号了(此时运营商光猫没有修改过任何配置修改)
配置 PON stick 模拟另一 MAC 地址,能够重新正常拨号,但是同样 2 分钟后被上联强制下线,并无法重新拨号。能够确定是通过 MAC 地址进行了针对性措施。
附拨号日志:
Connect: pppoe-wan0 <--> eth1
sent [LCP ConfReq id=0x1 <mru 1492> <magic <magicNumber>>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic <magicNumber>>]
rcvd [LCP ConfReq id=0x2 <mru 1492> <auth pap> <magic <magicNumber>>]
sent [LCP ConfAck id=0x2 <mru 1492> <auth pap> <magic <magicNumber>>]
sent [LCP EchoReq id=0x0 magic=<magicNumber>]
sent [PAP AuthReq id=0x1 user="<user>" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=<magicNumber>]
rcvd [PAP AuthAck id=0x1 "Authentication success,Welcome!"]
Remote message: Authentication success,Welcome!
PAP authentication succeeded
peer from calling number <number> authorized
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr <IPV6>>]
rcvd [IPCP ConfReq id=0x1 <addr <remoteIP>>]
sent [IPCP ConfAck id=0x1 <addr <remoteIP>>]
rcvd [LCP ProtRej id=0x3 <HEX IPV6> ...]
Protocol-Reject for 'IPv6 Control Protocol' (0x8057) received
rcvd [IPCP ConfNak id=0x1 <addr <IP>> <ms-dns1 <DNS1>> <ms-dns2 <DNS2>>]
sent [IPCP ConfReq id=0x2 <addr <IP>> <ms-dns1 <DNS1>> <ms-dns2 <DNS2>>]
rcvd [IPCP ConfAck id=0x2 <addr <IP>> <ms-dns1 <DNS1>> <ms-dns2 <DNS2>>]
local IP address <IP>
remote IP address <remoteIP>
primary DNS address <DNS1>
secondary DNS address <DNS2>
Script /lib/netifd/ppp-up started (pid 14816)
Script /lib/netifd/ppp-up finished (pid 14816), status = 0x1
rcvd [LCP TermReq id=0x4]
LCP terminated by peer
Connect time 2.1 minutes.
Sent <SENT> bytes, received <RECV> bytes.
Script /lib/netifd/ppp-down started (pid 15200)
sent [LCP TermAck id=0x4]
Script /lib/netifd/ppp-down finished (pid 15200), status = 0x1
Connection terminated.
Modem hangup
terminate 后再次尝试既永远循环
sent [LCP ConfReq id=0x1 <mru 1492> <magic <magicNumber>>]
rcvd [LCP ConfReq id=0x2 <mru 1492> <auth pap> <magic <magicNumber>>]
sent [LCP ConfAck id=0x2 <mru 1492> <auth pap> <magic <magicNumber>>]
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.