analog phone line 56KB/sec, long distance connections
twisted-pair 1MB/sec, close range connections
coaxial 20MB/sec, connections within 1Km
optical many GB/sec!, long distance connections, but $$$
note: A network is only as fast as its weakest link
What is Analog Information?
An analog system uses controllable properties of electricity (current and/or voltage) as an "analog signal" to represent info electricity models info.
eg: Car electronic fuel gauge:
fuel level is measured by a float float varies current through an analog electronic circuit fuel meter measures this current & indicates fuel level.
the current change closely matches the actual fuel level (almost linear)
sound waves received by mouth piece waves converted into a varying signal of electric current signal sent along telephone wire at the other end, the electric current is converted back to sound in the ear piece.
Example of converting an analog signal to a digital signal:
The analog signal might be the continuous fluctuations in the frequency of a sound wave.
the ADC samples the analog signal at regular intervals and records a sequence of numbers
The numeric digital signal might be the sequence: 1, 4,3,3,-3,-4,-3,-2,-1,0
(So that's: 0001 0100 0011 0011 1011 1100 1011 1010 1001 0000 in signed binary...)
note of interest: digital signals can be hidden (encoded) into an analog signal
typical long distance connections are dedicated lines (phone, fibre optic) & satellite links
the data is transmitted in packets
a packet = data + destination info (eg. IP address)
the packet is sent from one machine to the next until the destination machine is reached
routers coordinate the network load and transmissions of packets
How do IP addresses work?
every machine on the internet has a unique IP address (eg: 137.219.117.1)
each of the 4 numbers are called octets (eight bits for each of the four numbers) each octet can represent 256 values (0 - 255)
all the 4 octets are added together to produce a single 32-bit number
some IPs are special/reserved: 0.0.0.0 (for a default network), 255.255.255.255 (network broadcast to machine on the network), 127.0.0.0 (loopback network testing)
the octets are also used to define difference classes of networks
the octets are used in various ways to define the Net & Host components
Net component - the network that the machine belong to
Host component - the actual machine
there are five classes of network:
class A
very large networks (16 million hosts)
1st octet is the Net component, a number from 1 - 126