Difference between loopback and dummy interfaces for use in Linux routing

Daniel Suchy danny at danysek.cz
Fri Apr 27 13:08:52 CEST 2018


There's quite good article discussing that:
https://b4ldr.wordpress.com/2014/09/06/dummies-link-local-and-the-loop-back/

On 04/27/2018 10:52 AM, Wilhelm Schuster wrote:
> Hi,
> 
> 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.
> 
> 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.
> 
> When should I use which interface?
> 
> Cheers, Wilhelm.
> 


More information about the Bird-users mailing list