From owner-freebsd-net@FreeBSD.ORG Thu Jun 27 15:05:37 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3935FA17 for ; Thu, 27 Jun 2013 15:05:37 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-qe0-x232.google.com (mail-qe0-x232.google.com [IPv6:2607:f8b0:400d:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id 0063A1C32 for ; Thu, 27 Jun 2013 15:05:36 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id f6so272530qej.9 for ; Thu, 27 Jun 2013 08:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=MOtmiJ/Cwnc2l0QZMplfIF9KXw9gO02ToVYju1UZuGk=; b=q4DwF/DdYPI4n1lPz5DW8u3DGg2ztc61NuJdPfmB9be6kHMWMj+xkHfA1GHCkdT38Q nu/puEyZ3VXOiYeAPNU4dQktNB49+LDEjf17KKoSdFFR1zWWFPv2RQ1HhQiZ3ZrorGKs b11YE0MiIrWRJfCgEk6Z4SDYtpBsplZW9BBetoFUJPCI7rjw2Sp9z4pCujkZUG7c9E12 3jOMUwnt8poyy53p2UR9OB6IvnG2nncM9kUq0Mw19YJZFS2L7EOIfTnkMnU0acxE8mS7 QQm4FrK4i5coNQIIEZrzxzjX9Gqeny8DEg/nth5z3tYcFwRG544xKFgmQNw9oqJREbPh 7jFw== MIME-Version: 1.0 X-Received: by 10.49.82.115 with SMTP id h19mr11336720qey.62.1372345536475; Thu, 27 Jun 2013 08:05:36 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.49.37.226 with HTTP; Thu, 27 Jun 2013 08:05:36 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Jun 2013 09:05:36 -0600 X-Google-Sender-Auth: qHPQUznppb8ILnMshOpsDbRYo1E Message-ID: Subject: Re: probable side effects of deleting interfaces ip addresses(loopback ones) from routing table ! From: Alan Somers To: h bagade Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 15:05:37 -0000 The network route uses your real interface, eg igb0. But the interface IP's route is bound to lo0. So if you delete your interface route, any packets sent to the interface IP will actually go out the real interface. In an experiment, my ping times suggest that those packets are actually going out to the switch and coming back. So if you delete your interface route, you will have reduced performance when talking to your interface address, and you'll also be unable to talk to your own interface address if your ethernet cable gets pulled out. I wouldn't do it if I were you. On Wed, Jun 26, 2013 at 10:35 PM, h bagade wrote: > On Sat, Jun 22, 2013 at 12:25 PM, h bagade wrote: > >> Hi all, >> >> I've deleted the interface ip address from routing table and only keep the >> network address. Nothing is behaving unusual afterwards. I think this >> loopback ip address is added for better performance. My question is would I >> get in to trouble by deleting these ip addresses from routing table or >> it's, as I think, just a matter of performance? >> >> Thanks in advance >> > > I've done further tests after deleting loopback ip addresses and my system > works correctly without any side effects! Is that really OK with deleting > these ip addresses? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"