From owner-freebsd-net Tue Feb 27 11:42:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from worldclass.jolt.nu (lgh637b.hn-krukan.AC [212.217.139.112]) by hub.freebsd.org (Postfix) with ESMTP id 3668937B71A for ; Tue, 27 Feb 2001 11:42:11 -0800 (PST) (envelope-from c4@worldclass.jolt.nu) Received: by worldclass.jolt.nu (Postfix, from userid 1000) id 88B774E; Tue, 27 Feb 2001 20:39:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by worldclass.jolt.nu (Postfix) with ESMTP id 868FA44; Tue, 27 Feb 2001 20:39:44 +0100 (CET) Date: Tue, 27 Feb 2001 20:39:44 +0100 (CET) From: Tobias Fredriksson To: "Rogier R. Mulhuijzen" Cc: "Drew J. Weaver" , "'freebsd-net@freebsd.org'" Subject: Re: Quick question about IP aliasing In-Reply-To: <4.3.2.7.0.20010227012505.00c6b340@mail.bsdchicks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 27 Feb 2001, Rogier R. Mulhuijzen wrote: > At 01:06 27-2-01 +0100, Tobias Fredriksson wrote: > > > >On Mon, 26 Feb 2001, Drew J. Weaver wrote: > > > > > Say I have a main server Ip address of (This is completely made up) > > > 209.190.53.51, and I have 32 IP addresses blocked to it on 209.51.193.32-64 > > > (or whatever, this is an example) would this alias line still be valid for > > > that? I've never done a server where the MAIN IP and the aliased IPs > > were on > > > different IP classes. > > > > > > ifconfig_fxp0_alias0="inet 209.51.193.32 netmask 255.255.255.0" (is an > > > example of what im using for the aliases.) > > > >do 'netmask 255.255.255.255' instead or 'netmask 0xffffffff' since this is > >an alias... for some reason otherwise services may not bind to the ip > >correctly > > Not if the alias is in a different subnet though. Or am I missing something? > > DocWilco > no not if its on another subnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message