From owner-freebsd-questions Wed Nov 27 15:22:36 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA21977 for questions-outgoing; Wed, 27 Nov 1996 15:22:36 -0800 (PST) Received: from speedbump.datapark.com (ns1.datapark.com [206.12.188.140]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA21971 for ; Wed, 27 Nov 1996 15:22:31 -0800 (PST) Received: from cucbc ([206.12.188.106]) by speedbump.datapark.com (8.6.12/8.6.12) with SMTP id PAA27894 for ; Wed, 27 Nov 1996 15:22:59 GMT Message-ID: <329CCD73.7381@datapark.com> Date: Wed, 27 Nov 1996 15:23:31 -0800 From: Jeff Newton Organization: Tantalus Commmunications X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: questions@freebsd.org Subject: Ifconfig (setup a point to point link) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, After hours of banging my head against the wall trying to solve this problem, I thought I'd ask the gurus out there for some assistance. I have a multi-homed freebsd box I'd like to use as a firewall/gateway. Here's the way I want to set it up: router (XXX.XXX.XXX.254) | | point to point link | | NIC1 (XXX.XXX.XXX.1) gateway NIC2 (XXX.XXX.XXX.2) | | LAN I've only got one C class and people have said you can't put the same network on two interfaces...others say that a point to point link should work (its easily done with Linux). I figure ifconfig spits up at me cause I don't have the syntax righ for the point to point right. Can someone show me how to do this? Can this be done by adding static routes in a particular order. Any advice would be much appreciated. -- Jeff Newton Systems Administrator Tantalus Communications Datapark Internet Services Inc.