From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 19:26:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3245916A43B for ; Mon, 13 Jun 2005 19:26:09 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane.co.uk [62.140.220.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 663B043D1F for ; Mon, 13 Jun 2005 19:26:08 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from canth ([10.0.0.10]) (authenticated bits=0) by unsane.co.uk (8.13.3/8.13.3) with ESMTP id j5DJQZQZ070053; Mon, 13 Jun 2005 20:26:35 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-Id: <200506131926.j5DJQZQZ070053@unsane.co.uk> From: "Vince" To: "'Alfredo Aguirre'" , Date: Mon, 13 Jun 2005 20:26:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcVwS1FfKK86AL7TRxSAVbWAnNcWbQAAK64w In-Reply-To: <63826.207.249.4.240.1118686283.squirrel@webmail.canal22.org.mx> Cc: Subject: RE: configuring two network interfaces, same subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 19:26:09 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Alfredo Aguirre > Sent: 13 June 2005 19:11 > To: freebsd-questions@freebsd.org > Subject: configuring two network interfaces, same subnet > > Hello people!, > Hi > I'm trying to configure 2 network interfaces in the same > subnet, because i want to use one interface for NS and the > other for MX, > > if i try > bash-2.05b# ifconfig em0 aa.bb.dd.1 netmask 255.255.255.0 > bash-2.05b# ifconfig em1 aa.cc.ee.2 netmask 255.255.255.0 > ifconfig: ioctl (SIOCAIFADDR): File exists > > ok they both cannot be in the same subnet. Yep this thread here http://lists.freebsd.org/pipermail/freebsd-net/2003-July/001108.html Seems to cover it quite well. > > i know that i cannot have them both in the same subnet > without modifying the routing, but im confussed about it. > > i also tried after settin' one of the ips, deleting the routing > > bash-2.05b# route delete aa.bb.cc.0 > > and then setting the ip > > bash-2.05b# ifconfig em0 aa.bb.dd.1 netmask 255.255.255. > > ok i can now set the 2 ips in the same subnet but my DNS > stops working, > > i dont want to change the submask, for any of my ips > As far as I know you cannt have 2 interfaces on the same subnet full stop on freebsd, and to be fair I cant see what advantage it would give you if you could. Vince > well im confused about it, so i hope you guys could adress me > in the right direction, > > Thanks in advance, > > Alfredo > > > > _______________________________________________ > 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" >