Good afternoon!
Beside me to You question: how adjust network in QNX RTP 6.1.0A, under such
desksides?
ISP → ISP ROUTER |195.239.137.97<-195.239.137.101 |qnx_router|
192.168.1.1-> internal network
Is Necessary to, users of internal network could go in internet through
qnx_router.
QNX:
en0 & en1 - Intel 82557
Write in rc.local:
slay io-net
sleep 2
io-net -dspeedo -ptcpip forward -ppppmgr -ppppoe
sleep 2
ifconfig en0 195.239.137.101 netmask 255.255.240.0 arp up
route add default 195.239.137.97
ifconfig en1 192.168.1.1 netmask 255.255.0.0 arp up
ifconfig lo0 localhost up
hostname qnx_router
PING with qnx_router on internal network and internet passes.
Example:
qnx_router: ping www.yahoo.com (64.58.76.224) - pass, ping 192.168.1.30 -
pass
But from internal network PING does not pass.
Example:
192.168.1.30: ping 192.168.1.62 - pass, ping 192.168.6.10 - pass, PING
192.168.1.1 - PASS, PING WWW.YAHOO.COM (64.58.76.224)- DOES NOT WORK
In other words IP Forward does not work. How solve givenned problem?
Beforehand grateful!
Hi Oleg,
There is one general mistake in your configuration - 192.168.1.1 is so
called “Class C address space for private internets”. According to RFC
1918, any packet from such address should NOT reach Internet at all.
Therefore, QNX works just fine - it drops all packets which came from
192.168.181.1.x subnet. You have 2 options to go further:
- to put proxy on QNX machine (but then it will be not a router, rather
proxy)
- to give real IP adresses to all interfaces behind “QNX-router” - then
it will work, believe me
If you have any further questions - just drop me a line, I talk in
Russian even better than in English 
BR, Andrej Timchenko
Oleg Nekrylov wrote:
Good afternoon!
Beside me to You question: how adjust network in QNX RTP 6.1.0A, under such
desksides?
ISP → ISP ROUTER |195.239.137.97<-195.239.137.101 |qnx_router|
192.168.1.1-> internal network
Is Necessary to, users of internal network could go in internet through
qnx_router.
QNX:
en0 & en1 - Intel 82557
Write in rc.local:
slay io-net
sleep 2
io-net -dspeedo -ptcpip forward -ppppmgr -ppppoe
sleep 2
ifconfig en0 195.239.137.101 netmask 255.255.240.0 arp up
route add default 195.239.137.97
ifconfig en1 192.168.1.1 netmask 255.255.0.0 arp up
ifconfig lo0 localhost up
hostname qnx_router
PING with qnx_router on internal network and internet passes.
Example:
qnx_router: ping > www.yahoo.com > (64.58.76.224) - pass, ping 192.168.1.30 -
pass
But from internal network PING does not pass.
Example:
192.168.1.30: ping 192.168.1.62 - pass, ping 192.168.6.10 - pass, PING
192.168.1.1 - PASS, PING > WWW.YAHOO.COM > (64.58.76.224)- DOES NOT WORK
In other words IP Forward does not work. How solve givenned problem?
Beforehand grateful!
–
BR, Andrej