On 2 December 2011 05:59,  <[email protected]> wrote:
> I was able to set the IP of eth1 interface of a n/w device.

> It creates the new IP with the default subnet mask and broadcast address.
> But we are using a different one.
>
> How do we set custom values to Broadcast Address and Subnet Mask?

Pass


> And when setting the new IP, a new instance of this interface is created as
> eth1:1 (found from ifconfig command)
>
> Is there any way to set the eth1 itself; instead of creating a new eth1:1?

What happens if you delete any existing entries for ifIndex=3
before creating a new one?



> Now we areĀ  setting the IP from IP-MIB.
>
> Is this functionality available in IF-MIB?

No - the IF-MIB is concerned with "generic objects for
network interface sub-layers" - i.e. below the level of
transport specific information (such as IP)

If you look at the objects within this MIB, they are mostly
statistics about individual interfaces.   The one table
concerned with addressing (IF-MIB::ifRcvAddressTable)
lists the *physical* addresses of the interfaces, not IP
or equivalent addresses.

Dave

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to