Naming and Addressing
Naming and Addressing
◆ > underarm.com
◆ Name: underarm.com
◆ Address: 206.128.187.146
■ Resolution: the process of determining an address from a name
Why do we need both?
■ A wonderful thing!
◆ scales arbitrarily
◆ guarantees uniqueness
◆ easy to understand
■ Example: Internet names
◆ use Domain name system (DNS)
◆ global authority (Network Solutions Inc.) assigns top level
domains to naming authorities (e.g. .edu, .net, .cz etc.)
◆ naming authorities further carve up their space
◆ all names in the same domain share a unique suffix
Addressing
■ First cut
◆ fixed network-host partition, with 8 bits of network number
◆ too few networks!
■ Generalization
◆ Class A addresses have 8 bits of network number
◆ Class B addresses have 16 bits of network number
◆ Class C addresses have 24 bits of network number
■ Distinguished by leading bits of address
◆ leading 0 => class A (first byte < 128)
◆ leading 10 => class B (first byte in the range 128-191)
◆ leading 110 => class C (first byte in the range 192-223)
Address evolution
✦ provider
✦ subscriber
✦ subnet
■ Need to know datalink layer address typically for the last hop
ARP