tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ifconfig v2

On 12/06/2013 18:49, Manuel Bouyer wrote:
it's more complicated than that; there are cases (e.g. mixing
offload-enabled an non-enabled interfaces in a bridge) breaks things
in subtle ways, and it's not the ethernet driver's fault.
So yes, I need to see them.

If you know enough about creating bridges and enabling offload then you ought to also know to see this information via the -v flag.
For example, the ip output from Linux

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 xxxx:xxxx:31:2:250:8dff:xxxx:xxxx/64 scope global dynamic
       valid_lft 2591887sec preferred_lft 604687sec
    inet6 fe80::250:8dff:xxxx:xxxx/64 scope link
       valid_lft forever preferred_lft forever

This suits my needs 99% of the time.
For that extra 1% I can use flags to get the extra information.

I'm fully in favour of a more compressed alternative default view to ifconfig.



Home | Main Index | Thread Index | Old Index