TCP IP Illustrated

11140252141 atiflndex111402521221

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ., IP) contains its own address translation tables. For IP it is the ipNetToMediaTable. Only a single table with three columns is defined for the at group, shown in Figure 25.19. We can use a new command within the snmpi program to dump an entire table. We'll query the router named kinetics (which routes between a TCP/IP network and an AppleTalk network) for its entire ARP cache. This output reiterates the lexicographic ordering of the entries in the table: Address translation table, index = < atIflndex >.1.< atNetAddress > Name atiflndex Datatype INTEGER atPhysAddress PhysAddress atNetAddress NetworkAddress R/W Description * Interface number: ifIndex. * Physical address. Setting this to a string of 0 length invalidates the entry. * IP address. Figure 25.19 Address translation table: atTable. sun % snmpi -a kinetics -c secret dump at atiflndex.1.1.140.252.1.4=1 atiflndex.1.1.140.252.1.22=1 atiflndex.1.1.140.252.1.183=1 atiflndex.2.1.140.252.6.4=2 atiflndex.2.1.140.252.6.6=2 atPhysAddress.1.1.140.252.1.4=0xaa:00:04:00:f4:14 atPhysAddress.1.1.140.252.1.22=0x08:00:20:0f:2d:38 atPhysAddress.1.1.140.252.1.183=0x00:80:ad:03:6a:80 atPhysAddress.2.1.140.252.6.4=0x00:02:16:48 atPhysAddress.2.1.140.252.6.6=0x00:02:3c:48 atNetAddress.1.1.140.252.1.4=140.252.1.4 atNetAddress.1.1.140.252.1.22=140.252.1.22 atNetAddress.1.1.140.252.1.183=140.252.1.183 atNetAddress.2.1.140.252.6.4=140.252.6.4 atNetAddress.2.1.140.252.6.6=140.252.6.6 If we watch the packet exchange using tcpdump, when snmpi dumps an entire table it first issues a get-next for the table name (at in this example) to get the first entry. It prints the first entry and issues another get-next. This continues until the entire table has been dumped. Figure 25.20 shows the arrangement of this table. file:///D|/Documents%20and%20Settings/bigini/Doc...omenet2run/tcpip/tcp-ip-illustrated/snmp_sim.htm (17 of 33) [12/09/2001 14.47.40] Chapter 25. SNMP: Simple Network Management Protocol atPhysAddress atNetAddress 1 0xaa:00:04:00:f4:14 140.252.1.4 1 0x08:...
View Full Document

Ask a homework question - tutors are online