*BSD News Article 74304


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!hunter.premier.net!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Questions regarding IP addresses and problems with PPP/Sendmail
Date: Sat, 20 Jul 1996 19:59:00 -0700
Organization: Erols Internet Services
Lines: 31
Message-ID: <31F19CF4.73DB@www.play-hookey.com>
References: <01bb72c5.d277a200$38673fcb@aiki.addease.com.au>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Simon Harris wrote:
> 
> We have an internal IP network that uses bogus addresses 192.168.0.0 ->
> 192.168.0.255/ I also connect to my ISP using PPP. My ISP always assignes
> me the same IP address: 203.xxxx.xxxx.xxxx. Is there a problem with having
> the device ed1 (ethernet card) configured for my internal IP address? I
> seem to be able to recieve email no problem usinf POP3 but sendmail (SMTP)
> returns an error (invalid domain name) every time I try to send mail. any
> ideas?
> 

Your ISP has assigned you an IP address, and will recognize that address 
(and no others) for the current session. They will filter out and reject 
all packets to or from other IP addresses at your end of the link.

The problem with sendmail in this context is that it wants to access your 
DNS, which (I assume) your ISP provides. Since your ISP's DNS can't 
possibly have your other machines listed, it can't tell sendmail where 
the mail is supposed to go.

You can use sendmail internally if you specify the destination 
numerically, as in foo@[192.168.0.27], provided that node is in turned on 
and recognized on your subnet. For any other approach, you're going to 
have to do some serious configuration of sendmail.
-- 

Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |