From owner-freebsd-current@FreeBSD.ORG Tue Mar 12 12:12:29 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 AC085C77 for ; Tue, 12 Mar 2013 12:12:29 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from zcs03.jnb1.cloudseed.co.za (zcs03.jnb1.cloudseed.co.za [41.154.0.139]) by mx1.freebsd.org (Postfix) with ESMTP id 489F0131 for ; Tue, 12 Mar 2013 12:12:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs03.jnb1.cloudseed.co.za (Postfix) with ESMTP id 5552E2B42F3B; Tue, 12 Mar 2013 14:06:34 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs03.jnb1.cloudseed.co.za Received: from zcs03.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs03.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GT2ePRPOLOSR; Tue, 12 Mar 2013 14:06:33 +0200 (SAST) Received: from clue.co.za (unknown [197.87.27.46]) by zcs03.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id B66002B42F09; Tue, 12 Mar 2013 14:06:33 +0200 (SAST) Received: from localhost ([127.0.0.1] helo=new.clue.co.za) by clue.co.za with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UFNyS-000H0R-TC; Tue, 12 Mar 2013 14:06:32 +0200 To: Yasir hussan From: Ian FREISLICH Subject: Re: using multiple interfaces for same Network Card In-Reply-To: References: X-Attribution: BOFH Date: Tue, 12 Mar 2013 14:06:32 +0200 Message-Id: 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: Tue, 12 Mar 2013 12:12:29 -0000 Yasir hussan wrote: > Thanks for notic but all the elebration was for make alias on one > interface but i want to have multiple interface, i can no where that > some one would have tring to creating new interfaces and using them, > or may be i am missing something, just send its solution if have, > solution should be for I still think you're confusing Linux semantics with FreeBSD semantics. On linux you would have: eth0 Link encap:Ethernet HWaddr 00:1E:C9:53:0B:61 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::21e:c9ff:fe53:b61/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:211328068 errors:0 dropped:0 overruns:0 frame:0 TX packets:368394006 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:34065846811 (31.7 GiB) TX bytes:476377525764 (443.6 GiB) Interrupt:169 Memory:e6000000-e6011100 eth0:1 Link encap:Ethernet HWaddr 00:1E:C9:53:0B:61 inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:169 Memory:e6000000-e6011100 On FreeBSD you would have: re0: flags=8843 metric 0 mtu 1500 options=8209b ether 54:04:a6:96:0c:1e inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 media: Ethernet autoselect (1000baseT ) status: active These are both the same thing. Is there any particular reason that you want multiple interfaces? I can't see a use for it beyond "it's what I'm used to seeing" unless they're VLAN interfaces. Ian -- Ian Freislich