slides13 Flashcards
IP layer options
- Security
- Record Route.
- Timestamp.
- Strict Source Routing.
- Loose Source Routing.
why are IP addresses not random
If there were no structure on the addresses every router everywhere would have to know where every host in the world was
how does a host decide between destination machine or gateway
It can tell if the destination is on the same network as itself by comparing the network part of their addresses
how does a router decide in which direction to send the packets
A router contains a table of IP addresses, with next-hop routers associated with those addresses
what does the router do with a packet and his table
- If the packet destination matches a host address in the table, send the packet to the indicated host on the indicated interface
- Else if the packet destination’s network part matches a network address in the table, send the packet to the indicated router on the indicated interface
- Else find an entry in the table marked “default”, and send the packet to the indicated router on the indicated interface
- Else error
what is netmask
subdivision of IP that allows the router understand if something belongs to the same subnet as something else (divided into classes)
what are classes
class A B C D E, leading 0, 10, 110, 1110, 1111