<div dir="ltr"><div><div>Hi,<br><br>One of the differences is when you configure some prefix on lo you get route like this:<br>local <a href="http://127.0.0.0/8">127.0.0.0/8</a> dev lo ...<br></div>And with dummy it is not the case.<br></div>This route type makes kernel consider every address from this space as local - bind on it, reply to pings etc.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 27, 2018 at 11:40 AM, Anton Danilov <span dir="ltr"><<a href="mailto:littlesmilingcloud@gmail.com" target="_blank">littlesmilingcloud@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
There isn't a difference from perspective of routing.<br>
<div class="HOEnZb"><div class="h5"><br>
On 27 April 2018 at 11:52, Wilhelm Schuster <<a href="mailto:ws@rot13.io">ws@rot13.io</a>> wrote:<br>
> Hi,<br>
><br>
> I’m learning about IP-networking and am in the process of setting up a Linux router using bird. During my research I’ve come across the usage of loopback interfaces. I could gather that this is done, because Ethernet interfaces for example (in contrast to loopbacks) can go down making the addresses configured on them unavailable. In addition, the kernel accepts packets destined to loopbacks addresses on other interfaces making these addresses available on multiple interfaces and not just the loopback.<br>
><br>
> On Linux I found both the lo(opback), and dummy interfaces recommended to achieve the behavior outlined above. What I’m struggling with is understanding the differences between both interface types (besides the obvious difference in packet processing) and when to use which. Searching this mailing list I’ve seen people use lo, on other sites dummy interfaces are recommended. From a quick test (assigning address to lo/dummy; pinging/receiving pings on the host) I wasn’t able to find a difference.<br>
><br>
> When should I use which interface?<br>
><br>
> Cheers, Wilhelm.<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">-- <br>
Anton.<br>
<br>
</font></span></blockquote></div><br></div>