【正文】
ipRouteIfIndex ipRouteNextHop ipRouteType 1 indirect(4) 3 direct(3) 17 不足之處 ? 無法發(fā)現(xiàn)網(wǎng)絡中無路由功能的網(wǎng)絡設備,包括交換機和主機設備; ? 對于只使用靜態(tài)路由配置的路由器,其發(fā)現(xiàn)效果將受到很大約束。 25 Address Table? ? . ? ipAdEntAddr 、 ipAdEntIfIndex 、 ipAdEntNetMask ? 網(wǎng)絡號 = ipAdEntAddr amp。{ n = split($1,term,.) actDst = term[n3] . term[n2] . term[n1] . term[n] actSrc = term[n7] . term[n6] . term[n5] . term[n4] printf%s %s %s\n, actSrc, actDst, $4 }39。{print $4}39。{print $4}39。{print $4}39。 18 ARP表 Addr es s Age( m i n) Har dw ar e Addr T y pe I nt er f ace 20 12 .49 .16 8 9 00 80 .c8 e4 .bc 05 AR P A Et he r ne t 0 20 12 .49 .25 4 00 60 .47 40 .d8 da AR P A Et he r ne t 0 20 12 .49 .25 3 166 02 a0 .c9 52 .ba 59 AR P A Et he r ne t 0 20 12 .49 .2 0 00 60 .97 a0 .44 54 AR P A Et he r ne t 0 20 12 .48 .6 00 60 .47 40 .d8 db AR P A Et he r ne t 1 20 12 .48 .5 41 00 00 .0c 38 .42 0d AR P A Et he r ne t 1 20 12 .49 .41 9 00 80 .c8 e4 .ba 3c AR P A Et he r ne t 0 19 特點 ? 優(yōu)點 發(fā)現(xiàn)效率非常高。這是由于只使用靜態(tài)路由的路由器的路由表中的 nexthop項對應的很可能是該路由器本身相應端口的 IP地址,而不是實際的下一節(jié)點; ? 路由表中包含了大量對拓撲發(fā)現(xiàn)來說是冗余的信息,這一點在上表中就可以看出。 ipAdEntNetMask ? GETNEXTREQUEST操作 ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask 3 26 Address Table+Routing Table ipRouteDest ipRouteIfIndex ipRouteNextHop ipRouteType 1 indirect(4) 3 dire