Default Gateway problem.

2000-07-19 Thread Elias Athanasopoulos


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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Default Gateway problem.

2000-07-19 Thread Doug White

On Thu, 20 Jul 2000, Elias Athanasopoulos wrote:

 
 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
 

Try 'route' instead of 'ifconfig' and you might have better luck.

Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED] |  www.FreeBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Default Gateway problem.

2000-07-19 Thread Elias Athanasopoulos

On Wed, Jul 19, 2000 at 02:38:14PM -0700, Doug White wrote:

   [A] $ ifconfig add default 192.168.1.1
  
  Try 'route' instead of 'ifconfig' and you might have better luck.
 
Oops! Sorry, it was a typo. :-( The command I used is 'route'.
I have no problem with my routing table (which I can show you
if you want).
 
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message