Difference between loopback and dummy interfaces for use in Linux routing

Alexander Zubkov green at qrator.net
Fri Apr 27 15:56:09 CEST 2018


Yes. But with lo interface you get such route by default.

On Fri, Apr 27, 2018 at 3:04 PM, Alexander Demenshin <
aldem-bird.201704 at nk7.net> wrote:

> On 2018-04-27 12:59, Alexander Zubkov wrote:
>
> One of the differences is when you configure some prefix on lo you get
>> route like this:
>> local 127.0.0.0/8 [1] dev lo ...
>> And with dummy it is not the case.
>>
>
> It could be done manually with any interface, actually:
>
> # ip route add local 192.168.128.0/24 dev dummy table local
>
> And you don't even need to add address from this range to the interface,
> or bring it up - just a route is enough to make the system respond
> to (or bind to) the whole range (unless, of course, there are firewall
> or other explicit restrictions).
>
> Best regards,
> Alexander.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180427/acea1dd1/attachment.html>


More information about the Bird-users mailing list