Click here to Skip to main content
15,886,091 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
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.
Posted
Comments
Joan M 26-May-11 2:14am    
You shouldn't post more information neither messages to other users as answers... The idea here is to use "Improve question" to add more details to your question (go figure) and to use "Add Comment" or "reply" to comment a specific answer or comment from another user... Doing that like you've done it, nobody apart from you and new CPians that look at your question won't notice changes... Keep in mind that if you use the methods I've recommended answered users will receive notification e-mails. Moreover... marking a post as an accepted solution will keep others away from your post (bad move if you still need help).

1 solution

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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900