L2TP VPN 有线网卡能连接无法上网,使用无线网卡正常

mac os 升级到10.15后,L2TP VPN 有线网卡能连接无法上网,使用无线网卡正常,同环境下其他电脑就都正常,查看了下系统的L2TP连接日志,发现L2TP连接后有一条日志不一样。

有线: L2TP port-mapping update for en4 ignored: VPN is the Primary interface. Public Address: 0, Protocol: None, Private Port: 0, Public Port: 0

无线: L2TP port-mapping update for en0 ignored: VPN is the Primary interface. Public Address: 7011ae0e, Protocol: None, Private Port: 0, Public Port: 0

有线的public address 为0 会不会跟系统升级有关系。

Wed Oct 21 14:25:27 2020 : publish_entry SCDSet() failed: Success! Wed Oct 21 14:25:27 2020 : publish_entry SCDSet() failed: Success! Wed Oct 21 14:25:27 2020 : l2tp_get_router_address Wed Oct 21 14:25:27 2020 : l2tp_get_router_address 192.168.3.1 from dict 1 Wed Oct 21 14:25:27 2020 : L2TP connecting to server '211.138.130.71' (211.138.130.71)... Wed Oct 21 14:25:27 2020 : L2TP sent SCCRQ Wed Oct 21 14:25:27 2020 : L2TP received SCCRP Wed Oct 21 14:25:27 2020 : L2TP sent SCCCN Wed Oct 21 14:25:27 2020 : L2TP sent ICRQ Wed Oct 21 14:25:27 2020 : L2TP received ICRP Wed Oct 21 14:25:27 2020 : L2TP sent ICCN Wed Oct 21 14:25:27 2020 : L2TP connection established. Wed Oct 21 14:25:27 2020 : L2TP set port-mapping for en0, interface: 4, protocol: 0, privatePort: 0 Wed Oct 21 14:25:27 2020 : using link 0 Wed Oct 21 14:25:27 2020 : Using interface ppp0 Wed Oct 21 14:25:27 2020 : Connect: ppp0 <--> socket[34:18] Wed Oct 21 14:25:27 2020 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52d5a376> <pcomp> <accomp>] Wed Oct 21 14:25:27 2020 : rcvd [LCP ConfReq id=0x1 <mru 1492> <auth chap MD5> <magic 0xcb5b88e5>] Wed Oct 21 14:25:27 2020 : lcp_reqci: returning CONFACK. Wed Oct 21 14:25:27 2020 : sent [LCP ConfAck id=0x1 <mru 1492> <auth chap MD5> <magic 0xcb5b88e5>] Wed Oct 21 14:25:27 2020 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>] Wed Oct 21 14:25:27 2020 : sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x52d5a376>] Wed Oct 21 14:25:27 2020 : rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x52d5a376>] Wed Oct 21 14:25:27 2020 : sent [LCP EchoReq id=0x0 magic=0x52d5a376] Wed Oct 21 14:25:27 2020 : rcvd [CHAP Challenge id=0x1 <8c10cd31a60a67b995c43c03c0e91ebb>, name = "Huawei"] Wed Oct 21 14:25:27 2020 : sent [CHAP Response id=0x1 <695b6f7cafddc4ea8053cfc56b1fed57>, name = "hzbjf88048081"] Wed Oct 21 14:25:27 2020 : rcvd [LCP EchoRep id=0x0 magic=0xcb5b88e5] Wed Oct 21 14:25:27 2020 : rcvd [CHAP Success id=0x1 "0;User(hzbjf88048081) Authenticate OK, Request Accept by zj.cmcc.cn"] Wed Oct 21 14:25:27 2020 : CHAP authentication succeeded: 0;User(hzbjf88048081) Authenticate OK, Request Accept by zj.cmcc.cn Wed Oct 21 14:25:27 2020 : sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Wed Oct 21 14:25:27 2020 : sent [IPV6CP ConfReq id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Wed Oct 21 14:25:27 2020 : rcvd [IPCP ConfReq id=0x1 <addr 10.200.0.1>] Wed Oct 21 14:25:27 2020 : ipcp: returning Configure-ACK Wed Oct 21 14:25:27 2020 : sent [IPCP ConfAck id=0x1 <addr 10.200.0.1>] Wed Oct 21 14:25:27 2020 : rcvd [IPV6CP ConfReq id=0x1 <addr fe80::e635:c8ff:fe80:5cb1>] Wed Oct 21 14:25:27 2020 : sent [IPV6CP ConfAck id=0x1 <addr fe80::e635:c8ff:fe80:5cb1>] Wed Oct 21 14:25:27 2020 : rcvd [IPCP ConfNak id=0x1 <addr 10.200.123.110> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:25:27 2020 : sent [IPCP ConfReq id=0x2 <addr 10.200.123.110> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:25:27 2020 : rcvd [IPV6CP ConfAck id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Wed Oct 21 14:25:27 2020 : local LL address fe80::7a4f:43ff:fe53:2004 Wed Oct 21 14:25:27 2020 : remote LL address fe80::e635:c8ff:fe80:5cb1 Wed Oct 21 14:25:27 2020 : rcvd [IPCP ConfAck id=0x2 <addr 10.200.123.110> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:25:27 2020 : ipcp: up Wed Oct 21 14:25:27 2020 : local IP address 10.200.123.110 Wed Oct 21 14:25:27 2020 : remote IP address 10.200.0.1 Wed Oct 21 14:25:27 2020 : primary DNS address 211.140.13.188 Wed Oct 21 14:25:27 2020 : secondary DNS address 211.140.188.188 Wed Oct 21 14:25:27 2020 : Received protocol dictionaries Wed Oct 21 14:25:27 2020 : l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.3.56), current interface setting (name: ppp0, family: PPP, address: 10.200.123.110, subnet: 255.0.0.0, destination: 10.200.0.1). Wed Oct 21 14:25:27 2020 : Committed PPP store on install command Wed Oct 21 14:25:28 2020 : L2TP port-mapping update for en0 ignored: VPN is the Primary interface. Public Address: 7011ae0e, Protocol: None, Private Port: 0, Public Port: 0 Wed Oct 21 14:25:28 2020 : L2TP clearing port-mapping for en0 Wed Oct 21 14:25:46 2020 : [TERMINATE] Wed Oct 21 14:25:46 2020 : Terminating on signal 15. Wed Oct 21 14:25:46 2020 : ipcp: down Wed Oct 21 14:25:46 2020 : sent [LCP TermReq id=0x3 "User request"] Wed Oct 21 14:25:46 2020 : Connection terminated. Wed Oct 21 14:25:46 2020 : Connect time 0.4 minutes. Wed Oct 21 14:25:46 2020 : Sent 100389 bytes, received 344047 bytes. Wed Oct 21 14:25:46 2020 : L2TP disconnecting... Wed Oct 21 14:25:46 2020 : L2TP sent CDN Wed Oct 21 14:25:46 2020 : L2TP sent StopCCN Wed Oct 21 14:25:46 2020 : L2TP clearing port-mapping for en0 Wed Oct 21 14:25:46 2020 : L2TP disconnected
Wed Oct 21 14:13:52 2020 : publish_entry SCDSet() failed: Success! Wed Oct 21 14:13:52 2020 : publish_entry SCDSet() failed: Success! Wed Oct 21 14:13:52 2020 : l2tp_get_router_address Wed Oct 21 14:13:52 2020 : l2tp_get_router_address 10.71.125.129 from dict 0 Wed Oct 21 14:13:52 2020 : L2TP connecting to server '211.138.130.71' (211.138.130.71)... Wed Oct 21 14:13:52 2020 : L2TP sent SCCRQ Wed Oct 21 14:13:52 2020 : L2TP received SCCRP Wed Oct 21 14:13:52 2020 : L2TP sent SCCCN Wed Oct 21 14:13:52 2020 : L2TP sent ICRQ Wed Oct 21 14:13:52 2020 : L2TP received ICRP Wed Oct 21 14:13:52 2020 : L2TP sent ICCN Wed Oct 21 14:13:52 2020 : L2TP connection established. Wed Oct 21 14:13:52 2020 : L2TP set port-mapping for en4, interface: 17, protocol: 0, privatePort: 0 Wed Oct 21 14:13:52 2020 : using link 0 Wed Oct 21 14:13:52 2020 : Using interface ppp0 Wed Oct 21 14:13:52 2020 : Connect: ppp0 <--> socket[34:18] Wed Oct 21 14:13:52 2020 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x74a0e69a> <pcomp> <accomp>] Wed Oct 21 14:13:52 2020 : rcvd [LCP ConfReq id=0x1 <mru 1492> <auth chap MD5> <magic 0xd9f26d70>] Wed Oct 21 14:13:52 2020 : lcp_reqci: returning CONFACK. Wed Oct 21 14:13:52 2020 : sent [LCP ConfAck id=0x1 <mru 1492> <auth chap MD5> <magic 0xd9f26d70>] Wed Oct 21 14:13:52 2020 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>] Wed Oct 21 14:13:52 2020 : sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x74a0e69a>] Wed Oct 21 14:13:52 2020 : rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x74a0e69a>] Wed Oct 21 14:13:52 2020 : sent [LCP EchoReq id=0x0 magic=0x74a0e69a] Wed Oct 21 14:13:52 2020 : rcvd [CHAP Challenge id=0x1 <37f8cb98911219f44fe6abfe057aa1ce>, name = "Huawei"] Wed Oct 21 14:13:52 2020 : sent [CHAP Response id=0x1 <4f8b4a3b02cc492fdc6d37b55fbe6500>, name = "hzbjf88048081"] Wed Oct 21 14:13:52 2020 : rcvd [LCP EchoRep id=0x0 magic=0xd9f26d70] Wed Oct 21 14:13:52 2020 : rcvd [CHAP Success id=0x1 "0;User(hzbjf88048081) Authenticate OK, Request Accept by zj.cmcc.cn"] Wed Oct 21 14:13:52 2020 : CHAP authentication succeeded: 0;User(hzbjf88048081) Authenticate OK, Request Accept by zj.cmcc.cn Wed Oct 21 14:13:52 2020 : sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Wed Oct 21 14:13:52 2020 : sent [IPV6CP ConfReq id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Wed Oct 21 14:13:52 2020 : rcvd [IPCP ConfReq id=0x1 <addr 10.200.0.1>] Wed Oct 21 14:13:52 2020 : ipcp: returning Configure-ACK Wed Oct 21 14:13:52 2020 : sent [IPCP ConfAck id=0x1 <addr 10.200.0.1>] Wed Oct 21 14:13:52 2020 : rcvd [IPV6CP ConfReq id=0x1 <addr fe80::e635:c8ff:fe80:5cb1>] Wed Oct 21 14:13:52 2020 : sent [IPV6CP ConfAck id=0x1 <addr fe80::e635:c8ff:fe80:5cb1>] Wed Oct 21 14:13:52 2020 : rcvd [IPCP ConfNak id=0x1 <addr 10.200.114.251> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:13:52 2020 : sent [IPCP ConfReq id=0x2 <addr 10.200.114.251> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:13:52 2020 : rcvd [IPV6CP ConfAck id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Wed Oct 21 14:13:52 2020 : local LL address fe80::7a4f:43ff:fe53:2004 Wed Oct 21 14:13:52 2020 : remote LL address fe80::e635:c8ff:fe80:5cb1 Wed Oct 21 14:13:52 2020 : rcvd [IPCP ConfAck id=0x2 <addr 10.200.114.251> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Wed Oct 21 14:13:52 2020 : ipcp: up Wed Oct 21 14:13:52 2020 : local IP address 10.200.114.251 Wed Oct 21 14:13:52 2020 : remote IP address 10.200.0.1 Wed Oct 21 14:13:52 2020 : primary DNS address 211.140.13.188 Wed Oct 21 14:13:52 2020 : secondary DNS address 211.140.188.188 Wed Oct 21 14:13:52 2020 : Received protocol dictionaries Wed Oct 21 14:13:52 2020 : l2tp_wait_input: Address added. previous interface setting (name: en4, address: 10.71.125.145), current interface setting (name: ppp0, family: PPP, address: 10.200.114.251, subnet: 255.255.255.128, destination: 10.200.0.1). Wed Oct 21 14:13:52 2020 : Committed PPP store on install command Wed Oct 21 14:13:56 2020 : L2TP port-mapping update for en4 ignored: VPN is the Primary interface. Public Address: 0, Protocol: None, Private Port: 0, Public Port: 0 Wed Oct 21 14:13:56 2020 : L2TP clearing port-mapping for en4 Wed Oct 21 14:18:56 2020 : [TERMINATE] Wed Oct 21 14:18:56 2020 : Terminating on signal 15. Wed Oct 21 14:18:56 2020 : ipcp: down Wed Oct 21 14:18:56 2020 : sent [LCP TermReq id=0x3 "User request"] Wed Oct 21 14:18:56 2020 : Connection terminated. Wed Oct 21 14:18:56 2020 : Connect time 5.1 minutes. Wed Oct 21 14:18:56 2020 : Sent 63511 bytes, received 157612 bytes. Wed Oct 21 14:18:56 2020 : L2TP disconnecting... Wed Oct 21 14:18:56 2020 : L2TP sent CDN Wed Oct 21 14:18:56 2020 : L2TP sent StopCCN Wed Oct 21 14:18:56 2020 : L2TP clearing port-mapping for en4 Wed Oct 21 14:18:56 2020 : L2TP disconnected


MacBook

发布日期 2020年10月25日 下午12:43

回复
问题被标记为 ⚠️ 排名最靠前的回复

发布日期 2020年10月28日 下午2:16

L2TP拨号,是啥意思?是PPPoE?原来用的什么系统?

前后有三个subnet:255.0.0.0; 255.255.255.128; 255.255.0.0,如果是自己的服务器,检查下;不是,问问服务提供商,到底怎么回事。


下面只能提普遍建议:

把配置都核对下;是macOS自带的还是第三方的App;升级到最新系统10.15.7;对比检查VPN前后和不同设备的路由表;检查DNS;协助使用traceroute命令查看路由情况等等

回复量: 3
排序方式: 
问题被标记为 ⚠️ 排名最靠前的回复

2020年10月28日 下午2:16 回应 珺蓝

L2TP拨号,是啥意思?是PPPoE?原来用的什么系统?

前后有三个subnet:255.0.0.0; 255.255.255.128; 255.255.0.0,如果是自己的服务器,检查下;不是,问问服务提供商,到底怎么回事。


下面只能提普遍建议:

把配置都核对下;是macOS自带的还是第三方的App;升级到最新系统10.15.7;对比检查VPN前后和不同设备的路由表;检查DNS;协助使用traceroute命令查看路由情况等等

回复

2020年10月27日 下午8:28 回应 tonyfromcalgary

L2TP拨号获取了172网段的IP后,public address还是0,还是上不了网

Mon Oct 26 14:23:59 2020 : publish_entry SCDSet() failed: Success! Mon Oct 26 14:23:59 2020 : publish_entry SCDSet() failed: Success! Mon Oct 26 14:23:59 2020 : l2tp_get_router_address Mon Oct 26 14:23:59 2020 : l2tp_get_router_address 10.71.125.129 from dict 0 Mon Oct 26 14:23:59 2020 : L2TP connecting to server '221.131.175.119' (221.131.175.119)... Mon Oct 26 14:23:59 2020 : L2TP sent SCCRQ Mon Oct 26 14:23:59 2020 : L2TP received SCCRP Mon Oct 26 14:23:59 2020 : L2TP sent SCCCN Mon Oct 26 14:23:59 2020 : L2TP sent ICRQ Mon Oct 26 14:23:59 2020 : L2TP received ICRP Mon Oct 26 14:23:59 2020 : L2TP sent ICCN Mon Oct 26 14:23:59 2020 : L2TP connection established. Mon Oct 26 14:23:59 2020 : L2TP set port-mapping for en4, interface: 13, protocol: 0, privatePort: 0 Mon Oct 26 14:23:59 2020 : using link 0 Mon Oct 26 14:23:59 2020 : Using interface ppp0 Mon Oct 26 14:23:59 2020 : Connect: ppp0 <--> socket[34:18] Mon Oct 26 14:23:59 2020 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7b8508e8> <pcomp> <accomp>] Mon Oct 26 14:23:59 2020 : rcvd [LCP ConfReq id=0x1 <mru 1492> <auth chap MD5> <magic 0x88ef7c9f>] Mon Oct 26 14:23:59 2020 : lcp_reqci: returning CONFACK. Mon Oct 26 14:23:59 2020 : sent [LCP ConfAck id=0x1 <mru 1492> <auth chap MD5> <magic 0x88ef7c9f>] Mon Oct 26 14:23:59 2020 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>] Mon Oct 26 14:23:59 2020 : sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x7b8508e8>] Mon Oct 26 14:23:59 2020 : rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x7b8508e8>] Mon Oct 26 14:23:59 2020 : sent [LCP EchoReq id=0x0 magic=0x7b8508e8] Mon Oct 26 14:23:59 2020 : rcvd [CHAP Challenge id=0x1 <fc5ca40e622854fbd3eacdec4f1741b5>, name = "Huawei"] Mon Oct 26 14:23:59 2020 : sent [CHAP Response id=0x1 <f1b10e582ad09769b0a9a16f83ba6754>, name = "hzgsa88059074"] Mon Oct 26 14:23:59 2020 : rcvd [LCP EchoRep id=0x0 magic=0x88ef7c9f] Mon Oct 26 14:23:59 2020 : rcvd [CHAP Success id=0x1 "0;User(hzgsa88059074) Authenticate OK, Request Accept by zj.cmcc.cn"] Mon Oct 26 14:23:59 2020 : CHAP authentication succeeded: 0;User(hzgsa88059074) Authenticate OK, Request Accept by zj.cmcc.cn Mon Oct 26 14:23:59 2020 : sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Mon Oct 26 14:23:59 2020 : sent [IPV6CP ConfReq id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Mon Oct 26 14:23:59 2020 : rcvd [IPCP ConfReq id=0x1 <addr 172.17.0.1>] Mon Oct 26 14:23:59 2020 : ipcp: returning Configure-ACK Mon Oct 26 14:23:59 2020 : sent [IPCP ConfAck id=0x1 <addr 172.17.0.1>] Mon Oct 26 14:23:59 2020 : rcvd [IPV6CP ConfReq id=0x1 <addr fe80::a600:e2ff:fee1:2363>] Mon Oct 26 14:23:59 2020 : sent [IPV6CP ConfAck id=0x1 <addr fe80::a600:e2ff:fee1:2363>] Mon Oct 26 14:23:59 2020 : rcvd [IPCP ConfNak id=0x1 <addr 172.17.117.19> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Mon Oct 26 14:23:59 2020 : sent [IPCP ConfReq id=0x2 <addr 172.17.117.19> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Mon Oct 26 14:23:59 2020 : rcvd [IPV6CP ConfAck id=0x1 <addr fe80::7a4f:43ff:fe53:2004>] Mon Oct 26 14:23:59 2020 : local LL address fe80::7a4f:43ff:fe53:2004 Mon Oct 26 14:23:59 2020 : remote LL address fe80::a600:e2ff:fee1:2363 Mon Oct 26 14:23:59 2020 : rcvd [IPCP ConfAck id=0x2 <addr 172.17.117.19> <ms-dns1 211.140.13.188> <ms-dns3 211.140.188.188>] Mon Oct 26 14:23:59 2020 : ipcp: up Mon Oct 26 14:23:59 2020 : local IP address 172.17.117.19 Mon Oct 26 14:23:59 2020 : remote IP address 172.17.0.1 Mon Oct 26 14:23:59 2020 : primary DNS address 211.140.13.188 Mon Oct 26 14:23:59 2020 : secondary DNS address 211.140.188.188 Mon Oct 26 14:23:59 2020 : Received protocol dictionaries Mon Oct 26 14:23:59 2020 : l2tp_wait_input: Address added. previous interface setting (name: en4, address: 10.71.125.145), current interface setting (name: ppp0, family: PPP, address: 172.17.117.19, subnet: 255.255.0.0, destination: 172.17.0.1). Mon Oct 26 14:23:59 2020 : Committed PPP store on install command Mon Oct 26 14:24:03 2020 : L2TP port-mapping update for en4 ignored: VPN is the Primary interface. Public Address: 0, Protocol: None, Private Port: 0, Public Port: 0 Mon Oct 26 14:24:03 2020 : L2TP clearing port-mapping for en4 Mon Oct 26 14:28:37 2020 : [TERMINATE] Mon Oct 26 14:28:37 2020 : Terminating on signal 15. Mon Oct 26 14:28:37 2020 : ipcp: down Mon Oct 26 14:28:37 2020 : sent [LCP TermReq id=0x3 "User request"] Mon Oct 26 14:28:37 2020 : Connection terminated. Mon Oct 26 14:28:37 2020 : Connect time 4.7 minutes. Mon Oct 26 14:28:37 2020 : Sent 47713 bytes, received 107088 bytes. Mon Oct 26 14:28:37 2020 : L2TP disconnecting... Mon Oct 26 14:28:37 2020 : L2TP sent CDN Mon Oct 26 14:28:37 2020 : L2TP sent StopCCN Mon Oct 26 14:28:37 2020 : L2TP clearing port-mapping for en4 Mon Oct 26 14:28:37 2020 : L2TP disconnected


回复

2020年10月26日 上午7:26 回应 珺蓝

有线网的子网与VPN的子网冲突导致,它们都是用10.x.x.x网段,而子网掩码冲突。

虽不知道有线网连接的内网子网如何,en4的路由网址是10.71.125.129,而VPN的子网要求的是255.0.0.0,覆盖了所有的10.x.x.x的网段,它们之间冲突;而无线网内网是192.168.x.x,与之不冲突。


回复

这个主题已被系统或社区团队关闭。 你可以为你认为有帮助的任何帖子投票,也可以在社区中搜索其他答案。

L2TP VPN 有线网卡能连接无法上网,使用无线网卡正常

欢迎来到 Apple 支持社区
Apple 客户在其产品方面互相帮助的论坛。使用您的 Apple 帐户开始畅游其中吧!!