Using Gateways

I need to communicate with a device via TCP/IP across a gateway. Using
QNX, how do you set the gateway up? Is it done in the hosts file? Is
it done in the Sysinit.1 file?

Thank in advance for your reply.

Dan Szymanski

/usr/ucb/route add default xxx.xxx.xxx.xxx

If you have a /etc/netstart file or equivalent you might add it there
after the ifconfig lines.

Richard

szymanski wrote:

I need to communicate with a device via TCP/IP across a gateway. Using
QNX, how do you set the gateway up? Is it done in the hosts file? Is
it done in the Sysinit.1 file?

Thank in advance for your reply.

Dan Szymanski