From owner-freebsd-hardware Tue Feb 18 14:18: 1 2003 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D8D537B401 for ; Tue, 18 Feb 2003 14:17:59 -0800 (PST) Received: from mx1.freebsdsystems.com (gw.tor.freebsdsystems.com [216.138.230.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 599DD43F3F for ; Tue, 18 Feb 2003 14:17:58 -0800 (PST) (envelope-from lnb@freebsdsystems.com) Received: (qmail 63241 invoked by uid 89); 18 Feb 2003 22:17:57 -0000 Received: from unknown (HELO noemie) (192.168.0.2) by mx1.freebsdsystems.com with SMTP; 18 Feb 2003 22:17:57 -0000 Message-ID: <00de01c2d79b$bf603050$0200a8c0@noemie> From: "Lanny Baron" To: "vizion communication" , References: <034001c2d794$aeb7d4d0$15b55042@vizion2000.net> Subject: Re: Configuring multi-port ethernet cards. Date: Tue, 18 Feb 2003 17:19:04 -0500 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 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, What you might want to do after you have successfully installed FreeBSD is, ifconfig de1 inet x.x.x.x netmask x.x.x.x that will put the primary IP/mask on de1. Then, when you want to add more IP addresses to that (or any other NIC on your box) do: ifconfig deX alias x.x.x.x. netmask 255.255.255.255 don't forget the keyword 'alias' above, when adding IP addresses to any NIC -after- you have already put on the primary address. The netmask of 255.255.255.255 must also be used for addtional IPs on any NIC. Hope that helps. Lanny Baron http://www.FreeBSDsystems.com ----- Original Message ----- From: "vizion communication" To: Sent: Tuesday, February 18, 2003 4:28 PM Subject: Configuring multi-port ethernet cards. > OK I have not used multi-port ethernet cards before - it > should be simple enough but for some reason I am hitting > problems. (The FreeBSD installation tool for 4.7 does not > help with configuring multiple NICS - it creates a new hosts > file each time!!) > > de0, de1, de2, de3 and le0 are my devices. > > Ip allocation xxx.xxx.xxx.2 > xxx.xxx.xxx.3 > xxx.xxx.xxx.4 > xxx.xxx.yyy.aaa > ccc.ddd.eee.fff > as IP Addresses for the devices. > > 3 NICS are on one sub net and two NIC's on others. > > If I need to allocate individual hostnames for each IP > address how do configure them. Do I do that in /etc/hosts? > Does FreeBSD only recognize a single hostname for a kernel? > > What do I do about loopback? > > The hostnames are not within the same domain even when there > are on the same subnet. > > Some guidance appreciated. > > David > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message