From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 17:50:58 2003 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 57AC316A4CE for ; Tue, 4 Nov 2003 17:50:58 -0800 (PST) Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7465443FCB for ; Tue, 4 Nov 2003 17:50:57 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp02.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HNU002FMVZB7B@smtp02.wxs.nl> for freebsd-questions@freebsd.org; Wed, 05 Nov 2003 02:54:48 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.8p2/8.12.8) with ESMTP id hA51nj47013854; Wed, 05 Nov 2003 02:49:45 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.8p2/8.12.8/Submit) id hA51njZJ013853; Wed, 05 Nov 2003 02:49:45 +0100 (CET) Date: Wed, 05 Nov 2003 02:49:45 +0100 From: Alex de Kruijff In-reply-to: <1067940764.3fa77b9c147c0@mail.orbitel.bg> To: bivol@vip.bg Message-id: <20031105014945.GB13699@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <1067940764.3fa77b9c147c0@mail.orbitel.bg> cc: freebsd-questions@freebsd.org Subject: Re: RedHat 7.2 -> Freebsd - BIG PROBLEN 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: Wed, 05 Nov 2003 01:50:58 -0000 On Tue, Nov 04, 2003 at 12:12:44PM +0200, bivol@vip.bg wrote: > > ----------------- > lan 192.168.1.0/24 > ----------------- > LAN | > | > | > ------------------ > rl0 192.168.1.1 > > ROUTER > > fxp0 193.108.24.75 > -------------------- > LAN | > | > | > ------------------- > ISP 193.108.24.145 > -------------------- > Basicaly you have a router with TWO nics. One is rl0 and the other is fxp0. You need to place this in you /etc/rc.conf defaultrouter="193.108.24.145" ifconfig_rl0="inet 192.168.1.1 netmask 255.255.255.0" ifconfig_fxp0="inet 193.108.24.145 netmask 255.255.255.255" You can try this by running /etc/netstart -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/