Documente Academic
Documente Profesional
Documente Cultură
• Network numbers are managed by ICANN (Internet Corporation for Assigned Names and Numbers)
Special IP Addresses
Subnets
• Since network addresses are so scarce, we can take a few bits away
from the host address to make a subnet within a network
• To implement subnetting, the router needs a subnet mask that indicates
the split between the network and the subnet/host combination
• Assume a host has an IP address of 137.229.154.221 with a subnet
mask of 255.255.224.0 (also written as 137.229.154.221/19)
– What is the network address?
– What is the subnet address?
CIDR
• Classless InterDomain Routing (RFC 1519)
allocates IP addresses in variable-sized
blocks without regard to class
• So if a site needs 2000 IP addresses
addresses, it
would get 2048 addresses
• In essence,
essence ICANN is giving out network
addresses and subnet masks as a
combination
NAT
• Network Address Translation (RFC 3022) allows
an organization to assign local IP addresses with a
single (or multiple) public IP addresses
• When a packet exits the organization and goes to
the
h ISP, an address
dd translation
l i takes
k place
l
• Reserved NAT addresses are 10.255.255.255/8,
172 31 255 255/12 192.168.255.255/16
172.31.255.255/12, 192 168 255 255/16
• When a packet arrives back at the router, the TCP
S
Source P
Portt fi
field
ld iis usedd to
t determine
d t i theth
destination within the network
ICMP
• Internet Control Message Protocol – an
unexpected
p event occurred
ARP
• The Address Resolution Protocol is used to
find the hardware address from an IP
address
• It is found by broadcasting an ARP packet
onto the network asking “Who owns IP
Address w.x.y.z?
w x y z?”
DHCP
• Dynamic Host Control Protocol allows a
router ((or other computer)
p ) to dynamically
y y
assign IP addresses to hosts to avoid
conflicts with statically
y assigning
g g addresses
RARP
• Reverse Address Resolution Protocol solves
the pproblem of findingg the IP address that
belongs to a specific hardware address.
OSPF and BGP
• Open Shortest Path First is a protocol for
routing
g within an AS
– NOTE: More than one network protocol could
be used within a single
g AS
• Border Gateway Protocol is a protocol for
routing between two AS
IPv6