From owner-freebsd-current Wed Jul 19 14: 7:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from nikias.cc.uoa.gr (nikias.cc.uoa.gr [195.134.68.10]) by hub.freebsd.org (Postfix) with ESMTP id 55DA337C07C for ; Wed, 19 Jul 2000 14:07:27 -0700 (PDT) (envelope-from eatha@cc.uoa.gr) Received: from localhost (eatha@localhost) by nikias.cc.uoa.gr (8.9.3/8.9.3) with SMTP id AAA13014 for ; Thu, 20 Jul 2000 00:07:23 +0300 (EET DST) Date: Thu, 20 Jul 2000 00:07:22 +0300 (EET DST) From: Elias Athanasopoulos Reply-To: Elias Athanasopoulos To: freebsd-current@freebsd.org Subject: Default Gateway problem. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have the following network: A (FreeBSD-CURRENT) - ethernet - B (Linux) - ppp - Internet 192.168.1.2 192.168.1.1 I have enabled IP Masq. in 'B' and set it as the default gateway for A, issuing the command below: [A] $ ifconfig add default 192.168.1.1 When the Internet connection is alive everything is ok. When no Internet connection exists I cannot make local telnets/ftps from FreeBSD to Linux, using hostnames instead of raw IP addresses. It seems that A (FreeBSD) tries to locate the nameservers specified in /etc/resolv.conf. My /etc/hosts: 192.168.1.1 B 192.168.1.2 A My /etc/host.conf: hosts bind Any hints? Regards, Elias -- Elias Athanasopoulos | I bet the human brain is | H.E.P & Apps. Lab. http://www.uoa.gr/~eatha | a kludge. -Marvin Minsky | University Of Athens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message