介绍

在ROS下配置可用的/31 IP地址是使用第二个顺位IP的。

RFC 3021 中提出了一种节省公共地址数量的方法,即把掩码配置为31位,用于点对点连接。

<!--more-->

如192.168.31.100/31 可用IP如下。

192.168.31.100
192.168.31.101

配置/31位点对点IP地址

/ip address

add address=192.168.31.101/31 interface=ether1 network=192.168.31.100

如上,你的IP地址必须为第二个地址,网络位地址指定为第一个地址。

博客

https://songxwn.com/


网工格物
20 声望4 粉丝