The Internet and Socket Programming Flashcards
What started the Internet?
1960s Defense
Advance Research Project Agency created network between research centers
When did the Internet become a commercial success?
90s
What connects different networks in the Internet?
Routers
What connects to a network?
A host
What are some examples of hardware to create a network?
Ethernet, Apple Talk
Why is IP addressing used?
As an abstraction to hide network internals.
How many bits in an IP address?
32
What does an IP address represent?
A connection between a computer and a network.
Can a computer have multiple IP addresses?
Yes, one for each network connection. (ex: router)
What is the prefix in an IP address?
Identifies a network.
What is the suffix in an IP address?
Identifies the host of the network.
What assigns the prefix for the network and hosts?
Global authority assigns prefix for network, local administrator applies prefix for hosts.
How many bits are assigned to the prefix and suffix?
It depends on size of network and number of hosts.
What is the subnet mask?
parameter that tells the number of bits used for network number
What is the routing table?
Gives the router info to reach the next network.
How are routing tables made?
Manually, or automatically through software
Does the IP source and destination address of a packet change during transit?
No
Does the hardware address of a packet change each forward?
Yes
What does Address Resolution Protocol do? (ARP)
Translate IP address to hardware address (ex: ethernet address).
What is Domain Name Server?
Translates host names like www.yahoo.com to IP addresses.
How were host names translated before DNS?
Through mappings in a file /etc/hosts
Can a host have multiple IP addresses?
Yes, if the host has multiple network interfaces.
How does DNS work?
lookup algorithm that contacts as many servers as necessary
What is Dynamic Host Configuration Protocol?
Allows connecting computers to the Internet without the need of an administration.