Re: How to get ipaddress
Nithin <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Can any one tell, what does it mean by atIfindex.Why it is showing
'1' for all mac/ip addresses.
Thanks
Nithin
On Thu, 2006-02-23 at 15:22, Nithin wrote:
> Hi all,
>
> I want to get the ip address of a system connected to a particular
> port of a snmp enabled switch.
> Is there any oid available for getting ipaddress for corresponding
> port.
>
> Its Like
> port no Ipaddress
> 1 192.168.0.1
> 2 192.168.0.2
> 8 192.168.0.76
>
> The switch i am having is 24 TX Port + 2 GB Stackable Intelligent
> Switch HCL
> When i execute the command for getting atTable,i am getting the
> atIfindex unique
> for all ip addresses
>
>
> [root@Linux root]# snmptable -v 1 -c public 151.8.18.196 atTable
> SNMP table: RFC1213-MIB::atTable
>
> atIfIndex atPhysAddress atNetAddress
> 1 "00 0D 61 64 6C FB " 97:08:0A:14
> 1 "00 0F EA 86 C0 AA " 97:08:0A:2D
> 1 "00 0D 61 6D 21 71 " 97:08:12:19
> 1 "00 0D 61 6D 21 71 " 97:08:12:61
> 1 "00 0D 61 6B 79 19 " 97:08:14:1D
> 1 "01 00 5E 00 00 01 " E0:00:00:01
>
>
> if any one is having any idea regarding this,please share with me
>
> Thanks
> Nithin
> DISCLAIMER:
> --------------------------------------------------------------------------------------------------------------
>
> This e-mail contains confidential and/or privileged information. If
> you are not the intended recipient
> (or have received this e-mail in error)please notify the sender
> immediately and destroy this e-mail.
> Any unauthorized copying, disclosure, use or distribution of the
> material in this e-mail is strictly forbidden.
> ---------------------------------------------------------------------------------------------------------------