From owner-freebsd-questions Thu May 4 7:48:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ben.profero.com (ben.profero.com [212.36.157.130]) by hub.freebsd.org (Postfix) with ESMTP id 5531A37C040 for ; Thu, 4 May 2000 07:48:50 -0700 (PDT) (envelope-from darren@profero.com) Received: from vindaloo (host169.profero.com [212.36.157.169] (may be forged)) by ben.profero.com (8.9.3/8.9.1) with SMTP id PAA30873 for ; Thu, 4 May 2000 15:46:19 +0100 (BST) (envelope-from darren@profero.com) Reply-To: From: "Darren Evans" To: Subject: Routing on static virtual interfaces Date: Thu, 4 May 2000 15:48:40 +0100 Message-ID: <000a01bfb5d7$d61ca1e0$a99d24d4@vindaloo.profero.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I can either define this at the shell using the following commands ifconfig xl0 alias 212.36.150.139 netmask 255.255.255.192 up route add -host 212.36.150.139 212.36.150.190 or add the following to /etc/rc.conf for proper boot time config ifconfig_xl0_alias0="inet 212.36.150.139 netmask 255.255.255.192" BUT When I set this up properly in rc.conf it does not setup any routing, rc.network has a $static_routes environment setting but I cannot see where it's set. Setting this manually afterwards works, but obviously is'nt very professional ;-) thanks -- Darren Evans Tel: +44(0)20 7700 9960 Systems, Profero Ltd Fax: +44(0)20 7700 9961 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message