IP forwarding when running a web server

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IP forwarding when running a web server

ソリューションへジャンプ
791件の閲覧回数
jesperevertsson
Contributor IV

Hi, I just have a quick question regarding the _IP_forward variable in MQX. As default this is set to false, but in the http server example it's set to true. I just wanted to know what the reason for this is and what the effects are. The reason I'm asking is beacuse when we run a program to monitor SNMP it says that all our products that have embedded web servers are routers, since the snmp node ipForwarding returns 1. It's not a big problem by any means, but it can be a bit missleading for our customers if our products gets mistaken for routers by  some SNMP monitoring programs. But would there be any negative effects if we didn't set _IP_forward to true when using a https server?

ラベル(1)
0 件の賞賛
1 解決策
586件の閲覧回数
EAI
Contributor IV

Jesper;

_IP_forward is set to true when you want RTCS to forward packets between multiple interfaces (act like a router between subnets). It only makes sense to enable this if there are multiple interfaces.

Craig

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
586件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Just add to Craig's good comments, let me give an example here, let's say you have two NICs, one (NIC1) is at address 192.168.2.1/24, and the other (NIC2) is 192.168.3.1/24.  If forwarding is enabled, and a packet comes in on NIC1 with a "destination address" of 192.168.3.9, your divices will resend that packet out of the NIC2.  If forwarding is not enabled, this packet will be discarded.

Regards

Daniel

0 件の賞賛
587件の閲覧回数
EAI
Contributor IV

Jesper;

_IP_forward is set to true when you want RTCS to forward packets between multiple interfaces (act like a router between subnets). It only makes sense to enable this if there are multiple interfaces.

Craig

0 件の賞賛