From owner-freebsd-questions Wed Jun 5 12:18:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA24735 for questions-outgoing; Wed, 5 Jun 1996 12:18:10 -0700 (PDT) Received: from mistery.mcafee.com (jimd@mistery.mcafee.com [192.187.128.69]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA24728 for ; Wed, 5 Jun 1996 12:18:08 -0700 (PDT) Received: (from jimd@localhost) by mistery.mcafee.com (8.6.11/8.6.9) id MAA01561; Sat, 5 Jun 2010 12:14:48 -0700 From: Jim Dennis Message-Id: <201006051914.MAA01561@mistery.mcafee.com> Subject: Re: ifconfig aliasing To: ptroot@uswest.com (Paul T. Root) Date: Sat, 5 Jun 110 12:14:48 -0700 (PDT) Cc: wollman@lcs.mit.edu, questions@freefall.freebsd.org In-Reply-To: <199606051727.MAA04210@astro.acs.uswest.com> from "Paul T. Root" at Jun 5, 96 12:27:19 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > In a previous message, Garrett Wollman said: > > < said: > > > I tried 'ifconfig ep0:1 alias 205.227.... netmask 255.255...' > > > which the system accepted without error, and which seemed > > > to add entries into my 'netstat -nr' output. > That's how sun does address aliasing. > > This is probably a bug; it should not have accepted `ep0:1'. What on > > earth made you decide to write that? My previous experience with IP aliasing (very limited) was on a Linux box and on a Solaris 2.4. Both of these also provide the list of aliased interfaces as part of the 'ifconfig -a' output. Someone else on the list provide me with the right answer: netstat -i (list interfaces) Next question: Is there a way to collect separate statistics on each aliased address? I'd like to monitor the activity on the old address so I can drop that interface later. The whole reason we're doing the aliasing is to phase out some addresses that are routed through our old T1's and phase them in on the router that's fed by our new DS3. They are from different ISP's and we can't carry the adddresses with us (CIDR aggregation limitations). We aren't running BGP4 and have no intention of doing so (we don't care about dynamic load balancing between our 'homes'). I'll also be experimenting on some "fail over" scripts that allow hosts in my "round robin rings" rings to dynamically pick up for one another if one fails temporarily. Jim Dennis, System Administrator, McAfee Associates