Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 15:29:47 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        robert at castley dot com <robert@castley.com>, freebsd-questions@FreeBSD.org
Subject:   Re: PPP link and sendmail
Message-ID:  <20020613122946.GD1991@hades.hell.gr>
In-Reply-To: <20020613201259.A65055@grimoire.chen.org.nz>
References:  <000801c212b0$6050d750$1601a8c0@charlie> <20020613201259.A65055@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-06-13 20:12 +1200, Jonathan Chen wrote:
> On Thu, Jun 13, 2002 at 09:00:23AM +0100, robert at castley dot com wrote:
> > Hi,
> >
> > I have configured PPP as per the guidelines and it is working a
> > treat, but as I am running sendmail on my PPP gateway box I keep
> > getting the error:
> >
> > Jun 13 08:57:48 freebsd sendmail[4414]: gethostbyaddr(127.1.1.1)
> > failed: 1
> >
> > In my ppp.conf I have the following:
> >
> > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
> > add 0 0 127.2.2.2                      # Add a (sticky) default route
> >
> > How do I stop the sendmail error?
>
> Add a fake entry into /etc/hosts:
>
> 	127.1.1.1	some.fake.entry

I think this is not supposed to work. At least as long as there is
a routing table entry for 127.0.0.0 => lo0.

	15:25 [charon@hades /home/charon]$ netstat -rn
	Routing tables

	Internet:
	Destination        Gateway            Flags    Refs      Use  Netif Expire
	127                127.0.0.1          UGRSc       0        0    lo0
	127.0.0.1          127.0.0.1          UH          3     9735    lo0

Perhaps the problems are caused by this?

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020613122946.GD1991>