|
From: Andrzej O. <an...@ma...> - 2012-10-16 18:33:56
|
Dominic Raferd wrote: > Seems that it defaults to showing IPv6 address not IPv4, try: > > ip -f inet addr Not exactly. In iproute2-3.5.0 is issue, that without explicite -f option, output of ip addr command defaults to -f link (or -0), so there is no any IP family addresing shown (only link addressing). Option -f link or -4 solves problem, but many old scripts do not uses -4 explicite. Better solution is upgrade to iproute2-3.6.0, where bug is corrected and ip command is working like in v.3.4.0. Best regards -- Andrzej Odyniec |