cloudy cloudy

Author Topic: WS-1001 data direct to WD?  (Read 19016 times)

0 Members and 2 Guests are viewing this topic.

Online Weather Display

  • Posts: 82,303
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 58.0.3029.110
    • Weather Display
Re: WS-1001 data direct to WD?
« Reply #180 on: June 06, 2017, 06:44:43 PM »
oops
http://www.weather-display.com/downloadfiles/weatherdisplaytest.zip

Offline swainstm

  • Posts: 30
  • OS/Browser:
  • Win NT 10.0
  • Chrome 58.0.3029.110
Re: WS-1001 data direct to WD?
« Reply #181 on: June 06, 2017, 10:22:15 PM »
Thanks.

That is very close, but not quite right yet. It is sending packets on the right interface now. But the packet it is sending is to 192.168.1.255, which is the default address you had, and not the 192.168.10.255 that I set for the interface.

Cheers
Matthew

Online Weather Display

  • Posts: 82,303
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 58.0.3029.110
    • Weather Display
Re: WS-1001 data direct to WD?
« Reply #182 on: June 07, 2017, 10:22:05 PM »
is WD receiving data now though , or not (its a bit confusing)

Offline swainstm

  • Posts: 30
  • OS/Browser:
  • Win NT 10.0
  • Chrome 58.0.3029.110
Re: WS-1001 data direct to WD?
« Reply #183 on: June 08, 2017, 12:06:11 AM »
No. WD is not receiving any data.

This is actually because ws-1001 is not even receiving the packet because WD is sending to 192.168.1.255 and not 192.168.10.255. Although WD is taking my 192.168.10.255 configuration in the configuration (I can go out of config and back in, and it is still configured), it looks like it is using your default 192.168.1.255, rather than 192.168.10.255 I have configured.

Now from a technical networking point of view, when a packet is sent to 192.168.1.255 on 192.168.10.0/255 network, it is not even a broadcast. The TCP/IP stack will take the destination 192.168.1.255 and look up its routing table for that network. Because I do not have a network that 192.168.1.255 fits in connected directly to my PC, it will forward this packet to the default GW (default GW is just the destination to send all packets PC does not have a specific network connect). In my case, my default gateway is on the 192.168.10.0/24 network, so this packet will be forward to my default gateway (192.168.10.1) via layer 2 unicast. Because it is a layer 2 unicast packet, nothing else on 192.168.10.0/24 will even see this packet including the WS-1001, so it has no way to respond.

My network is 192.168.10.0/24 so WD needs to send to 192.168.10.255 that I have configured (broadcast address for that segment).


Cheers
Matthew
« Last Edit: June 08, 2017, 03:00:13 AM by swainstm »

 

cumulus