dechamps/WinIPBroadcast

Broadcast happens twice

Opened this issue · 1 comments

Haso-M commented

Hi, WinIPBroadcast partially solved my problem on Windows 7.
I'm using GX Wokrs2 (PLC programming IDE from Mitsubishi) to find available PLCs in the network.
Unfortunatly broadcast happens twice, and the IDE sees the same PLC (same IP address) twice, thus creating IP duplication error.

 Wireshark log
 -------------
 No  Time               Source          Destination      Protocol  Length  Info
 ======================================================================================
 11	5.093238	192.168.56.1	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52  <- used broadcast interface
 12	5.093546	10.0.0.144	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 13	5.093652	10.0.0.144	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 14	5.094067	192.168.149.1	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 15	5.094217	192.168.149.1	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 16	5.094335	192.168.116.1	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 17	5.094559	192.168.116.1	255.255.255.255	 UDP	   84	   51298 > 5559 Len=52
 
 
 Routing table on my machine
 ---------------------------
 Interface List
  11...44 37 e6 c4 0f 08 ......Intel(R) 82579LM Gigabit Network Connection
  13...0a 00 27 00 00 0d ......VirtualBox Host-Only Ethernet Adapter
  19...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
  20...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
   1...........................Software Loopback Interface 1
  21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
  17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
  14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
  18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
 ===========================================================================
 
 IPv4 Route Table
 ===========================================================================
 Active Routes:
 Network Destination        Netmask          Gateway       Interface  Metric
           0.0.0.0          0.0.0.0         10.0.0.1       10.0.0.144     20
          10.0.0.0        255.0.0.0         On-link        10.0.0.144    276
        10.0.0.144  255.255.255.255         On-link        10.0.0.144    276
    10.255.255.255  255.255.255.255         On-link        10.0.0.144    276
         127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
         127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
   127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.56.0    255.255.255.0         On-link      192.168.56.1    266
      192.168.56.1  255.255.255.255         On-link      192.168.56.1    266
    192.168.56.255  255.255.255.255         On-link      192.168.56.1    266
     192.168.116.0    255.255.255.0         On-link     192.168.116.1    276
     192.168.116.1  255.255.255.255         On-link     192.168.116.1    276
   192.168.116.255  255.255.255.255         On-link     192.168.116.1    276
     192.168.149.0    255.255.255.0         On-link     192.168.149.1    276
     192.168.149.1  255.255.255.255         On-link     192.168.149.1    276
   192.168.149.255  255.255.255.255         On-link     192.168.149.1    276
         224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
         224.0.0.0        240.0.0.0         On-link        10.0.0.144    276
         224.0.0.0        240.0.0.0         On-link      192.168.56.1    266
         224.0.0.0        240.0.0.0         On-link     192.168.149.1    276
         224.0.0.0        240.0.0.0         On-link     192.168.116.1    276
   255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
   255.255.255.255  255.255.255.255         On-link        10.0.0.144    276
   255.255.255.255  255.255.255.255         On-link      192.168.56.1    266  <- used broadcast interface
   255.255.255.255  255.255.255.255         On-link     192.168.149.1    276
   255.255.255.255  255.255.255.255         On-link     192.168.116.1    276
 =======================================================================

====

I think I've seen this before - I distinctly remember a specific game (C&C3 if I remember correctly) showing a host twice in the games list, possibly because of this bug.

It's been many years since I used WinIPBroadcast. I guess it's fair to say the project is abandoned, so don't expect me to investigate this. Feel free to send to share your findings if you find the cause, though.