There are real reasons for Linux to replace ifconfig, netstat, etc
1–10 of 270 posts
Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#2Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#3Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#4Isn't the described mismatch between "reality" and what ifconfig reports once again a case of systemd (networkd) not exposing IP aliases in the traditional way, and replacing established network concepts by it's own stuff? Meant as a genuine question rather than trolling (though I know I'd hate to bow to whatever systemd comes up with rather than just using ifconfig which has worked since the begin of times) eg. ther…
Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#5Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#6Isn't the described mismatch between "reality" and what ifconfig reports once again a case of systemd (networkd) not exposing IP aliases in the traditional way, and replacing established network concepts by it's own stuff? Meant as a genuine question rather than trolling (though I know I'd hate to bow to whatever systemd comes up with rather than just using ifconfig which has worked since the begin of times) eg. ther…
But those work (to my knowledge) just like before (unless you setup private networking or otherwise container the thing). They just work differently on the surface.
I wouldn't know of a way of exposing IP aliases in a non-traditional way as the kernel needs to know them either way.
Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#7Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#8I noticed some shortcomings in ifconfig (only shows the first ip assigned to an interface if a NIC has many) so in some senses i see why it had to be updated, by i see no logical reason why both the command and the syntaxes had to change? Why not stick to the parameter standard at least?
Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#9What's all the fuzz about this "sudden" change? iproute2 is part of linux (kernel) since 1999 or so.
I think.
Re: There are real reasons for Linux to replace ifconfig, netstat, etc
#10However, they really screwed up with ss: the output is really unusable/unreadable.
This really only becomes obvious when you pass the -p flag, where the program information is printed on its own line.
It gets slightly better if you pipe the output through cat: now the program information is printed on the same line, but the column spacing is incorrect instead.
On the other hand it's nice that they kept compatibility, at least for the most common flags (e.g. -nltp does the same thing in both).