• November 02, 2024, 02:31:38 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Can't send/receive UDP/TCP packets between computers on my LAN  (Read 9056 times)

sitruc

  • Level 1 Member
  • *
  • Posts: 4

I'm a programmer.  Networking is not my specialty.

I need to allow programs I create (java C++), running on various computer (Windows, Linux) plugged into my router (my LAN), to send/receive UDP/TCP packets amongst themselves.  Access Controls and Port Forwarding all seem to speak to communication with computers external to my network (i.e., the internet).  I don't want allow protocols or open ports to/from computers on the internet.  I only want to allow protocols and open ports between the computer plugged into my computer (my LAN)
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Can't send/receive UDP/TCP packets between computers on my LAN
« Reply #1 on: April 01, 2012, 05:47:04 PM »

You may want to connect a Gb network switch between router and PCs. This will help eliminate any router management or processing and having to do any configuration of the router.

Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking
Ensure devices are set to auto obtain an IP address.
Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall.
Enable uPnP and Multi-cast Streaming under Advanced/Networking.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

sitruc

  • Level 1 Member
  • *
  • Posts: 4
Re: Can't send/receive UDP/TCP packets between computers on my LAN
« Reply #2 on: April 01, 2012, 06:33:51 PM »

No change.  Should I reboot the router and computers?
Logged

sitruc

  • Level 1 Member
  • *
  • Posts: 4
Re: Can't send/receive UDP/TCP packets between computers on my LAN
« Reply #3 on: April 01, 2012, 07:14:40 PM »

I rebooted everything.  No change.   A and B can ping each other.

Here's my config:

Computer A (Linux)
IP 111.111.111.1

Computer B (Xp)
IP 222.222.222.2


Computer A has a UDP server listening on 111.111.111.1, UDP port 2323
Computer B has a UDP client sending UDP packets to 111.111.111.1, UDP port 2323

A never gets packets from B
« Last Edit: April 01, 2012, 11:30:11 PM by sitruc »
Logged

sitruc

  • Level 1 Member
  • *
  • Posts: 4
Re: Can't send/receive UDP/TCP packets between computers on my LAN
« Reply #4 on: April 01, 2012, 07:41:06 PM »

Another reboot and Partial success.....

B (Xp) receives from A (Linux) when I run the Server on B and the Client on A
A still does not receive from B when I run the Server on A and the Client on B

I'd really like to get it working both ways
« Last Edit: April 01, 2012, 11:30:47 PM by sitruc »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Can't send/receive UDP/TCP packets between computers on my LAN
« Reply #5 on: April 02, 2012, 07:01:29 AM »

Is computer B on the same IP pool string or is this how you are defining an example for the forum? I would presume that Computer B is on 111.111.111.2?

I would recommend checking out a external network switch to better effect your network needs.


I rebooted everything.  No change.   A and B can ping each other.

Here's my config:

Computer A (Linux)
IP 111.111.111.1

Computer B (Xp)
IP 222.222.222.2


Computer A has a UDP server listening on 111.111.111.1, UDP port 2323
Computer B has a UDP client sending UDP packets to 111.111.111.1, UDP port 2323

A never gets packets from B
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.