View topic - Forwarding IP broadcast

Page 1 of 1

Forwarding IP broadcast

PostPosted: Tue Dec 08, 2020 7:26 pm
by WhiteRabbits
I configured my Neutrino device as a router, using "sysctl -w net.inet.ip.forwarding=1". Works fine.

From (en0) 192.168.178.42, I send a message to (en1) 10.227.3.41, and ...42 gets a reply.
From (en0) 192.168.178.42, I send a message to (en1) 10.227.3.255, and ...42 gets NO reply, even though ...41 is configured to reply to broadcast messages. Apparently, behind en1, I checked that with Wireshark, there's no outgoing telegramm to 10.227.3.255.

Is there any chance to configure Neutrino to forward IP broadcast messages ? If yes, howto ?
I browsed the knowledge base for ifconfig and for sysctl. but I could not find anything helpful.

Re: Forwarding IP broadcast

PostPosted: Tue Dec 08, 2020 10:38 pm
by Tim
I think you have to turn on forwarding of Directed Broadcasting (what you are trying to do by sending to the .255 on the other network).

It's net.inet.ip.directed-broadcast=1 that you also want to set.

https://www.qnx.com/developers/docs/6.3 ... ysctl.html

Tim

Re: Forwarding IP broadcast

PostPosted: Wed Dec 09, 2020 8:16 am
by WhiteRabbits
Thank you, Tim, that did it.

I was very close to trying that too, but I made a translation into German (I am German) and from that I figured it's not what I want.
However, lucky me having you at my side.

Stay healthy and enjoy calm and peaceful holidays at Christmas and around New Year's Eve !
Helge