Date: Fri, 9 Jun 1995 21:34:03 +0800 (CST) From: Brian Tao <taob@gate.sinica.edu.tw> To: Plyaskin Sergey <splyaski@cmp.com> Cc: FREEBSD-QUESTIONS-L <freebsd-questions@freebsd.org> Subject: Re: multiple domains Message-ID: <Pine.BSI.3.91.950609212828.2799B-100000@aries> In-Reply-To: <2FD7505D@mailgate.cmp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Jun 1995, Plyaskin Sergey wrote: > > 1. Could someone please explain how to use ifconfig alias. The man page > isn't a great help here :-( ifconfig <if-name> inet <ip-alias> netmask 0xffffffff alias (substitute stuff in <>'s as necessary, repeat as often as needed) > 2. I think I should add some DNS records. Where and how? I use the external > nameserver, if this matters. Talk your nameserver admin about adding in hostnames for each of the aliases you've created. Then when someone on the Internet looks up that hostname, it will return an IP address that points to your machine. > 3. I've heard of the term "virtual interfaces". What is that? In less capable OS's ;-), each network interface is normally assigned only one or two IP addresses. If you need more, you either physically add another NIC, or you hack the kernel into aliasing more IP's to an existing interface. None of that is needed with FreeBSD, however. Just use ifconfig to add as many IP's as you need, and to the outside world it will appear as if you have many network interfaces (thus "virtual interfaces", since you really only have one physical interface). -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.950609212828.2799B-100000>