Date: Fri, 24 Aug 2001 19:11:18 +0200 From: "Michael Nottebrock" <michaelnottebrock@gmx.net> To: <freebsd-newbies@FreeBSD.ORG>, <jcraig03@tampabay.rr.com> Subject: Re: FreeBSD-STABLE Firewall with IPFILTER Message-ID: <002d01c12cbf$cae27920$0408a8c0@localdomain> References: <200108241610.f7OGAI202083@smtp-server1.tampabay.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> [...] > > ## 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: <RealTek 8139 10/100BaseTX> port 0x6000-0x60ff mem 0xe0201000-0xe02010ff irq 11 at device 9.0 on pci0 rl0: Ethernet address: 00:00:1c:d3:f0:83 miibus0: <MII bus> on rl0 and further down: dc0: <Davicom DM9102A 10/100BaseTX> port 0x6100-0x61ff mem 0xe0200000-0xe02000ff irq 10 at device 10.0 on pci0 dc0: Ethernet address: 00:80:ad:79:2b:42 miibus1: <MII bus> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002d01c12cbf$cae27920$0408a8c0>