From owner-freebsd-questions Fri Nov 28 23:05:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11443 for questions-outgoing; Fri, 28 Nov 1997 23:05:01 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA11426 for ; Fri, 28 Nov 1997 23:04:57 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.7) with SMTP id XAA22556; Fri, 28 Nov 1997 23:04:30 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 28 Nov 1997 23:04:29 -0800 (PST) From: Doug White Reply-To: Doug White To: "Ricardo M. Codizar" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using FreeBSD 2.2.2 as Gateway In-Reply-To: <347C62C6.3F0@jpi.mozcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 26 Nov 1997, Ricardo M. Codizar wrote: > We would like to upgrade our FreeBSD from version 2.1.0 to version > 2.2.2. Our old machine (version 2.1.0) is functioning as our gateway to > the internet. In configuring the old version to become a gateway just > simply enable it in /etc/sysconfig gateway = "YES" and compile the > kernel with the option "option GATEWAY". In version 2.2.2 the "option > GATEWAY" is already obsolete just enable the "gateway_enable=YES" in > /etc/rc.network file. When i tested it as a gateway I received an error > " routed [63] punt RTM_LOSING without gateway". Is there any > setting that I should set specifically in the kernel? Kindly help me > with this, because I want to migrate to the new version. routed hates default routes. Try disabling it if you need them. > Also about the static_route. In version 2.1.0, the static_route is > already specified in /etc/sysconfig. In version 2.2.2 /etc/rc.conf file > it is blank. Can I just copy the static_route entry from /etc/sysconfig > to /etc/rc.conf? Because when I don't specify the static route I can > receive an error like this " routed [61]: sendto (ep0, > 224.0.0.2) : No route to host. What is the address 224.0.0.2 used for ? 224.0.0.2 is the multicast address. You can ignore it if you don't use multicast. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major