From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 06:52:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC42716A4CE for ; Mon, 15 Dec 2003 06:52:30 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF4943DC6 for ; Mon, 15 Dec 2003 06:52:28 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id hBFEqHr08649; Mon, 15 Dec 2003 09:52:18 -0500 (EST) From: Jerry McAllister Message-Id: <200312151452.hBFEqHr08649@clunix.cl.msu.edu> To: flux@hotbox.ru Date: Mon, 15 Dec 2003 09:52:16 -0500 (EST) In-Reply-To: <1903868068.20031215151634@hotbox.ru> from "flux" at Dec 15, 2003 03:16:34 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: 2 ip-addr for 1 netcard... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 14:52:31 -0000 > > How do I assign two IP addresses for one netcard? > Thank you. Check out ifconfig(8) alias if done in the rc.conf file or its children it would be something like the following because of the way network startup works. ifconfig_xl0_alias0="147.39.62.11 netmask 255.255.255.255" ifconfig_xl0_alias1="147.39.62.12 netmask 255.255.255.255" The quotes must be there, the aliasnn numbers must each be unique and the netmask must be as shown. The ip addresses abobe, of course, are fiction and must be replaced with correct ones. ////jerry > > -- > Best regards, > flux mailto:flux@hotbox.ru > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >