On 11 Dec 2010, at 07:53, Levan, Jerry wrote:

> bash-3.2# snmpwalk -c public router

I get these interesting entries in the snmpwalk output:

RFC1213-MIB::ipRouteIfIndex.0.0.0.0 = INTEGER: 6
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.0 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.100 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.101 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.102 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.103 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.104 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.yy.yy.yy.255 = INTEGER: 7
RFC1213-MIB::ipRouteIfIndex.127.0.0.0 = INTEGER: 3
RFC1213-MIB::ipRouteIfIndex.127.0.0.1 = INTEGER: 3
RFC1213-MIB::ipRouteIfIndex.127.0.0.2 = INTEGER: 3
RFC1213-MIB::ipRouteIfIndex.xx.xx.xx.xx = INTEGER: 6

Typically, the "0.0.0.0" route is the default route. Does anyone know if there 
is a connection between "ipRouteIfIndex" of 6 for the default route and 
'ipRouteIfIndex" of xx.xx.xx.xx which is the external interface?

If so, perhaps this method will be *correct* as opposed to the "pick the first 
entry from the list" method?

Alex

_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to