I have QNX 6.2.1 (including CD update) installed on a Notebook with a 3COM PCMCIA card on a private network (192.168.100.X) and a gateway box (192.168.100.1). Everything on the (private) network works fine until I add the gateway:
route add default 192.168.100.1
After that, I cannot even ping myself. Using route show -n, the reason seems to be that the gateway is the first entry in my routing table:
default ________ 192.168.100.1
127.0.0.1 ______ 127.0.0.1
192.168.100.0 __ link#2
I searched around this forum and googled around, but no one seems to have my particular kind of problem. Why is it that the default route is added to the start, not the end, of the routing table? And how can I change that?
Even as I tried to init everything using my DHCP server, the same result happens – default route first. Would be happily appreciating any suggestions.