From owner-freebsd-hardware Tue Feb 18 14:26: 0 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 DD4B937B401 for ; Tue, 18 Feb 2003 14:25:57 -0800 (PST) Received: from support.urchin.com (support.quantified.com [63.212.171.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 205E843F75 for ; Tue, 18 Feb 2003 14:25:57 -0800 (PST) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.urchin.com [63.212.171.5]) (authenticated bits=0) by support.urchin.com (8.12.6/8.12.6) with ESMTP id h1IMQNmQ011298; Tue, 18 Feb 2003 14:26:02 -0800 (PST) (envelope-from dsilver@urchin.com) Content-Type: text/plain; charset="iso-8859-1" From: Doug Silver Organization: Urchin Software Corporation To: "vizion communication" , Subject: Re: Configuring multi-port ethernet cards. Date: Tue, 18 Feb 2003 14:25:33 -0800 User-Agent: KMail/1.4.3 References: <034001c2d794$aeb7d4d0$15b55042@vizion2000.net> <00de01c2d79b$bf603050$0200a8c0@noemie> In-Reply-To: <00de01c2d79b$bf603050$0200a8c0@noemie> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302181425.55401.dsilver@urchin.com> 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 I would guess that you can follow the same methodology as assigning multi= ple=20 IP's to a single nic in your rc.conf file: ifconfig_de0=3D"inet 1.2.3.4 netmask 255.255.255.???" ifconfig_de0_alias0=3D"inet 1.2.3.5 netmask 255.255.255.255" ifconfig_de0_alias1=3D"inet 1.2.3.6 netmask 255.255.255.255" ifconfig_de1=3D"inet 1.2.3.40 netmask 255.255.255.???" ifconfig_de1_alias0=3D"inet 1.2.3.41 netmask 255.255.255.255" Note that the netmask for the alias addresses *has* to be 255.255.255.255= =2E -doug On Tuesday 18 February 2003 02:18 pm, Lanny Baron wrote: > 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 mo= re > 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 --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver 619 235-2665 Network Manager Urchin Software Corp.=09http://www.urchin.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message