Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have been fighting with a routing problem for a whole evening today, I have finally found what is the symptom, but I have no idea how to fix the problem.

Basically, I have a router that is connected to internet and I have multiple PCs sitting behind it.

  • router:

  • pc-s: (if this is the correct syntax)

I want to create a LAN party in this subnet. So that could play with

The problem is, that it doesn't work.

After hours of head scratching, firewall configurations, router configurations and debugging, I finally found the symptom.

I compiled two programs based of MSDN winsock sapmple and launched a server on machine

Then I launched the client (, to connect to server ( There is a silence.

But when I join the two PC's with a patch cable on hand crafted/static IP network, alongside the still functional network.

So when server is and, and client and, the connection goes through. Both to and to

I have a Linksys router, and it seems it's swallowing local network traffic. Is there a fix for that?

EDIT: Route table on router has this:

Destination         LAN IP        Subnet Mask       Gateway        Interface                     LAN & Wireless                   WAN (Internet)                    WAN (Internet)
share|improve this question
Client/server.. why not just ping ? Is it wifi or cables ? For wifi some routers have a setting to disable traffic between local peers. For cables it should have nothing to do with the router - pcs talk directly over lan regardless what router you plug there. Do you use DHCP or you configure ips statically ? – Sandman4 Nov 5 '11 at 22:23
@Alex: I'm not very good with network stuff, so I decided winsocks cli/srv was safer. I haven't found one so far. Yes, but if I connect the cable so that there is a network, the peer-to-peer queries over are resolved successfully. Without the network, the peer-to-peer communication is dead. – Coder Nov 5 '11 at 22:29

1 Answer 1

up vote 1 down vote accepted

The short answer to your question 'Is there a fix (for my router swallowing local traffic)?' is no, because it is not happening.

The longer answer is when a host sends traffic to another host it will calculate whether the host is on the same subnet (by using the destination address and its own mask) and, if it is, it will send out an arp request for that local host's MAC address, the router does not get involved.

How are you connecting the PCs with the patch cable? Do they have secondary NICs?

I suspect that the reason it is working with the patch cable is because there is some sort of firewall on one of the PCs (not necessarily the target) that is configured for the interface but not the new interface you are setting up.

share|improve this answer
Thank you for the explanation. It was the Win7 PC that was ruining the connection, because the network was set as "Public". Can anyone explain why it was happening? I had firewalls configured and everything. I thought it should be possible to get some apps outside of public zone. – Coder Nov 6 '11 at 10:13

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.