From owner-freebsd-questions Mon Nov 13 16:23:02 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07950 for questions-outgoing; Mon, 13 Nov 1995 16:23:02 -0800 Received: from dtr.com (dtr.rain.com [204.119.8.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA07945 for ; Mon, 13 Nov 1995 16:22:59 -0800 From: bmk@dtr.com Received: (from bmk@localhost) by dtr.com (8.6.12/8.6.9) id QAA07562; Mon, 13 Nov 1995 16:20:47 -0800 Message-Id: <199511140020.QAA07562@dtr.com> Subject: Re: How do I setup IP aliases? To: paul@trumpet.net.au (Paul Reece) Date: Mon, 13 Nov 1995 16:20:46 -0800 (PST) Cc: shorty@iii.net, freebsd-questions@freebsd.org In-Reply-To: from "Paul Reece" at Nov 14, 95 11:00:23 am Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 822 Sender: owner-questions@freebsd.org Precedence: bulk > On Mon, 13 Nov 1995, Justin Seger wrote: > > I want to setup multiple IP addresses for one ethernet card, specifically: > > 199.232.47.49, 199.232.47.52, 199.232.47.53, 199.232.47.54 > > > > My default is to ifconfig le0 to 199.232.47.49. I tried doing this: > > ifconfig le0 alias 199.232.47.52 then setting up an arp entry: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > arp -s 199.232.47.52 ethernetaddress pub > > > > I then try to ping 199.232.47.52 and get no response. Could someone tell me > > what I'm doing wrong? Thanks in advance. > > -Justin Seger- > do a man ifconfig > the command is: > ifconfig alias It appears to me that that is what he's doing. One step that's missing is that he will need to use a netmask of 0xffffffff on the aliases if they are on the same subnet.