From owner-freebsd-questions Tue Apr 15 22:51:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA11917 for questions-outgoing; Tue, 15 Apr 1997 22:51:03 -0700 (PDT) Received: from cs.nps.navy.mil (cs.nps.navy.mil [131.120.1.13]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id WAA11912 for ; Tue, 15 Apr 1997 22:51:00 -0700 (PDT) Received: from wes1 (slippc20.cs.nps.navy.mil) by cs.nps.navy.mil (4.1/SMI-4.1) id AA19408; Tue, 15 Apr 97 22:50:31 PDT Message-Id: <335408EA.703B@crosslogic.com> Date: Tue, 15 Apr 1997 23:02:02 +0000 From: Wes Hester Organization: Crosslogic X-Mailer: Mozilla 2.02Gold (WinNT; I) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: help with sysconfig file X-Url: http://www.freebsd.org/support.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Greetings, I am trying to setup a virtual web server. I currently have FreeBSD and the Apache web server running. Once the web server is up I can type source test_ip and bind the virtual addresses to the same ethernet card as my orginal domain. In the file called test_ip I have the following: #This file configures multiple ips to a single ethernet card address ifconfig ed0 inet 208.197.69.20 255.255.255.192 alias route add -host 208.197.69.20 127.0.0.1 0 I want to move these commands into the sysconfig file so that on boot up it is cleaner than calling source on my test_ip file. However, when I add these commands I am getting problems with restarting the network, so my work around has been sourcing the test_ip file. Also, when another problem I am having is that when I get the network up after the work around, I am having problems between with my mail, where it is piling up in the Q rather than being forwarded to my smtp server. The mail works find if I don't source the test_ip file. However, when I source the test_ip file all the virtual web servers work. Any ideas. I was thinking maybe a problem with the way I am binding rather than using the sysconfig file. Thanks Wes