From owner-freebsd-hackers Fri Aug 25 10:25:03 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA18916 for hackers-outgoing; Fri, 25 Aug 1995 10:25:03 -0700 Received: from irbs.irbs.com (irbs.com [199.182.75.129]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA18907 for ; Fri, 25 Aug 1995 10:25:00 -0700 Received: (from jc@localhost) by irbs.irbs.com (8.6.11/8.6.6) id NAA07044; Fri, 25 Aug 1995 13:24:13 -0400 From: John Capo Message-Id: <199508251724.NAA07044@irbs.irbs.com> Subject: Re: alias ( secondary IP ) for Ethernet Ifaces in FreeBSD To: dennis@et.htp.com (dennis) Date: Fri, 25 Aug 1995 13:24:11 -0400 (EDT) Cc: paul@isl.cf.ac.uk, hackers@freebsd.org In-Reply-To: <199508251611.MAA29425@mail.htp.com> from "dennis" at Aug 25, 95 12:11:42 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1240 Sender: hackers-owner@freebsd.org Precedence: bulk dennis writes: > > >In reply to Rashid Karimov. who said > >> > >> Hi there folx, > >> > >> Is it working ? > >> If yes - how can one set it up ? What's the correct format for > >> the command ? Should it be reflected somehow in ifconfig output > >> or netstat ? > > > >Co-incidentally I've spent the last few days playing with this and > >after talking with Garret, who explained a few problems I was > >seeing, my conclusion is that it works but it needs some time spent > >on it to make it more useable. A netstat -i will show up the alias > >but I plan to look at revamping ifconfig to be more alias friendly > >after 2.0.5 goes out. > > > >> > >> For example , I have ep0 iface and I want to assign the > >> secondary( alias) IP address to it . > >> What command should be issued ? > >> > >> ifconfig ep0 alias 199.199.199.22 > > > > I've read several messages in this thread and can't get it to work. > SOMETHING shows up with netstat -in but I can't ping it. I've tried > > > ifconfig ed0 204.141.95.2 alias (This takes but doesn't work) > > and > > ifconfig ed0 alias 204.141.95.2 (I get "File Exists" here) > Try ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff John Capo IRBS Engineering