首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >迷航无效IP范围

迷航无效IP范围
EN

Unix & Linux用户
提问于 2022-11-17 21:01:07
回答 1查看 81关注 0票数 0
代码语言:javascript
复制
root  pop-os  /etc  mkdir vbox
root  pop-os  /etc  cd vbox/
root  pop-os  /etc/vbox  nano networks.conf

* 10.0.0.0/8 192.168.0.0/16
* 2001::/64

我使用这个解决方案来解决Vagrant的问题,然后再次运行它:

代码语言:javascript
复制
 root  pop-os  ../metasploitable3-workspace  curl -O https://raw.githubusercontent.com/rapid7/metasploitable3/master/Vagrantfile && vagrant up

错误:

代码语言:javascript
复制
The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.

  Address: 172.28.128.3
  Ranges: 10.0.0.0/8, 192.168.0.0/16, 2001::/64

Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:

  https://www.virtualbox.org/manual/ch06.html#network_hostonly

我也尝试了如下,因为我看到了一些地方,但同样的错误。

* 172.28.128.0/24

* 0.0.0.0/0 ::/0

为了学习目的,我正在遵循repo:https://github.com/rapid7/metasploitable3来安装元可绘制3。(我的意思是为什么这么难)。封隔器-真空- VirtualBox已安装.

EN

回答 1

Unix & Linux用户

发布于 2022-11-18 14:38:25

我找到了解决办法:

代码语言:javascript
复制
* 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12

RFC1918中定义并由IANA断言的三个预留专用网络空间的适当定义

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/725338

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档