Difference between loopback and dummy interfaces for use in Linux routing

Alexander Demenshin aldem-bird.201704 at nk7.net
Fri Apr 27 15:04:33 CEST 2018


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.



More information about the Bird-users mailing list