From owner-freebsd-current@FreeBSD.ORG Sat Mar 9 08:57:40 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 02EB4E0C for ; Sat, 9 Mar 2013 08:57:40 +0000 (UTC) (envelope-from kolyasir@gmail.com) Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41]) by mx1.freebsd.org (Postfix) with ESMTP id A162D637 for ; Sat, 9 Mar 2013 08:57:39 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id bs12so205347qab.0 for ; Sat, 09 Mar 2013 00:57:33 -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=C4jN855WtoXnWNA6ZMjLj0XKbpqXYMQKoT09R/3kKrU=; b=K5hg1s4OTmVEYWVdygB8Q/q9FqfepfNuFThSvvBHCthx57p6WMk7i0ohLiSY5yGh3X 6ds2RHkkxAM2ElJfbec+z4p8gMdLZ3nCis0qoAXljFXH2L2g7XSYPMy/9HlyNLEyzTEG O+/wHk4ON1QF3yGnKuldb4/wBidlNKQ+HbBdBPwxKAPk1ecTP7/Dvf0854NkXV7ex+/E VGwgP4+/AmcOb+mMMiI8vSfJDFk9rEDUGcV9uVzqEW0bFStczVGF6lW+Vqu4WSRgqC/w e1YjN0UvyibYGF39UgoagxZwJFU86xMGZrX5x139YOFtjBTPDBo2erd0Y6V0t3eWm6OD aMSQ== MIME-Version: 1.0 X-Received: by 10.49.105.4 with SMTP id gi4mr8855602qeb.0.1362819453721; Sat, 09 Mar 2013 00:57:33 -0800 (PST) Received: by 10.49.48.197 with HTTP; Sat, 9 Mar 2013 00:57:33 -0800 (PST) In-Reply-To: References: Date: Sat, 9 Mar 2013 03:57:33 -0500 Message-ID: Subject: Re: multi-homing in freebsd From: Yasir hussan To: Zaphod Beeblebrox 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:57:40 -0000 Kindly will u give me example with cammand line, which can test on my freebsd machine, i want two ips 192.168.1.100 and 192.169.1.100 to be work on single network interface, my default interface for network is arge0 On Sat, Mar 9, 2013 at 3:08 AM, Zaphod Beeblebrox wrote: > 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. > >