From owner-freebsd-questions Thu Jun 5 09:29:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA22642 for questions-outgoing; Thu, 5 Jun 1997 09:29:13 -0700 (PDT) Received: from entity.enta.net (entity.enta.net [194.207.36.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA22637 for ; Thu, 5 Jun 1997 09:29:09 -0700 (PDT) Received: from simat.enta.co.uk (simat.enta.net [194.207.132.56]) by entity.enta.net (8.8.5/8.7.3) with SMTP id RAA05448; Thu, 5 Jun 1997 17:40:25 +0100 (BST) Message-ID: <3396E95F.1C35@enta.net> Date: Thu, 05 Jun 1997 17:29:19 +0100 From: Simon N Atkin X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: simat@enta.co.uk Subject: Two Ethernet Interfaces in one machine for Firewall, possible ?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am trying to setup a 2.2 box to route packets between two ethernet interfaces on one PC, the two interfaces are reckonised as de0 (DEC21041 PCI) and ed1 (ISA NE2000 Compatible), I have assigned seperate IP's to each interface in /etc/sysconfig but on start I get the error ifconfig: ioctl (SIOCAIFADDR): File exists, if we ifconfig -a we get de0: flags=8843 mtu 1500 inet 194.x.x.99 netmask 0xffffff00 broadcast 194.x.x.255 ether 00:80:c8:37:70:ce ed1: flags=8843 mtu 1500 inet 194.x.x.100 netmask 0xffffff00 broadcast 255.255.255.0 ether 00:80:c8:37:b9:18 lp0: flags=8810 mtu 1500 tun0: flags=8010 mtu 1500 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Note the broadcast on the second interface (ed1). It must be possible to have two interfaces on one machine as how do you efficiently build a firewall system ??? Any clues ??? Simon Atkin. :) simat@enta.net