probable side effects of deleting interfaces ip addresses(loopback ones) from routing table !

Alan Somers asomers at freebsd.org
Thu Jun 27 15:05:37 UTC 2013


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 at gmail.com> wrote:
> On Sat, Jun 22, 2013 at 12:25 PM, h bagade <bagadeh at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list