gateway problems

Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it either failed or took a long time! What should I do, so that IP addresses get resolved locally?

TIA

Augie


Augie Henriques
Science Engineering Associates, Inc.
114 C Mansfield Hollow Road
P.O. Box 605
Mansfield Center, CT 06250
Ph: (860) 450-1717
Fax: (860) 450-1707

Augie Henriques wrote:

Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it
either failed or took a long time! What should I do, so that IP
addresses get resolved locally?

route delete default 192.9.200.40
Rename /etc/resolv.conf to something else.

Richard

TIA

Augie


Augie Henriques
Science Engineering Associates, Inc.
114 C Mansfield Hollow Road
P.O. Box 605
Mansfield Center, CT 06250
Ph: (860) 450-1717
Fax: (860) 450-1707

“Richard Kramer” <rrkramer@kramer-smilko.com> wrote in message
news:ap9r0n$bsd$2@inn.qnx.com

Augie Henriques wrote:

Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL
router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it
either failed or took a long time! What should I do, so that IP
addresses get resolved locally?

route delete default 192.9.200.40
Rename /etc/resolv.conf to something else.

How is this going to solve my problem? I still need to access the Internet
from QNX machine. Without the default gateway, how does that happen?

I still want the gateway to be there! I don’t want to delete it. What I
need, is for local addresses to get resolved before going out to the
gateway.

TIA

Augie

Richard


TIA

Augie


Augie Henriques
Science Engineering Associates, Inc.
114 C Mansfield Hollow Road
P.O. Box 605
Mansfield Center, CT 06250
Ph: (860) 450-1717
Fax: (860) 450-1707

Augie Henriques wrote:

“Richard Kramer” wrote in message
news:ap9r0n$bsd$> 2@inn.qnx.com> …

Augie Henriques wrote:


Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL

router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it
either failed or took a long time! What should I do, so that IP
addresses get resolved locally?

route delete default 192.9.200.40
Rename /etc/resolv.conf to something else.


How is this going to solve my problem? I still need to access the
Internet
from QNX machine. Without the default gateway, how does that happen?

I still want the gateway to be there! I don’t want to delete it. What I
need, is for local addresses to get resolved before going out to the
gateway.

The delay comes from telnetd, ftpd etc. trying to do a lookup to your
DNS server listed in resolv.conf. If there is no resolv.conf, the
attemps to do the lookup will not be made.

If the DSL is down, how do you get to the internet? I took your first
question to mean that the DSL was down, hence ther router was
disfunctional, no?

Richard

TIA

Augie


Richard


TIA

Augie


Augie Henriques
Science Engineering Associates, Inc.
114 C Mansfield Hollow Road
P.O. Box 605
Mansfield Center, CT 06250
Ph: (860) 450-1717
Fax: (860) 450-1707
\

Augie Henriques <augiehenriques@hotmail.com> wrote:

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:ap9r0n$bsd$> 2@inn.qnx.com> …
Augie Henriques wrote:

Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL
router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it
either failed or took a long time! What should I do, so that IP
addresses get resolved locally?

route delete default 192.9.200.40
Rename /etc/resolv.conf to something else.

How is this going to solve my problem? I still need to access the Internet
from QNX machine. Without the default gateway, how does that happen?

I still want the gateway to be there! I don’t want to delete it. What I
need, is for local addresses to get resolved before going out to the
gateway.

TIA

Augie

Try adding “lookup file bind” as the first line in your /etc/resolv.conf
and putting your local addrs in /ets/hosts.

-seanb

Or if you have too many units and you don’t want to maintain the /etc/hosts
file on each, setup a DNS server (named on QNX4) on one of your servers and
add it to the list of DNS servers in /etc/resolv.conf.

“Sean Boudreau” <seanb@node25.ott.qnx.com> wrote in message
news:apjj5u$djn$1@nntp.qnx.com

Augie Henriques <> augiehenriques@hotmail.com> > wrote:

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:ap9r0n$bsd$> 2@inn.qnx.com> …
Augie Henriques wrote:

Hi.

We have setup a default gateway in QNX 4 to our Lynksys Cable/DSL
router.

route add default 192.9.200.40

The router went down when the DSL failed.

When I was trying to ftp locally (internal here in the office), it
either failed or took a long time! What should I do, so that IP
addresses get resolved locally?

route delete default 192.9.200.40
Rename /etc/resolv.conf to something else.

How is this going to solve my problem? I still need to access the
Internet
from QNX machine. Without the default gateway, how does that happen?

I still want the gateway to be there! I don’t want to delete it. What
I
need, is for local addresses to get resolved before going out to the
gateway.

TIA

Augie

Try adding “lookup file bind” as the first line in your /etc/resolv.conf
and putting your local addrs in /ets/hosts.

-seanb