Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2013 13:20:12 +0430
From:      h bagade <bagadeh@gmail.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: probable side effects of deleting interfaces ip addresses(loopback ones) from routing table !
Message-ID:  <CAARSjE04%2BzUUe==sBYQ8MJavZvHnBhwhcdhN3Cn4fGb94MHMJQ@mail.gmail.com>
In-Reply-To: <CAOtMX2hjXTRKZnVz3Q=uyJ%2BFSfoSAeM4zBwHEQ6_zkFvwkTx_w@mail.gmail.com>
References:  <CAARSjE1Xv5U_zbqpSY_rOa-YiyM-Qzs1Eh-anwAEXzSOCm048A@mail.gmail.com> <CAARSjE1D5rukTzB%2Bahs5PYEcd9CqYJ5J-cnU76smmihnwGRK_w@mail.gmail.com> <CAOtMX2hjXTRKZnVz3Q=uyJ%2BFSfoSAeM4zBwHEQ6_zkFvwkTx_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Alan for your helpful reply.
As in my test cable was always connected, I didn't have any problem pinging
my own interface ip. I think it's better to keep interface loopback ip
rather than deleting them to avoid the problem you mentioned besides
performance reduction.

On Thu, Jun 27, 2013 at 7:35 PM, Alan Somers <asomers@freebsd.org> wrote:

> 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?CAARSjE04%2BzUUe==sBYQ8MJavZvHnBhwhcdhN3Cn4fGb94MHMJQ>