Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 22:03:36 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Kyky Effe <kyky_2000@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Multiple host.....
Message-ID:  <Pine.BSF.3.96.990418215743.11384f-100000@cygnus.rush.net>
In-Reply-To: <19990419023441.20004.rocketmail@web103.yahoomail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <bright@rush.net> 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 <interface> the.other.ip.address alias
> > 
> > <interface> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990418215743.11384f-100000>