From owner-freebsd-questions Mon Jan 11 17:38:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05134 for freebsd-questions-outgoing; Mon, 11 Jan 1999 17:38:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bladerunner.skynetweb.com (bladerunner.skynetweb.com [208.239.240.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05129 for ; Mon, 11 Jan 1999 17:38:19 -0800 (PST) (envelope-from pryker@skynetweb.com) Received: from skynetweb.com (id.rather.be.running.unix.skynetweb.com [208.239.240.44]) by bladerunner.skynetweb.com (8.8.8/8.8.8) with ESMTP id UAA20961; Mon, 11 Jan 1999 20:37:31 -0500 (EST) (envelope-from pryker@skynetweb.com) Message-ID: <369AA6A2.12810085@skynetweb.com> Date: Mon, 11 Jan 1999 20:34:26 -0500 From: Phillip Ryker - System Administrator Reply-To: sysadmin@skynetweb.com Organization: SkyNet Internet Services X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: IP Aliasing... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG List, I have been using the 'ifconfig' command in conjunction with the 'route' command to add ip aliases to the ethernet interface in my freebsd box. After experimenting a little I have found that I do not need to use the 'route' command at all for the addresses to work. I simply use: ifconfig vx0 inet 208.239.248.xxx netmask 255.255.255.xxx alias and it adds the ip numbers and the route in the kernels routing table. My question is: Do I really need to be adding a route for each IP or can I just simply use the 'ifconfig' command to add ip aliases?? What is the CORRECT way of doing this?? I only ask because after going through the e-mail archives and tutorials I have seen examples in using both. Thank you in advance. -- Phillip Ryker ---------------------------- SkyNet Internet Services 1549 Old Bridge Rd. Suite 105 Woodbridge Va. 22192 703-491-2272 * 703-491-8116 Fax: 703-492-0778 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message