Quote:
Write a script that logs onto a large number of Linux servers (varying releases/versions) and detects each NIC's configuration (ie DHCP/Static).
|
OK.
Now I begin to understand your Q.
But "writing a script" is going to be difficult if you have different distros and different releases. "How things are done" in linux is changing all the time, and networking with RH (and derivatives) is
very different from networking with Debian (and derivatives).
Why don't you just ask your DHCP server which NICs are asking it for a lease? Those will be the ones configured to use dhcp.
Edit - there's no need to quote
all my previous post, it's right there.
/Edit