On Tue, 2005-12-06 at 14:43 -0800, manik chopra wrote:
> I was wondering, how to determine if the configuration of
> IP address and IP mask is set to "static" or "dynamic(dhcp)" ?
I don't think that the traditional (RFC 1213) version of the
ipAddrTable includes that information.
The newer IF-MIB::ipAddressTable includes a column object:
ipAddressOrigin OBJECT-TYPE
SYNTAX IpAddressOriginTC
DESCRIPTION
"The origin of the address."
which seems to be what you are looking for:
IpAddressOriginTC ::= TEXTUAL-CONVENTION
SYNTAX INTEGER {
other(1),
manual(2),
dhcp(4),
linklayer(5),
random(6)
}
Dave
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users