Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 09:05:36 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        h bagade <bagadeh@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: probable side effects of deleting interfaces ip addresses(loopback ones) from routing table !
Message-ID:  <CAOtMX2hjXTRKZnVz3Q=uyJ%2BFSfoSAeM4zBwHEQ6_zkFvwkTx_w@mail.gmail.com>
In-Reply-To: <CAARSjE1D5rukTzB%2Bahs5PYEcd9CqYJ5J-cnU76smmihnwGRK_w@mail.gmail.com>
References:  <CAARSjE1Xv5U_zbqpSY_rOa-YiyM-Qzs1Eh-anwAEXzSOCm048A@mail.gmail.com> <CAARSjE1D5rukTzB%2Bahs5PYEcd9CqYJ5J-cnU76smmihnwGRK_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bagadeh@gmail.com> wrote:
> On Sat, Jun 22, 2013 at 12:25 PM, h bagade <bagadeh@gmail.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hjXTRKZnVz3Q=uyJ%2BFSfoSAeM4zBwHEQ6_zkFvwkTx_w>