Date: Tue, 28 Jan 1997 13:25:09 +0200 From: Nadav Eiron <nadav@barcode.co.il> To: david <david@ssc.ac.ru> Cc: questions@freebsd.org Subject: Re: Multiple IP addresse, hostnames on one machine Message-ID: <32EDE215.38F@barcode.co.il> References: <19970127200953.1b5405cb.in@alania.ssc.ac.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
david wrote: > > Greetings All, > > Is it possible to have multiple IP addresses on one machine without having > multiple ethernet cards.. > > Once I wrote a note about setting up user www pages, this question started > a thread about how to configure your system as > a new sysop, Anyways, people where talking about having different domain > names IP addresses on one machine so that when you outgrew it, it wasn't a > big hassle to change. > > Here is the deal, > > We want to have one computer (for now) that runs DNS, WWW, FTP, TELNET, > POP, PPP and anything else. > We have a 2 mbit IP Feed, and will be the only service providers in the > country (Alania, part of the Russian Federation). > That means we will be the only providers in an area of about 2 million > people. > > We want to have > > www.rno.ssc.ac.ru > mail.rno.ssc.ac.ru > ftp.rno.ssc.ac.ru > telnet.rno.ssc.ac.ru > dialup.rno.ssc.ac.ru > admin.rno.ssc.ac.ru > > All running on one machine, whith the ability to expand and move each > service to it's own machine without having to have all the user change > thier configurations. > > I would assume it would just be a matter of putting multiple names in the > /etc/hosts file and using the same IP address > for the every aliase. (How would this look? would I put a local host entry > in front of every aliase?) Most people, and certainly any commercial ISP don't use /etc/hosts! You use DNS, and if you're going to be an ISP, probably have more that one DNS server. There is no problem with letting one IP address be pointed to by more than one DNS name (there are two ways of doing it - with A records or CNAME records). You can then change the IP address for any of the names with a simple change in one file (and waiting until the change propogates through the internets - usually something like a couple of days). It seems you'll need to get to know DNS better. Look at the DNS and BIND book from O'Reiley and Associates. > > But moving the service from this machine would have to change the ip, is > there anyway to aliase IP addresses and > have that address move with the aliased hostname? > > Those replying, (I'm not on the list, to this address) plase send your > address, We'll send 500!!!! Russian Rubles for your answer <grin> Hey! We're volunteers! > > Thanks a Million, > Dave > Nadav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32EDE215.38F>