'Why router can use layer 4 infomation in emcp hash?

Router is layer 3 device, but it can use layer 4 info (like:dst.port, src.port, protocol) in ecmp hash function. Why?



Solution 1:[1]

Because it cheats and looks at that information. Nothing is stopping it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user253751