From owner-freebsd-questions Tue Jan 27 12:55:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07885 for questions-outgoing; Tue, 27 Jan 1998 12:55:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA07813 for ; Tue, 27 Jan 1998 12:54:43 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA16778; Tue, 27 Jan 1998 12:54:29 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 27 Jan 1998 12:54:29 -0800 (PST) From: Doug White Reply-To: Doug White To: Jeff Hartman cc: freebsd-questions@FreeBSD.ORG Subject: Re: virtual hosting In-Reply-To: <01bd286d$9bc88d00$0b2ccecf@graphic.wilkshire.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Fri, 23 Jan 1998, Jeff Hartman wrote: > hello, > > how do you create a virtual host on freebsd? > > i have created the virtual ip address by using > ifconfig lo0 up "10.5.40.25" > > but i cannot add the following: > apr -s `/usr/libexec/ether_addr "10.5.40.25"` pub > ether_addr does not exist in the /usr/libexec directory > and does creating a /etc/virtualip file save this information? Try ifconfig ed0 inet 10.5.40.25 netmask 0xfffffff alias > also do you have any sample named.hosts and named.rev files on > hand to help in the configuration of dns? If you run the make-localhost script in /etc/namedb/ that will get you some skeleton DNS files. Also buy the book ``TCP/IP Network Adinistration'' from ORA. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major