The Simplified Routing tables keeps track of an IP address and the MAC address of the gateway via which the IP address is reachable. These tables are independent per in-path interface.
For RiOS version 6.0 and higher the files with the related information are macmap_tables and er/*/pkttab_entries.
The macmap_tables file contains the mapping of IP address to MAC addresses:
Figure 6.79. The contents of the file macmap_tables
relay ip_addr mac_addr vlan ref_count inpath0_0 10.0.1.1 d4:9a:20:c2:52:0e 0 0 inpath0_0 10.0.1.9 00:0d:b9:17:28:de 0 0 inpath0_0 172.16.3.1 00:0d:b9:17:28:de 0 0 inpath0_0 192.168.1.6 00:0d:b9:17:28:de 0 0 inpath0_0 192.168.1.1 00:0d:b9:17:28:de 0 0 [...]
This shows that on inpath0_0 the IP addresses in the 192.168.1.0/24 subnet can be found behind the device with the MAC address 00:0d:b9:17:28:de.
This data can be seen from the CLI with the command
show in-path macmap-tables
.
The pkttab_entries file contains the mapping of the MAC addresses on the LAN or the WAN side of the in-path interface. The number in the path is the sequence number of the in-path interface.
Figure 6.80. The contents of the file er/0/pkttab_entries
ent/tot ht[chain] p addr vlan dev type hits flaps p \ vlan_chg p race 1/ 2 31[ 0] 0 d4:9a:20:c2:52:0e 0 lan0_0 EAL_DEV_LAN 30 0 0 \ 0 0 0 2/ 2 31[ 0] 0 00:26:88:1e:39:80 0 wan0_0 EAL_DEV_WAN 55 0 0 \ 0 0 0
This data cannot be seen from the CLI.