I have a small x86 CPU (LX-800) that has two NIC’s that work well with the RTL network driver. I am having difficulty bridging from one interface to the other - specifically from en0 to a gateway on en1.
ifconfig en0 192.168.100.204 netmask 255.255.240.0 up (this is connected to a wifi access point IP 192.168.100.250)
ifconfig en1 192.168.0.50 netmask 255.255.240.0 up
A cellular router/gateway is connected to en1 and has the IP address 192.168.0.45
I set up the default route to be this cellular router: route -n add default 192.168.0.45
ip-pkt-v4-hc is started in the boot image as follows: io-pkt-v4-hc -d rtl -ptcpip forward
I have a Windows 7 box connecting into the wifi access point and the DHCP server has assigned it an IP address of 192.168.101.2 (note the netmask that allows this) and a default route of 192.168.100.204 - the address of en0.
From the Windoze box I can happily ping 192.168.100.204 and 192.168.0.50 - these being the IP addresses of the two interfaces. I can ping any other device on the 192.168.100.0/20 network (en0) but apart from 192.168.0.50 nothing on the 192.168.0.0/20 network.
Put simply, I can’t route packets from en0 to en1 which is the network to which the internet gateway is connected. Would it be because the network 192.168.0.0/16 is non-routable - even locally?
I have poured over whatever documentation I can find but to no avail - I must be missing something. It is not clear to me what "fastforward"ing is - or what the difference is between fastforward=0 (disabled) and fastforward=1 (enabled). This is an argument to io-pkt-v4-hc.
Has anyone managed to bridge between NIC’s with QNX6.5.0? If so, whats the trick?