From owner-freebsd-questions@FreeBSD.ORG Mon Mar 8 16:07:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CBA116A4CE for ; Mon, 8 Mar 2004 16:07:39 -0800 (PST) Received: from mail.courtesymortgage.com (unknown [209.126.131.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFD343D1D for ; Mon, 8 Mar 2004 16:07:38 -0800 (PST) (envelope-from jwilliams@courtesymortgage.com) Received: from jwilliams.courtesymortgage.com ([192.168.1.90]) i290ACVm000189 for ; Mon, 8 Mar 2004 16:10:12 -0800 (PST) (envelope-from jwilliams@courtesymortgage.com) Message-Id: <5.2.1.1.0.20040308160419.02afa950@pop.courtesymortgage.com> X-Sender: jwilliams@pop.courtesymortgage.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Mon, 08 Mar 2004 16:07:41 -0800 To: freebsd-questions@freebsd.org From: Jason Williams Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: setting up network virtual hosts (ifconfig) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 00:07:39 -0000 Hello everyone, Just was wondering about setting up virtual hosts on NIC cards on my FreeBSD box. I read the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html Seems simple enough, but I seemed to be having a bit of a problem. For instance, I had this in my rc.conf: ifconfig_fxp0="inet 192.168.1.91 netmask 255.255.255.0" and tried to add this: ifconfig_fxp0_alias0="inet 192.168.1.75 netmask 255.255.255.0" Two questions here: After you made a change like this, how do you restart it without having to reboot? There a way to do this using ifconfig? Secondly, I rebooted my machine after testing this out, and it appeared to hang. When I looked at the console, it was stuck on the 'hostname' part. I'm currently looking for additional information to see what I did wrong, but thought i'd ask here to see if someone can point out my error. I appreciate the help. Jason