Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 20:57:32 -0700
From:      "PetBuilder" <petbuilder@mediaone.net>
To:        "Yet Another FreeBSD Hacker" <hacker@bolingbroke.com>
Cc:        "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Binding additional IP addresses
Message-ID:  <00a301c15e9b$83ce6d10$77a44a42@home>
References:  <Pine.BSF.4.21.0110262036180.6218-100000@fremont.bolingbroke.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank You, that worked great.
Also, Thanks to Kyle. It didn't work for me but it got me started.

Craig Rose
Web-Zonic, Inc.

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.
If you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.
----- Original Message -----
From: "Yet Another FreeBSD Hacker" <hacker@bolingbroke.com>
To: "PetBuilder" <petbuilder@mediaone.net>
Cc: "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG>
Sent: Friday, October 26, 2001 8:39 PM
Subject: Re: Binding additional IP addresses



From /etc/defaults/rc.conf, you'll find a sample entry:

 #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias
entry.

Copy that line to /etc/rc.conf, and adjust it to suit your specific needs,
such as:

 ifconfig_ed0_alias0="inet 192.168.0.2 netmask 0xffffffff"
 ifconfig_ed0_alias1="inet 192.168.0.3 netmask 0xffffffff"

Ken


On Fri, 26 Oct 2001, PetBuilder wrote:

> How do you bind additional IP addresses to a network card?
> We need the extra IP on the system for several sites that will require
their own IP.
>
> Do we just add the numbers to the /etc/rc.conf at the following line:
> ifconfig_ed0="192.168.0.1 192.168.0.2 192.168.0.3  netmask 255.255.255.0"
>
> Thanks,
>
> Craig Rose
> Web-Zonic, Inc.
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.
> If you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.
>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a301c15e9b$83ce6d10$77a44a42>