*BSD News Article 74254


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Questions regarding IP addresses and problems with PPP/Sendmail
Date: 20 Jul 1996 04:44:46 +0100
Organization: Coverform Ltd.
Lines: 28
Message-ID: <4spkne$25p@anorak.coverform.lan>
References: <01bb72c5.d277a200$38673fcb@aiki.addease.com.au>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Simon Harris (simon@addease.com.au) 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?

Nope, that's the way it's supposed to work.

:                                                                       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?

You need a Cw line for each official name you have.  So for example, if
your "official" name is aiki.addease.com.au and your "unofficial" name
is aiki.internal.lan, you'd have

Cwaiki.internal.lan
Cwaiki.addease.com.au

Put these lines in your .mc file - or directly into sendmail.cf, but the .mc
file is better :-)  See /usr/src/usr.sbin/sendmail/cf/README.

You may also need to MASQUERADE_AS(aiki.addease.com.au).

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....