From owner-freebsd-newbies Fri Aug 24 10:11:27 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id E9DD037B409 for ; Fri, 24 Aug 2001 10:11:20 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 18290 invoked by uid 0); 24 Aug 2001 17:11:19 -0000 Received: from pd4b9efbc.dip.t-dialin.net (HELO kiste) (212.185.239.188) by mail.gmx.net (mp002-rz3) with SMTP; 24 Aug 2001 17:11:19 -0000 Message-ID: <002d01c12cbf$cae27920$0408a8c0@localdomain> From: "Michael Nottebrock" To: , References: <200108241610.f7OGAI202083@smtp-server1.tampabay.rr.com> Subject: Re: FreeBSD-STABLE Firewall with IPFILTER Date: Fri, 24 Aug 2001 19:11:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > [...] > > ## Source URL: http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html > > [...] > > At page 21 step "F". > > I have two PCI network cards and I don't see a line for > 'network_interfaces="ed0 ed1 lo0"' in that file. I know I can add it, but > will 'ed0' and 'ed1' work for PCI > NICs? If there is no 'network_interfaces=' line in your /etc/rc.conf, the line in /etc/defaults/rc.conf will be used, which reads 'network_interfaces="auto"'. This setting will enable all interfaces that have been enabled in the kernel. Take a look at the output of 'ifconfig' and 'dmesg' - you should find the device names of your NICs there. For example, on my machine, the output of 'dmesg' contains the lines: rl0: port 0x6000-0x60ff mem 0xe0201000-0xe02010ff irq 11 at device 9.0 on pci0 rl0: Ethernet address: 00:00:1c:d3:f0:83 miibus0: on rl0 and further down: dc0: port 0x6100-0x61ff mem 0xe0200000-0xe02000ff irq 10 at device 10.0 on pci0 dc0: Ethernet address: 00:80:ad:79:2b:42 miibus1: on dc0 So, my two pci NICs have the device names rl0 and dc0 and I'd have to substitute ed0 and ed1 with them (in /etc/rc.conf. Do NOT edit /etc/defaults/rc.conf). lo0 is the internal loopback device. Greetings, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message