*BSD News Article 98830


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.maxwell.syr.edu!eerie.fr!cnusc.fr!univ-lyon1.fr!in2p3.fr!news-ge.switch.ch!news-zh.switch.ch!svgotcha.ubs.net!svnews.ubinet.ubs.com!svusenet.ubs.ch!usenet
From: Georg Wagner <Georg.Wagner@ubs.ch>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Hostname for box w/ part time internet connection
Date: Wed, 02 Jul 1997 10:25:58 +0200
Organization: Union Bank of Switzerland 
Lines: 79
Message-ID: <33BA1096.4FD3@ubs.ch>
References: <24a9fb8b.u9t27e.14589@slip106.termserv.siu.edu> <mt37p5.vq1.ln@shift.lan.awfulhak.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43807

Brian Somers wrote:

> I hope this doesn't involve changing your "hostname" while running.
> This gets tricky.  You've got to at least HUP sendmail (assuming it's
> being run with a full path name), and you must restart things like
> rwhod & (old versions of) nmbd and any other brainos that use hostname.
> 
> Hmmm, I must fix rwhod.
> 
> >
> > =20      ///  A M   M I GGGGG A      Senior Sys Prog - Network Admin
> > =20     ///  AA MM|MM I G     AA     Southern Illinois University, USA
> > \\\  ///  A A M M M I G GGG A A                              =20
> > =20\\\///  AAAA M   M I G   G AAAA   jimd at dutton2.it.siu.edu        =
> > =20=20
> > =20 \///  A   A M   M I GGGGG A   A  jimd at slip106.termserv.siu.edu
> >
> > _______________________________________________________________________=> > _
> > SIU.EDU          - DNS Admin, Postmaster, SMTP Admin, Netnews Admin
> > SIUCVMB.SIU.EDU  - DNS Admin, Postmaster, SMTP Admin, TCP/IP Sys Prog
> > SIUCMVSA.SIU.EDU - DNS Admin, Postmaster, SMTP Admin, Sr TCP/IP Sys Pro=
> > g
> > SIUCVMB, SIUCMVSA- Senior RSCS, VTAM, NCP Systems Programmer
> > Systems Admin    - 2.0 Suns, 0.4 IBM RS/6000's, 2 FreeBSD, 1 NetBSD
> > Behemoth Admin   - Suzuki Cavalcade
> >
> 
> --
> Brian <brian@awfulhak.org> <brian@freebsd.org>
>       <http://www.awfulhak.org>
> Don't _EVER_ lose your sense of humour !

....

I think the confusion here is the following:

to begin with: An ip-address consists of an network adressing
part and a host adressing or numbering part. The length of this
parts is determined by the netmask.

You normally get an official IP-Adress for your _network_ (the network
part of your ip-address) either from your ISP or from some department 
of your company responsible for network administration. You also
get the domain name (the root of your domain) from there.

In your network you are responsible for giving Ip-Adresses to subnets
and hosts. You can also choose your hostnames and (sub)domainnames
freely.

For example
If the root of your domain is a.b.org you are free to choose 
x.y.z.a.b.org. You are only responsible to choose your names for
the x.y.z.-part of your domain.

Now for dialing in via a provider:

Your provider assigns your gateway (the box you dial in with)
an ip-adress dynamically. He also assigns you an hostname and domainname.
The outside world (internet) sees you under this name and ip-address.

The inside world - your local subnet sees you under the ip-adress and
hostname you assigned locally.

For example:
When I ordered my connection from my ISP I got his domainname 
(bluewin.ch) and as hostname he assigned my firstname_lastname.
So the internet sees me, when I'm connected, as 
firstname_secondname.bluewin.ch.

The ISP as administrator of the domain bluewin.ch is responsible
that my name is unique in his domain not me. I'am responsible for
my internal subnet (2 boxes only :-) ).
 

-- 
Georg Wagner
---------------------------------------
UBS Schweizerische Bankgesellschaft
ITMF-WGR