interface status

Submitted by Anonymous
on July 19, 2006 - 11:10pm

hi,
i want to find the intrfaces connected to the device and the status of the interfaces i.e wether they are Uo or down.i have one idea of using ping to aparticular interface Ip.if ping success then we say that interface is UP.if ping fails interface is down.if any body have any other solution please inform me.
thangs &regards

suresh

you cannot trust ping always.

Anonymous (not verified)
on
July 20, 2006 - 12:20am

you cannot trust ping always.
the other host may be blocking pings, for example.

use 'mii-tool' command and parse its output.

try /sbin/ifconfig and grab

buachompoo
on
May 27, 2007 - 12:20am

try /sbin/ifconfig and grab the output.

---------------------------------------------------
Lyrics and Chords at Music Lyrics Chord

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.