From owner-freebsd-questions Sun Feb 3 14:44:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (Postfix) with ESMTP id 76F9B37B420 for ; Sun, 3 Feb 2002 14:44:32 -0800 (PST) Received: from cybertron.kruijff ([213.10.151.186]) by smtp04.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GQZB6600.8H2; Sun, 3 Feb 2002 23:44:30 +0100 Date: Sun, 3 Feb 2002 23:44:29 +0100 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <6635714765.20020203234429@cybertron.tmfweb.nl> To: "shancecgol S Yorgen" Cc: "freebsd-questions" Subject: Re: how to configure 2 lancards... In-Reply-To: <20020203132540.854C237B402@hub.freebsd.org> References: <20020203132540.854C237B402@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello shancecgol, Sunday, February 03, 2002, 2:34:46 PM, you wrote: sSY> I setup my freebsd yeterday w/ 1 ISA 3com 3c509 lan card, when i did an ifconfig i saw that the device name "ep0" was there w/ my assigned ip_address. No, problem there, but now i want this box sSY> to act as a gateway, so i installed a new lan card, still the same, an ISA 3com 3c509. I booted my system and i cant directly configure my 2nd nic through sSY> "ifconfig ep1 192.168.2.1 netmask 255.255.255.0... up", sSY> now i went to recompile my kernel and search of the nic, and saw an entry...: sSY> #ISA ETHERNET NICs. sSY> device ep sSY> im not sure how to configure the kernel to detect my 2nd lancard, should put.. sSY> #ISA ETHERNET NICs. sSY> device ep0 sSY> device ep1 at isa? port 0x300 irq 9 sSY> ... is this right? or should i just leave it to the default "device ep", and it would detect my 2 lancard... if not, then what should i put in the kernel, what else do i need to configure to sSY> make this work... sSY> thanx in advance!!! Im not 100% sure about this. I think the 'device ep' in your kernel files says compile the code for all NIC of type ep. I would try to setup the second card at the rc.conf. Reboot and see if you can use it. Ifconfig only set up your NIC up for the session. As soon as you reboot its gone. -- Best regards, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message