viveks wrote: > Hi, > > Does ifconfig show the link status of an interface? if yes, what is the flag.
The "RUNNING" flag shows whether the link is up -- if the driver supports link up/down reporting. (All of the drivers that come with OpenSolaris should support that, but some third party ones do not.) > If no, is there any ioctl to find the link status.? SIOCGLIFFLAGS will give you the IFF_RUNNING flag, which is what ifconfig shows. > Is the Interface flag UP/DOWN is equivalent to enable/disable on windows? No. Enable/disable on Windows is an administrative state. Link up/down on Solaris (and other OSes, for that matter) is a physical state. > What does the flag RUNNING displayed by ifconfig mean? It means that the link is up (or at least that it cannot be reported as down). -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
