Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测速已无法使用,显示 ParseCIDR err invalid CIDR address: 130.162.154./32 #488

Closed
iphone-four opened this issue Jan 9, 2024 · 1 comment

Comments

@iphone-four
Copy link

问题描述

测速已无法使用,显示 ParseCIDR err invalid CIDR address: 130.162.154./32

软件版本

v2.2.3

附加截图

屏幕截图 2024-01-09 142131

@iphone-four iphone-four added the 反馈问题 某些功能失效 或 没有达到预期 label Jan 9, 2024
@XIU2
Copy link
Owner

XIU2 commented Jan 9, 2024

报错信息里不都写了吗?你指定的 IP 段有问题:

130.162.154./32

你就没发现这个 IP 段少点什么吗?。。。最后一段数字哪里去了?


给你简单科普一下,更多的请自行了解,不要再犯这种常识性错误了。

正确写法:

130.162.154.1/32
130.162.154.2/32
...
130.162.154.254/32
130.162.154.255/32

子网掩码 /32 是代表只测速该 IP 自身,因此是可以省略的,比如直接写:130.162.154.1

如果你要测速 IPv4 地址的最后一段(0 ~ 255),那么子网掩码需要写为 /24,比如:130.162.154.1/24,这种情况最后一段可以是任何数字(0 ~ 255),当然默认是只会最后一段随机一个数字来测速,如果要全测速一遍,则需要加上启动参数 -allip

@XIU2 XIU2 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
@XIU2 XIU2 removed the 反馈问题 某些功能失效 或 没有达到预期 label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants