From owner-freebsd-questions Mon Dec 20 23:56:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id BC5E014DAB for ; Mon, 20 Dec 1999 23:56:39 -0800 (PST) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.9.1/8.9.1) with ESMTP id IAA29153; Tue, 21 Dec 1999 08:56:26 +0100 (MET) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 21 Dec 1999 08:56:25 +0100 (CET) From: Micke Josefsson To: Andy Bailey Subject: RE: Question about Ip's Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Dec-99 Andy Bailey wrote: > I have a FreeBSD server and unlimited ip address's i can have > But i dont know how to put more then 1 ip on a machine to get more port's > with out putting on another nic card > Can ya help me out? > > Thank's >>From CrEaToR > Creator@mt.net As from my rc.conf #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. If your iface is vx0 and ip=1.1.1.1 then you can configure vx0_alias0 as ip 2.2.2.2 (given that the netmask is 255.255.255.0). ifconfig_vx0_alias0="inet 2.2.2.2 netmask 255.255.255.0" And ONLY do this with the ipadresses you are allowed to, don't try someone else's:) /M ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.1 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message