Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 00:07:22 +0300 (EET DST)
From:      Elias Athanasopoulos <eatha@cc.uoa.gr>
To:        freebsd-current@freebsd.org
Subject:   Default Gateway problem.
Message-ID:  <Pine.GSO.3.96.1000720000447.12394A-100000@nikias.cc.uoa.gr>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000720000447.12394A-100000>