From owner-freebsd-current@FreeBSD.ORG Sat Mar 9 08:08:48 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C038A645 for ; Sat, 9 Mar 2013 08:08:48 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx1.freebsd.org (Postfix) with ESMTP id 7018033B for ; Sat, 9 Mar 2013 08:08:48 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id k14so2880601oag.25 for ; Sat, 09 Mar 2013 00:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=fsvorRarsVNrO5s6D5Ge0QDH0zyEnnlz2+Up8SToUwQ=; b=lS2lsPljb5wQ8IMFu1ENksFHHYL7o4WptLv0NJVyuwjRvtygTIzi9fJY744ghCS6gI akxVNW/AE8G/ydOT4TFG42ycob4XZfP8dlPazcRc3OaL0HnH5V1bWnAwX1B6uPjeAO3I wbqbUrjqy05BmzpTQuRoT9ChBIeNk9KmN5Vee0eK2yaQTg2/5Cc4FFwQwUxsThEO+38C RM0bfRet8B1TwpIjIe412clNho5nlFjxERXC60Iyyqr29CU4dixjCuQsR9yKJOB4a03+ dtNmcLzPARIJq4PIkVB53HVSbG8f0sasAxJfRK4qgq+M2Qcjsl7Q5d/F0DK1305I7Zp9 S6Dw== MIME-Version: 1.0 X-Received: by 10.60.172.18 with SMTP id ay18mr3976548oec.126.1362816522757; Sat, 09 Mar 2013 00:08:42 -0800 (PST) Received: by 10.76.12.5 with HTTP; Sat, 9 Mar 2013 00:08:42 -0800 (PST) In-Reply-To: References: Date: Sat, 9 Mar 2013 03:08:42 -0500 Message-ID: Subject: Re: multi-homing in freebsd From: Zaphod Beeblebrox To: Yasir hussan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2013 08:08:48 -0000 On Sat, Mar 9, 2013 at 3:04 AM, Yasir hussan wrote: > i just want to run multiple IPs for single network card in freebsd > > OK. A better question. About the only caution I can give here (assuming you don't mean something more interesting like vlans and whatnot) is that if both IP addresses are on the SAME network, use a /32 as the netmask (it works better). If they are on different networks, specify the netmask as normal. You may, at this point, need a method to choose which IP address to use for any particular connection. There's a pile of documentation waiting for you.