|
Each router has a routing table with many entries of two possible types:
- net:
| (network address) |
(gateway address) |
(NIC) |
(other information) |
- this entry tells how to get to a distant network identified by its network address in the form ( network, 0's ), i.e. sending the packets to another router (called gateway) through the specified Network Interface Card.
- the special network address "default" means all other destinations and points to a hierarchically higher router. In decimal form it's a 0.0.0.0 .
- host:
| (host address) |
|
(NIC) |
(other information) |
- this entry tells how to get a local host ( = host on the router's LAN ) identified by its host address in the form (this network , host ), i.e. sending packets directly to it through the specified NIC.
|