Pocket Beagle 如何将 192.168.7.2 分配给自己,将 192.168.7.1 分配给它通过 USB 连接的计算机?

How does the Pocket Beagle assign 192.168.7.2 to itself and 192.168.7.1 to the computer it is connected to via USB?

我知道它是 运行 某种本地 DHCP 服务器,但具体是什么 Pocket Beagle/Beagle Bone Black 运行 允许它分配地址192.168.7.2 到它自己和 192.168.7.1 到它所连接的计算机?如果我想将这些地址更改为其他地址,我该怎么做?

本文来自BeagleBoard.org:

If connected via USB, a network adapter should show up on your computer. Your Beagle should be running a DHCP server that will provide your computer with an IP address of either 192.168.7.1 or 192.168.6.1, depending on the type of USB network adapter supported by your computer's operating system. Your Beagle will reserve 192.168.7.2 or 192.168.6.2 for itself.

If your Beagle includes WiFi, an access point called "BeagleBone-XXXX" where "XXXX" varies between boards. The access point password defaults to "BeagleBone". Your Beagle should be running a DHCP server that will provide your computer with an IP address in the 192.168.8.x range and reserve 192.168.8.1 for itself.

在装有 Debian Buster 的 BeagleBone Blue 上,我在 /etc/dnsmasq.d/SoftAp0 文件中找到了配置:

这是服务: