PPP over Dialup无法通过以太网电缆传输TCP数据包 [英] PPP over dialup failing to transfer tcp packets with out ethernet cable

查看:169
本文介绍了PPP over Dialup无法通过以太网电缆传输TCP数据包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题陈述:


终端上的TCP over IP/PPP/Dialup连接失败 以太网电缆已分离

Test1:终端用户应用程序配置为在PPP over上使用TCP/IP 拨号.以太网电缆已拔出.终端成功建立调制解调器
和PPP连接,但在TCP连接之前会立即断开连接
尝试.

Test2:以太网电缆连接到集线器.终端成功建立
调制解调器,到远程主机的PPP连接和TCP连接(通过
PPP/拨号).

C ++代码


我们如何区分PPP的DNS请求和以太网的DNS请求.现在,此刻,使用DNS的PPP尝试通过以太网工作,这当然是不正确的行为.


Problem statement:

TCP over IP/PPP/Dialup connection failed on terminal, when
Ethernet cable detached

Test1: terminal user application configured to use TCP/IP over PPP over
Dialup. Ethernet cable is detached. Terminal successfully establish modem
and PPP connections, but immediately disconnects before TCP connection
attempt.

Test2: Ethernet cable attached to Hub. Terminal successfully establishes
modem, PPP connections and TCP connection to remote host (over
PPP/dialup).

C++ Code


how we can separate DNS requests for PPP and DNS requests for Ethernet. Now, at this moment, PPP using DNS, which tries to work through Ethernet and this, of course, is incorrect behavior.


any body pls help on this.

推荐答案

鸡肉和鸡蛋.您需要先通过PPP建立TCP/IP,然后才能使用DNS.因此,您必须做的是在建立连接之前避免对DNS的要求.为此,请使用Wireshark之​​类的工具观察以太网链路上的DNS流量.然后,您应该能够弄清楚如何避免DNS,例如,在PPP链接建立过程中指定IP地址而不是DNS名称.

在不进一步了解您的设置的情况下,这是我所能做的.希望对您有所帮助.

干杯,
彼得
Chicken and egg. You need to establish TCP/IP over PPP before you can use DNS. So, what you must do is avoid the requirement for DNS before the connection is established. To do this, use something like Wireshark to observe the DNS traffic on the Ethernet link. Then, you should be able to figure out how to avoid DNS, for example by specifying an IP address instead of a DNS name during the PPP link establishment.

Without knowing more about your setup, this is as far as I can go. Hope it helps.

Cheers,
Peter


这篇关于PPP over Dialup无法通过以太网电缆传输TCP数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆