From owner-freebsd-questions Fri Dec 15 9:20:35 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 15 09:20:32 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mgci.com (box1.mpowercom.net [208.57.0.10]) by hub.freebsd.org (Postfix) with SMTP id 364F837B400 for ; Fri, 15 Dec 2000 09:20:32 -0800 (PST) Received: (qmail 10750 invoked from network); 15 Dec 2000 17:20:25 -0000 Received: from las-dsl113-cust059.mpowercom.net (HELO chris) (208.57.113.59) by box1.mpowercom.net with SMTP; 15 Dec 2000 17:20:25 -0000 Message-ID: <012f01c066bb$504831c0$0c00a8c0@amgroupadmin.com> From: "Chris Smith" To: "Dennis Turpitka" Cc: "Freebsd Questions" References: <1427449341.20001215175656@omni.dp.ua> <20001215193721.B51999@poeza.iconnect.co.ke> <16830656057.20001215185022@omni.dp.ua> Subject: Re: Re[2]: 2nd network card installation Date: Fri, 15 Dec 2000 09:20:25 -0800 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.50.4133.2400 Disposition-Notification-To: "Chris Smith" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you are using PCI network cards (which it sounds like you are), all you should have to do is put it in your /etc/rc.conf. For example, say you have two network cards: rl0 and rl1, and rl0 is on the outside interface and rl1 is inside (I presume you're setting up a firewall with natd?) you would make your /etc/rc.conf look something like this: network_interfaces="rl0 rl1 lo0" hostname="gateway.mybsdgw.com" # your hostname here gateway_enable="YES" firewall_enable="YES" # If you are using ipfw firewall_type="OPEN" # your firewall type here natd_enable="YES" # If you are using natd natd_flags="-f /etc/natd.conf" natd_interface="rl0" ifconfig_rl0="inet xxx.xxx.xxx.xxx netmask 255.255.255.0" defaultrouter="xxx.xxx.xxx.yyy" ifconfig_rl1="inet 10.10.10.1 netmask 255.255.255.0" To setup natd, read "man natd" they have pretty good tutorial there. Chris Smith _________________ IT Department American Group Administrators First National Administrators ----- Original Message ----- From: "Dennis Turpitka" To: "Odhiambo Washington" Cc: Sent: Friday, December 15, 2000 7:50 AM Subject: Re[2]: 2nd network card installation > Hello Odhiambo, > > Friday, December 15, 2000, 7:37:21 PM, you wrote: > > OW> If you're sure you've ascertained that the card is supported by FreeBSD > OW> then it is easy. Just powerdown, plugin the card and power up. > OW> See in the kernel config file that device rl is enabled, if not enable and > OW> recompile. > As I understand, kernel at booting time must detect my card, and make > changes to its config file, so I don't need to edit kernel config file > myself. And if it didn't detect - then I must force this process by manual > editing config. Am I right? > And another question - if kernel detects my card - I must not > recompile kernel? > I simply want to know about this process - it isn't described in > any manual I've found :( > > -- > Best regards, > Dennis mailto:freebsd@omni.dp.ua > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message