From owner-freebsd-current@FreeBSD.ORG Thu May 1 00:53:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3404A37B401 for ; Thu, 1 May 2003 00:53:29 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A73E43F85 for ; Thu, 1 May 2003 00:53:28 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h417rLSQ083290; Thu, 1 May 2003 08:53:21 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h417rK8q083289; Thu, 1 May 2003 08:53:21 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h417p1QL023994; Thu, 1 May 2003 08:51:01 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305010751.h417p1QL023994@grimreaper.grondar.org> To: "Lucky Green" In-Reply-To: Your message of "Thu, 01 May 2003 00:36:55 PDT." <00c701c30fb4$7140fc00$6601a8c0@VAIO650> Date: Thu, 01 May 2003 08:51:01 +0100 Sender: mark@grondar.org cc: freebsd-current@freebsd.org Subject: Re: save-entropy "route: not found" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 07:53:29 -0000 "Lucky Green" writes: > We have a winner. The script doesn't like the route entry in the rc.conf > file of my test box: > ---------- > ifconfig_xl0="inet 208.201.229.161 netmask 255.255.255.0" > defaultrouter="208.201.229.1" > hostname="cheesy.cypherpunks.to" > > ifconfig_fxp0="inet 192.168.1.110 netmask 255.255.255.0" > route -n add -net 192.168.1 192.168.1.110 -interface fxp0 > ---------- $ man rc.conf # check out the second paragraph. > This server has two NICs. An external NIC and internal NIC. The machine > does not act as a gateway or NAT; that functionality is handled by > dedicated hardware. The reason why this server has two NICs is to permit > me to offer SAMBA only on the inside while still being able to access > the box from the Internet without having to go through the NAT. > > What changes do I need to make to rc.conf that will allow me to still > both reach the Internet and the internal network from the server while > making save-entropy happy? $ man rc.conf # look for static_routes M -- Mark Murray iumop ap!sdn w,I idlaH