From owner-freebsd-questions Sat Sep 11 7: 1:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.binep.ac.ru (ns.binep.ac.ru [193.233.37.5]) by hub.freebsd.org (Postfix) with ESMTP id 1AB6A14C1F for ; Sat, 11 Sep 1999 07:01:31 -0700 (PDT) (envelope-from goshik@binep.ac.ru) Received: from serv2.binep.ac.ru (serv2 [193.233.44.77]) by ns.binep.ac.ru (8.9.2/8.8.8) with SMTP id SAA70090; Sat, 11 Sep 1999 18:10:54 +0400 (MSD) (envelope-from goshik@binep.ac.ru) Reply-To: "Igor B. Bykhalo" From: "Igor B. Bykhalo" To: "David Heller" Cc: "-questions@FreeBSD" Subject: Re: How do you setup 2 Ethernet cards?? Date: Sat, 11 Sep 1999 17:41:26 +0300 Message-ID: <01befc63$ba450580$0000e9c1@serv2.binep.ac.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.0913.2206 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0913.2200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Hi All, Hi! > >I would like to install another ethernet card. I currently use a 3Com >3C509 ISA card and would like to install another one. From looking at >the kernel source it looks like I would have to recomplie for another >card. The question is how do specify in the source the 2 cards so that My server runs with 3(three) 3C509B BNC/AUI (Etherlink III) without problems 1.5+ years... Here's the relevant part from my kernel config file: ... device ep0 at isa? port 0x300 net irq 12 device ep1 at isa? port 0x320 net irq 11 device ep2 at isa? port 0x340 net irq 10 ... Of course, You will have to rebuild and install new kernel. >they are detected properly. (I do have a dos system to reconfigure the Right, you use DOS 3c5x9cfg.exe to configure cards. What might be not very obvious, this utility has a knob to set "optimization" type - something like "client", "modem", etc. - I don't remember precisely. I've always set it to "server" - and had no problems. >card as necessary)And once the kernel is setup how do I configure my >system ?? The first card uses dhcpc the second card will be my LAN. The >first card is setup already and works well. Sorry, can't help you with DHCP - I used it only for clients. But, for the reference, the relevant part of /etc/rc.conf: ... network_interfaces="ep0 ep1 ep2 lo0 sl0" # List of network interfaces (lo0 is loopb ifconfig_ep0="inet XXX.YYY.ZZZ.65 netmask 255.255.255.240" ifconfig_ep1="inet XXX.YYY.ZZZ.81 netmask 255.255.255.248" ifconfig_ep2="inet XXX.YYY.ZZZ.89 netmask 255.255.255.248" ... > >Thanks > >Dave You're welcome! Regards, Goshik _____________________________________________________ "Where am I, and what am I doing in this handbasket?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message