Solved

How to select "default" network interface in WIN2K

Posted on 2004-10-19
7
156 Views
Last Modified: 2013-11-09
My computer at home has 2 TCP/IP enabled network interfaces: the physical LAN, and the WAN, which is actually a PPPoE adapter running over the LAN.
All of this works fine, except when I try to run the Net2phone (actually ICQphone) client to make a PC-to-PC call over the internet. A packet sniffer reveals that, during the negotitation of the VoIP connection, Net2Phone sends my internal IP adress (10.0.0.1) to my correspondent's PC, which consequently sends its datagrams into the void. The net result is that, despite the fact that my correspondent is able to hear me, I hear nothing.
When I create a Winsock control and query its LocalIP attribute, it also returns the internal IP address.

So, basically, my question boils down to this: how can I choose TCP/IP or winsock (don't know exactly at which layer the problem occurs) to default to the external interface and ditto IP address, instead of the internal one? Or have I been to zealous at disabling services like RASman?

Any effort to shed light on this problem will be greatly appreciated.
0
Comment
Question by:LeoTer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 9

Expert Comment

by:cooledit
ID: 12357108
Hi, LeoTer

Since you have 2 NIC interface's I asume that you then have 2 subnet's

10.x.x.x.x
192.168.x.x

If you are running a Win OS you could then do a Add route 10.x.x.x subnet 255.0.0.0 over there default gateway 10.x.x.x
then tryout a c:\ route print....

Hope this give a clue
0
 
LVL 15

Accepted Solution

by:
Frabble earned 50 total points
ID: 12357188
The problem occurs in the application layer so you need to do something else.
The choice is to use a SIP proxy or gateway device providing your connectivity to the internet or change your client.
Try the free client X-lite from www.xten.com
This supports STUN and will also allow you to configure which IP address to use.
0
 
LVL 9

Expert Comment

by:cooledit
ID: 12357228
hmm

If you create this static route all communication between the IP address 10.x.x.x. goes over interface 1.
All TCP/IP Connections with the 192.168.x.x goes over interface 2
0
 
LVL 1

Author Comment

by:LeoTer
ID: 12360380
Cooledit: my routing table is correct. Moreover, the outgoing packets do get send to the correct interface, only *inside* the packets, net2phone gives through the IP address of the *wrong* interface.

Frabble: Please give me a few days to take a look at X-lite.

In the meanwhile, other suggestions are still welcome.
0
 
LVL 1

Author Comment

by:LeoTer
ID: 12375302
OK guys, seems like I forgot to do my homework. The answer I was looking for was right there under my nose. There's a saying for this, only I can't remember it right now.
http://www.experts-exchange.com/Networking/Q_21172784.html

I'm very sorry to have wasted your time.

PS. I'm willing to reward Frabble with a few points for the link to X-lite, but not the full 400. Since my problem is solved the way I wanted it, I'll stick with ICQphone for now, but that X-lite thingy might come useful one day...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VOIP gateways - feedback 23 117
Application timeout 4 81
Websites pages will not open in any browser 7 54
Exchange 2016 4 50
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question