detecting link failure
Hi All,
I am running some tests in which I have to bring down my interface down as soon as I tear down the cable. Cable tearing results only in the link failure(as link light went off), but it doens't bring my interface down.
Is there a way to bring the interface down as soon as my link fails, probably using 'ip link' or 'ip monitor'. Does anyone know about it.
If there is some hardware monitering tool that can detect the link failure, probably I can use this to write a small program which will bring down the interface as soon as I link failure is detected
Thanks,
NItin
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · nitin panjwani
Hi All,
I am running some tests in which I have to bring down my interface down as soon as I tear down the cable. Cable tearing results only in the link failure(as link light went off), but it doens't bring my interface down.
Is there a way to bring the interface down as soon as my link fails, probably using 'ip link' or 'ip monitor'. Does anyone know about it.
Monitor using mii-tool.
Quoted 4 lines
If there is some hardware monitering tool that can detect the link failure, probably I can use this to write a small program which will bring down the interface as soon as I link failure is detected
Well, you *could* theoretically write a kernel module that would monitor link status and call back to userland... that would result in the quickest teardown of the link.
Doei, Arthur.
Signature · 7 lines
/\ / | [email protected] | Work like you don't need the money /__\ / | A friend is someone with whom | Love like you have never been hurt / \/__ | you can dare to be yourself | Dance like there's nobody watching _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/