*BSD News Article 99090


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.internetmci.com!news.campus.mci.net!n-f-m
From: Anthony Jenkins <ajenkins@auburn.campus.mci.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Hostname for box w/ part time internet connection
Date: Sun, 06 Jul 1997 17:53:30 -0500
Organization: CampusMCI
Lines: 44
Message-ID: <33C021EA.1298E996@auburn.campus.mci.net>
References: <24aac599.u9t27e.1@slip106.termserv.siu.edu> <t9v7p5.lc2.ln@shift.utell.net> <JOHN.97Jul1124606@beethoven.zyqad.co.uk>
NNTP-Posting-Host: s25-pm04.auburn.campus.mci.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mozilla 4.0b5C (X11; I; FreeBSD 2.2.1-RELEASE i386)
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44029

John Richards wrote:

> When it talks to the internet it is zyqad.demon.co.uk but internally
> it is
> beethoven.  A bit schizophrenic (sp?) but no real problem.  This also
> means that
> I have the whole of the 192.168.120 class C domain, approved for
> machines that
> are not Internet connected, to myself - along with anyone else who
> cares to use
> these IP addresses internally.  As long as none of the traffic
> internally ever
> gets out without being masqueraded or whatever I'm OK.
>
Thanks for all the suggestions... I understand my problem a lot more
now, but I think I left a bunch out of my original question.  I am
running FreeBSD 2.2.1 on a single machine which dials into a PPP ISP who
allocates me an address dynamically.  In /etc/sysconfig I have the line
     hostname=auburn.campus.mci.net
which happens to be the domain name of my ISP.  My main problem relates
ro receiving/sending email.  My ISP has a POP account for me with the
username ajenkins@auburn.campus.mci.net (see the Reply to: line above)
When I log into my machine as, say, root (I know...it's a no-no, but I'm
the only one with access to my machine) and email someone using mail(1),
it sets my reply address, I believe, as root@auburn.campus.mci.net.  If
someone replied to that address, it should (rightfully) be routed to my
ISP's network which would look for a user named 'root' to deliver the
message to.  I guess my question is how does a machine connected to the
internet via PPP (ppp(1)) appear to the internet?  I believe that
machine is assigned an IP address, and reverse lookups on my IP yield
something like host-pm.###.auburn.campus.mci.net (don't remember
exactly).  For someone to route an email to my machine directly, he/she
would have to use that assigned hostname and the username of someone at
this host (I have 3 usernames corresponding: root, ajenkins & jenkian),
right?  Am I stuck with the POP account as my emailbox?  An idea popped
into my head from all the suggestions of having routed(8) negotiate with
my ISP's router the name of my "intranet of one machine", which I should
be able to pick at will, but I'd be right back to the problem mentioned
by several people of having a NIC-unrecognized name visible on the
internet.

Thanks in advance,
Anthony Jenkins