基本 OpenPGM 设置

发布于 2024-12-14 12:34:07 字数 510 浏览 4 评论 0原文

我最近开始在三台虚拟 Linux 机上设置 OpenPGM,其中第四台虚拟机充当网关。理想情况下,我想在网关上使用wireshark观察流量。在此阶段,我仅使用示例应用程序( pgmrecv 和 pgmsend ),它们按预期运行,但一旦我在运行 pgmrecv 的计算机上设置静态 IP,它就会出错并中止自身,并显示以下消息:

** 错误 **:解析网络参数:无法确定接口“eth0”的唯一地址:互联网主机解析:临时 名称解析失败(-3)正在中止...已中止

说一句,eth0' 是我正在侦听的接口,并且该网络中没有涉及 dhcp 服务器。此外,网关还打开了端口转发。

我可以使用静态 IP 在该虚拟网络中的任何计算机之间执行 ping 操作。

有 openPGM 经验的人是否了解此错误的原因。分配静态IP会如何导致这种情况?

如果这是一个基本问题,我深表歉意;我是 openPGM 的新手,无法找到其他地方发布的有关此问题的信息。

提前致谢。

I've recently begun to setup OpenPGM on a threesome of virtual linux machine with a fourth virtual machine acting as a gateway. Ideally I would like to observe the traffic using wireshark on the gateway. At this stage I'm only using the sample applications ( pgmrecv and pgmsend ) which operate as expected, but as soon as I set a static IP on a machine running pgmrecv, it errors and aborts iteself with the message:

** ERROR **: parsing network parameter: Unique address cannot be determined for interface 'eth0': Internet host resolution: Temporary
failure in name resolution(-3) aborting... Aborted

BTW, eth0' is the interface I am listening on, and there is no dhcp server involved in this network. Also, the gateway has port forwarding turned on.

I can ping between any of the machine in this virtual network with the static IPs.

Does anybody with experience with openPGM understand the cause of this error. How would assigning a static IP cause this?

I apologize if this is a rudimentary question; I am new to openPGM and could not find information on this issue posted elsewhere.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蒲公英的约定 2024-12-21 12:34:07

虽然我无法解释错误消息,但我发现使用盒子的本地 IP 地址作为通过 -n 传递的参数会导致 pgmsend 和 pgmrecv 在具有静态 IP 地址的盒子上运行。

While I cannot explain the error message, I found that using the local IP address of the box as the argument passed with -n caused pgmsend and pgmrecv to function on a box with a static IP address.

花心好男孩 2024-12-21 12:34:07

如果你的 eth0 IP 地址是 192.168.1.1 那么你可以这样设置 openpgm 接收方:

sudo ./purinrecv -lp 7500 -n "192.168.1.1;239.192.1.1"

和发送方:

sudo ./purinsend -l -n "192.168.1.1;239.192.1.1" -p 7500 test_msg

If your eth0 ip address is 192.168.1.1 then you set openpgm reciever in this way:

sudo ./purinrecv -lp 7500 -n "192.168.1.1;239.192.1.1"

and sender in this way:

sudo ./purinsend -l -n "192.168.1.1;239.192.1.1" -p 7500 test_msg
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文