Date: Tue, 18 Feb 2003 17:39:22 -0500 From: "Lanny Baron" <lnb@freebsdsystems.com> To: "vizion communication" <vizion@ixpres.com>, <freebsd-hardware@freebsd.org> Subject: Re: Configuring multi-port ethernet cards. Message-ID: <00ff01c2d79e$953f8d90$0200a8c0@noemie> References: <034001c2d794$aeb7d4d0$15b55042@vizion2000.net> <00de01c2d79b$bf603050$0200a8c0@noemie> <035401c2d79b$65452c10$15b55042@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I do not know why anything but the primary IP on a NIC has to have 255.255.255.255. But, I can tell you that it does work. On an ISP I manage with tons of sites, it works like a charm. Then again, why break that which is not borked? Lanny ----- Original Message ----- From: "vizion communication" <vizion@ixpres.com> To: "Lanny Baron" <lnb@freebsdsystems.com>; <freebsd-hardware@freebsd.org> Sent: Tuesday, February 18, 2003 5:16 PM Subject: Re: Configuring multi-port ethernet cards. > AHAHAHA ---but my brain doesnt get it!! > > I understand what you are saying and am really appreciative > I do not understand why two NICs on the same card have the > real netmask an the others works with 4x255!!!!! > > > David > ----- Original Message ----- > From: "Lanny Baron" <lnb@freebsdsystems.com> > To: "vizion communication" <vizion@ixpres.com>; > <freebsd-hardware@freebsd.org> > Sent: Tuesday, February 18, 2003 2:19 PM > Subject: Re: Configuring multi-port ethernet cards. > > > > 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" <vizion@ixpres.com> > > To: <freebsd-hardware@freebsd.org> > > 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 > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ff01c2d79e$953f8d90$0200a8c0>