New answers tagged

2 votes

How exactly does Linux use the prefix length assigned to network interface?

That is, does the prefix length have no meaning and the real work is done by the route entries? The subnet mask defines your subnet, and thus also defines what the broadcast address is, and to which ...
Marcus Müller's user avatar
1 vote

Meaning of prefix length with ip addr add noprefixroute

Indeed there doesn't appear to be much useful difference, but there's at least one: the way a secondary address is handled won't change, whether a route is added or not. When a 2nd address is added to ...
A.B's user avatar
  • 35.3k
4 votes

Where does `ip addr` get its data from?

I have a feeling that just like route I am almost certain that no implementation of route on Linux uses procfs. The one in the linked question certainly doesn't, as this comment explains: If you ...
Jörg W Mittag's user avatar

Top 50 recent answers are included