Description:
This document describes the changes in the IP Router Trace that were implemented as of LCOS 10.20.



Requirements:



Changes in the IP router trace as of LCOS 10.20:
As of LCOS 10.20, the IP router Trace only displays forwarded packets. These are packets that are not from the router itself, but from other devices in the network (LAN or WAN).
Packets originating from the router itself (e.g. if a ping is issued by the router itself) are displayed in the newly implemented IPv4-Host trace.
The IPv4-Host trace can be initiated either through the console using the tr # IPv4-Host command or through the LANtracer by ticking IPv4-Host.

Example of the IPv4-Host Trace: Ping the router to an IP address on the LAN:
The ping is sent from one LAN interface of the router (source) to the IP address of a client in another local network (destination):
[IPv4-Host] 2018/12/03 10:40:47,602 [#Loopback (1)]
IP packet, scope global, routing tag 0:
Internet Protocol Version 4
Header length: 20
Total length: 84
Payload length: 64
DiffServ field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Identification: 0x716d
Flags: 0x0000
Fragment offset: 0
Time to live: 64
Protocol: ICMP (1)
Header checksum: 0xffff
Source: 10.0.0.254
Destination: 192.168.45.178
Internet Control Message Protocol
Type: Echo (ping) request (8)
Code: 0
Checksum: 0x0000
Identifier: 5
Sequence number: 0
 
--> Forwarded packet to INTRANET (4)


Der Ping wird vom Client beantwortet und wird vom Router an das anfragende Interface zurückgegeben (Loopback).
56 Byte Packet from 192.168.45.178 seq.no=0 time=3.718 ms
[IPv4-Host] 2018/12/03 10:40:47,605 [INTRANET (4)]
IP packet, scope global, routing tag 0:
Internet Protocol Version 4
Header length: 20
Total length: 84
Payload length: 64
DiffServ field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Identification: 0x7a0d
Flags: 0x0000
Fragment offset: 0
Time to live: 128
Protocol: ICMP (1)
Header checksum: 0xc743
Source: 192.168.45.178
Destination: 10.0.0.254
Internet Control Message Protocol
Type: Echo (ping) reply (0)
Code: 0
Checksum: 0xde25
Identifier: 5
Sequence number: 0
 
--> Forwarded packet to #Loopback (1)