Is there a way to reliably detect whether or not a machine is multihomed? I'd like to be able to write a script that will return a true or false regarding that information. Thanks.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
You can approximate the definition of a multihomed machine as one having two default routes. A more precise definition would require determining how independent the routes are, which does seem daunting.
(The Solaris calls may require tweaking.) |
|||
|
|