Pradeep writes:
> Hi ,
> I am implementing a GLDv3 complaint Ethernet driver and
> facing problems in updating the Linkstatus when seen using a snmpwalk(or MIB
> browser).
> Though iam updating mac using mac_link_update when cable is
> pulled ,ifOperStatus is still showing as up. What are changes needed
> in the driver for implementing ifOperStatus ( and ifInUcastPkts also)
> Any help is greatly appreciated
I'd suggest using divide-and-conquer to find the issue. Simplify
first by getting the SNMP agent out of the picture -- check these
things instead when the link is up and when it's down:
- what state is shown when you do "dladm show-link"?
- if you've plumbed the interface with IP, use "ifconfig -a" to
display the status; does the "RUNNING" flag toggle?
If those display the status properly, then your driver is working
fine, and the problem you're seeing is likely to be a problem with
that SNMP agent.
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]