From owner-freebsd-current@FreeBSD.ORG Wed Mar 13 08:30:26 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 AA9E2D1A for ; Wed, 13 Mar 2013 08:30:26 +0000 (UTC) (envelope-from ianf@cloudseed.co.za) Received: from zcs04.jnb1.cloudseed.co.za (zcs04.jnb1.cloudseed.co.za [41.154.0.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1E246C2D for ; Wed, 13 Mar 2013 08:30:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTP id 3DD9A2A82F0F; Wed, 13 Mar 2013 10:21:18 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs04.jnb1.cloudseed.co.za Received: from zcs04.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs04.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RAyP61nphCOl; Wed, 13 Mar 2013 10:21:17 +0200 (SAST) Received: from clue.co.za (unknown [197.87.27.46]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id 47F172A829F1; Wed, 13 Mar 2013 10:21:17 +0200 (SAST) Received: from localhost ([127.0.0.1] helo=zen.clue.co.za) by clue.co.za with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UFgw0-0000fa-LX; Wed, 13 Mar 2013 10:21:16 +0200 To: Yasir hussan From: Ian FREISLICH Subject: Re: using multiple interfaces for same Network Card In-Reply-To: References: X-Attribution: BOFH Date: Wed, 13 Mar 2013 10:21:15 +0200 Message-Id: X-Mailman-Approved-At: Wed, 13 Mar 2013 11:27:35 +0000 Cc: Tom Evans , Current 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: Wed, 13 Mar 2013 08:30:26 -0000 Yasir hussan wrote: > --20cf3005141ab7271904d7be84ff > Yes, i want to use them as vlan interface, Does any one has used *vlandev*, > after seen this > http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfig-comm and/i > tried to use it as > > ifconfig vlan11 create 10.10.11.1 255.255.255.0 vlan 11 vlandev arge0 > ifconfig vlan12 create 10.10.12.1 255.255.255.0 vlan 12 vlandev arge0 > ifconfig vlan13 create 10.10.13.1 255.255.255.0 vlan 13 vlandev arge0 > ifconfig vlan14 create 10.10.14.1 255.255.255.0 vlan 14 vlandev arge0 you want: ifconfig vlan11 create vlan 11 vlandev arge0 inet 10.10.11.1 netmask 255.255.255.0 or ifconfig vlan11 create vlan 11 vlandev arge0 inet 10.10.11.1/24 Ian -- Ian Freislich