Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I can't perform wcf discovery through a network router.

I have a client and server app. When deploying these two apps to any two computers on the same lan it works perfectly. The client app finds the server app and starts communicating. When I move the client to another network, separated by a router, it cannot find the server.

The router is a Cisco Catalyst 3750. I have full permission to change the settings, but I am not sure which settings apply to wcf discovery packets.

My goal is to change the router configuration so that the wcf discovery packet which is broadcast on the client's lan, is rebroadcast through the router to the server's lan.

Can you give any examples of performing wcf discovery through a router? Do you know any router settings I should be looking for?

share|improve this question
You might want to try SuperUser –  James Aug 19 '11 at 17:26
add comment

migrated from stackoverflow.com Aug 24 '11 at 1:32

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

After much research, I have decided that this is either not possible, or at least totally impractical. By network definitions, the act of broadcast udp through a router would not return any meaningful result.

For example, lets assume I could get the router to rebroadcast the message to all other subnets. I could conceivably get results from on one subnet (lets call this PC1), and on another subnet (PC2). The TCP/IP technology has no way to differentiate them. Furthermore, trying to open a channel to and another channel to would just be silly. So, even though I know that I would get unique results based on my network topology, the router would have no way to prove that.

To make matters worse, the router actually hides PC1 and PC2 ips from me. This is done by the NAT (network address translation) technology. I may have to address to reach PC1, and to reach PC2. Again, my topology does not lead to these obscure numbers, they are quite unique and predictable, but the system cannot prove that.

Conclusion: I have decided to build a "tracker". This is how P2P networks work. All computers will report-in to a known tracker, and clients will ask the tracker for addresses to the servers it desires.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.