From owner-freebsd-questions Sun Apr 18 19:50:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id DC6F114CFF for ; Sun, 18 Apr 1999 19:50:35 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id WAA22699; Sun, 18 Apr 1999 22:03:38 -0500 (EST) Date: Sun, 18 Apr 1999 22:03:36 -0500 (EST) From: Alfred Perlstein To: Kyky Effe Cc: questions@freebsd.org Subject: Re: Multiple host..... In-Reply-To: <19990419023441.20004.rocketmail@web103.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sir, please retain the 'cc' (carbon copy) on messages posted to the freebsd lists unless you have a specific reason not to. by continuing the conversation on the mailing list you allow other people to jump in with advice and corrections that may be helpful. I get corrected a lot 'round these parts and i appreciate it. :) anyhow, read on: On Sun, 18 Apr 1999, Kyky Effe wrote: > --- Alfred Perlstein wrote: > > On Sun, 18 Apr 1999, Kyky Effe wrote: > > > > > can anyone help me......... > > > > > > I do not know how to setup multiple host in one > > computer? > > > > I'm not sure i understand you correctly but i'm > > going to assume > > you mean "how do i setup multiple IP addresses on a > > freebsd box" > > > > the answer is in the "ifconfig" man page: > > > > The following parameters may be set with > > ifconfig: > > > > alias Establish an additional network address > > for this interface. This > > is sometimes useful when changing > > network numbers, and one wishes > > to accept packets addressed to the old > > interface. > > > > ifconfig the.other.ip.address alias > > > > is your netcard (xl0, fxp0, etc..) > > > > you can see all your interfaces by running the > > command: > > ifconfig -a > > > > > Do I need to change the kernel?(like Linux) > > > > no. > > > > > > > > how the user do telnet base on the host......... > > > so they should be able to go to their home > > directory > > > > can you rephrase this please? > > > > if you want to change a user's home directory, as > > root use the command > > "vipw" to edit the password file. > > > > -Alfred > > > > > > I mean multiple IP and host name (such as something.com and > somethingelse.com in single machine) > > and for each users from something.com can telnet to something.com and > the users from somethingelse.com can telnet to somethingelse.com but > both of them is in one machine. I think i answered your question already, to do this you need to use DNS to assign the machine aliases. However all users will be on the same box and you really can't keep them from seeing other users on the box unless you disable certain commands. there is nothing stopping you from pointing 2 or more DNS entries to the same machine, or assigning multiple IP addresses to a single network card via the advice given above. Yes a FreeBSD box can have multiple names and multiple IPs. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message