ddutt / cloud-native-data-center-networking

Code repository for the O'Reilly book 'Cloud Native Data Center Networking'
GNU General Public License v2.0
167 stars 42 forks source link

Chapter 5:How Routing Table Lookups Work #7

Closed zhaohuabing closed 4 years ago

zhaohuabing commented 4 years ago

Each next hop in the list contains the outgoing interface, and optionally the next-hop router’s IP address. When the next hop is another router, the next-hop entry contains the IP address of the next-hop router.

These two sentences seem contradictory. The former says IP is optional, the latter says that IP is contained in the entry.

zhaohuabing commented 4 years ago

OK, I think it means that if the next hop is a router, the IP address of the router is in the entry, otherwise the IP address is not there. So it's optional.