iproute2 and libbpf: vendoring on the small scale
iproute2 and libbpf: vendoring on the small scale
Posted Nov 16, 2020 17:56 UTC (Mon) by pizza (subscriber, #46)In reply to: iproute2 and libbpf: vendoring on the small scale by mkubecek
Parent article: iproute2 and libbpf: vendoring on the small scale
I think you meant to say _incomplete_ -- because ifconfig is very much _compatible_ with modern kernels; it just can't configure every possible option. Indeed, even today ifconfig does everything that most users need.
Posted Nov 16, 2020 23:42 UTC (Mon)
by mkubecek (guest, #130791)
[Link] (2 responses)
Posted Nov 16, 2020 23:57 UTC (Mon)
by quotemstr (subscriber, #45331)
[Link] (1 responses)
Posted Nov 17, 2020 6:44 UTC (Tue)
by jem (subscriber, #24231)
[Link]
From iproute2.doc:
An example:
iproute2 and libbpf: vendoring on the small scale
iproute2 and libbpf: vendoring on the small scale
iproute2 and libbpf: vendoring on the small scale
label NAME --- Each address may be tagged with a label string.
In order to preserve compatibility with Linux-2.0 net aliases, this string must coincide
with the name of the device or must be prefixed with device name followed by a colon. (eth0:duh)
ip addr add 203.0.113.1/24 dev eth0 label eth0:0
