hujun-open / zouppp

zouppp is a set of GO modules implements PPPoE, PPP and related protocols:
GNU General Public License v3.0
29 stars 10 forks source link

看日志,已拨号成功,但看本地网卡是并未绑定ip #5

Closed voilet closed 1 year ago

voilet commented 1 year ago

Failed:0 Duration:0s Interval:1ms Setup rate:0.22242203065444716 Fastest success:8.990601643s Success within 10 seconds:2 Slowest success:8.991900832s Avg success time:8.991251237s

2023-01-16/10:46:03 INFO l2ep&00:1b:21:4c:c1:8d#0x8863.5B0F.LCP lcp/lcp.go:867 sending echo-request 2023-01-16/10:46:03 INFO l2ep&00:1b:21:4c:c1:8e#0x8863.5B0E.LCP lcp/lcp.go:867 sending echo-request 2023-01-16/10:46:03 INFO l2ep&00:1b:21:4c:c1:8d#0x8863.5B0F.LCP lcp/lcp.go:498 got a EchoReply lcp pkt 2023-01-16/10:46:03 INFO l2ep&00:1b:21:4c:c1:8e#0x8863.5B0E.LCP lcp/lcp.go:498 got a EchoReply lcp pkt 2023-01-16/10:46:08 INFO l2ep&00:1b:21:4c:c1:8d#0x8863.5B0F.LCP lcp/lcp.go:867 sending echo-request

hujun-open commented 1 year ago

pppoe is not dhcp, it need a TUN interface for datapath. have you used "-a" parameter? which means apply the network configuration, including creating TUN interface like "zouppp0"

voilet commented 1 year ago

thank you very much I didn't pay much attention to the -a parameter at the time