Skip to content

What are interface labels for

Dear Lazyweb, for a long time I have been using iproute2's label feature to assign arbitrary labels to IP addresses configured on Interfaces:

40: int152@dotqa: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:25:b3:01:e5:6c brd ff:ff:ff:ff:ff:ff
inet 10.1.152.254/24 brd 10.1.152.255 scope global int152:98fe8

Recently, this has shown to at least confuse both isc-dhcp-relay (#617258) and dhcp-helper (#617264).

As I have never seen interfaces labels used outside my firewalls (which happen to use ifupdown-scripts-zg2 (Debian PTS)) and ifupdown's rather twisted handling of multiple IP addresses per interface (using Alias Interfaces), I'd like to know whether my usage is a legitimate one and whether there are other uses for interface labels.

At the moment, I'm tempted to remove label support from ifupdown-scripts-zg2 in the next release, or to make it optional. Please comment if you have an opinion.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

Simon on :

Avahi also creates interface labels, so tools that are getting confused will be getting confused anyway. I find the labels useful and think others might as well, so I'd like to see the option kept.

Marc 'Zugschlus' Haber on :

Can you give an example for avahi's use of labels?

In the mean time, isc-dhcp-server has joined the rank of software that refuses to work with labeled interfaces.

Simon on :

Sure, on my laptop eth0 has

inet 169.254.8.106/16 brd 169.254.255.255 scope link eth0:avahi

Add Comment

Markdown format allowed
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
Form options