From owner-freebsd-net@FreeBSD.ORG Wed Mar 3 08:28:46 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EDF916A4CE for ; Wed, 3 Mar 2004 08:28:46 -0800 (PST) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CEE043D2F for ; Wed, 3 Mar 2004 08:28:43 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 20793 invoked from network); 3 Mar 2004 16:28:39 -0000 Received: from 217-162-135-163.dclient.hispeed.ch (HELO ga) (217.162.135.163) by 0 with SMTP; 3 Mar 2004 16:28:39 -0000 Date: Wed, 3 Mar 2004 17:31:11 +0100 From: Gabriel Ambuehl Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <54297371.20040303173111@buz.ch> To: Erik Sliman In-Reply-To: <404604FC.1020506@openstandards.net> References: <404604FC.1020506@openstandards.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Multiple static IPs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel_ambuehl@buz.ch List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 16:28:46 -0000 Hello Erik, Wednesday, March 3, 2004, 5:17:00 PM, you wrote: > How do you give a computer multiple static IPs? > I've tried many things, including the ifaliases setting in rc.conf: > ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0" > ifaliases_vr0="192.168.1.36 255.255.255.0" > but none seem to work. Wrong list but anyhow: ifconfig_vr0="inet someip netmask 255.255.255.224" ifconfig_vr0_alias0="inet someip+1 netmask 255.255.255.255" ifconfig_vr0_alias1="inet someip+2 netmask 255.255.255.255" ifconfig_vr0_alias1="inet otherip netmask 255.255.255.128" Or RTFM. Best regards, Gabriel