Date: Fri, 26 Oct 2001 20:39:52 -0700 (PDT) From: Yet Another FreeBSD Hacker <hacker@bolingbroke.com> To: PetBuilder <petbuilder@mediaone.net> Cc: FreeBSD-Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Binding additional IP addresses Message-ID: <Pine.BSF.4.21.0110262036180.6218-100000@fremont.bolingbroke.com> In-Reply-To: <001001c15e90$21acf850$77a44a42@home>
next in thread | previous in thread | raw e-mail | index | archive | help
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?Pine.BSF.4.21.0110262036180.6218-100000>