View topic - Forwarding IP broadcast

Forwarding IP broadcast

Discussion about the QNX6 OS.

Forwarding IP broadcast

Postby WhiteRabbits » Tue Dec 08, 2020 7:26 pm

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.
WhiteRabbits
Senior Member
 
Posts: 200
Joined: Sun Aug 03, 2003 9:20 pm
Location: Germany

Re: Forwarding IP broadcast

Postby Tim » Tue Dec 08, 2020 10:38 pm

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
Tim
Senior Member
 
Posts: 1519
Joined: Wed Mar 10, 2004 12:28 am

Re: Forwarding IP broadcast

Postby WhiteRabbits » Wed Dec 09, 2020 8:16 am

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
WhiteRabbits
Senior Member
 
Posts: 200
Joined: Sun Aug 03, 2003 9:20 pm
Location: Germany


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 4 guests