From owner-freebsd-questions Mon Dec 23 10:59:21 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA15748 for questions-outgoing; Mon, 23 Dec 1996 10:59:21 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA15738 for ; Mon, 23 Dec 1996 10:59:15 -0800 (PST) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id UAA01764; Mon, 23 Dec 1996 20:59:01 +0200 (IST) Date: Mon, 23 Dec 1996 20:59:01 +0200 (IST) From: Nadav Eiron To: "Robert S. Liotta, II" cc: "'questions@freebsd.org'" Subject: Re: Can I set up multiple IP on one Card? In-Reply-To: <01BBF0D2.5ED90560@lrnau101.usco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 23 Dec 1996, Robert S. Liotta, II wrote: > Can FreeBSD listen to multiple IP addresses on one interface? > How? > > Yes. It is called IP aliases. If the addresses are on the same subnet as the first IP address assigned the easiest way is to give something like: ifconfig de0 inet 192.116.93.18 netmask 255.255.255.255 alias Note that you should use a netmask of all 1-s. If you want the new alias on a different subnet than the original you'll have to give the true netmask and also modify the routing tables accordingly. Look at the manual pages for ifconfig(8) and route(8), if necessary. Nadav