Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Port forwarding not permanent with proxyarp & net.inet.ip.forwarding flag: (2 Items)
   
Port forwarding not permanent with proxyarp & net.inet.ip.forwarding flag  
Hi 

We have network consisting of three systems.

A - source 
B - acting as router
C - destination

Between A-B we have UDP running over ethernet. Between B-C we need PPP over serail port.
and on On B i executed follwoing command:

pppd/dev/ser1 proxyarp 115200 192.168.0.35:192.168.0.45

this is to enable port frowarding so that A can directly send data on IP adress of C.
Also did sysctl -w net.inet.ip.forwarding=1.

But i am observing that port forwarding is working fine, but after some time it is automatically loosing.
After i restart pppd and enabling port forwarding again  then it is resuming. But in actaul system 
there is no feassibility to do the same. What should i do to ensure relaible connection.

Thanks
Ravi 



RE: Port forwarding not permanent with proxyarp & net.inet.ip.forwarding flag  
You may use the option "persist". 

Thanks
Weijie


-----Original Message-----
From: ravi varma [mailto:community-noreply@qnx.com] 
Sent: November 21, 2008 8:36 AM
To: technology-networking
Subject: Port forwarding not permanent with proxyarp &
net.inet.ip.forwarding flag

Hi 

We have network consisting of three systems.

A - source 
B - acting as router
C - destination

Between A-B we have UDP running over ethernet. Between B-C we need PPP
over serail port.
and on On B i executed follwoing command:

pppd/dev/ser1 proxyarp 115200 192.168.0.35:192.168.0.45

this is to enable port frowarding so that A can directly send data on IP
adress of C.
Also did sysctl -w net.inet.ip.forwarding=1.

But i am observing that port forwarding is working fine, but after some
time it is automatically loosing.
After i restart pppd and enabling port forwarding again  then it is
resuming. But in actaul system 
there is no feassibility to do the same. What should i do to ensure
relaible connection.

Thanks
Ravi 





_______________________________________________
Technology
http://community.qnx.com/sf/go/post17051