Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 17:19:04 -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:  <00de01c2d79b$bf603050$0200a8c0@noemie>
References:  <034001c2d794$aeb7d4d0$15b55042@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00de01c2d79b$bf603050$0200a8c0>