Ethernet is a local area network (LAN) technology that transmits information between computers at speeds of 10 and 100 million bits per second (Mbps). Currently the most widely used version of Ethernet technology is the 10-Mbps twisted-pair variety.
A packet sniffer is a wire-tap devices that plugs into computer networks and eavesdrops on the network traffic. Like a telephone wiretap allows the FBI to listen in on other people's conversations, a "sniffing" program lets someone listen in on computer conversations.
Ethernet was built around a "shared" principle: all machines on a local network share the same wire.
This implies that all machines are able to "see" all the traffic on the same wire.
The concept behind the OSI model is to separate the functionality into different conceptual modules. As a quick introduction to this, consider the following 3-layer model that most consumers are familiar with:
| Application | Web browser, e-mail, RealAudio |
| Transfer | TCP/IP |
| Link | Dial-up modem, Cable modem, DSL, Ethernet |
Conceptually, this can be viewed in the following diagram:
+-------------+
| Computer |
| |
| +-------+ |
| | Web | | ____
| |Browser| | __/ \__
| +----++-+ | / Internet\
| || | | cloud \
| +----||-+ | +--------+ | +------+
| | TCP \\| +-----+ Link | Router | \ | Web |
| | IP \+=+ NIC +===//==+ +=====//======+====+ Site |
| | | +-----+ | | / | |
| +-------+ | +--------+ | +------+
| | | /
+-------------+ \__ __/
\____/
All down that is transfered on the Internet is packaged in individual units known as "packets". It takes between 30 and 50 packets for this document to be transfered to your computer, for example. Each packet is labeled with an "IP address" that specifies its destination.
The Ethernet MAC address is a 48 bit number. This number is broken down into two halves, the first 24-bits identify the vendor of the Ethernet board, the second 24-bits is a serial number assigned by the vendor. This guarantees that no two Ethernet cards have the same MAC address (unless the vendor fouls up). Duplicate address would cause problems, so uniquess is very important. This 24-bit number is called the OUI ("Organizationally Unique Identifier")
Below we have discussed the 4 layers that form the TCP/IP reference model:
Layer 1: Host-to-network Layer
Layer 2: Internet layer
Layer 3: Transport Layer
Layer 4: Application Layer
The TCP/IP specifications described a lot of applications that were at the top of the protocol stack. Some of them were TELNET, FTP, SMTP, DNS etc.
Merits of TCP/IP model
Demerits of TCP/IP

TCP/IP provides facilities that make the computer system an Internet host, which can attach to a network and communicate with other Internet hosts. TCP/IP includes commands and facilities that allow you to:
Internet Society ( ISOC ) The purpose of the ISOC is to encourage the development and availability of the Internet.
Internet Architecture Board ( IAB ) The IAB is the technical committee of ISOC and is responsible for setting Internet standards and publishing these standards as Request for Comments (RFCs). The IAB governs three groups:
IP (Internet Protocol)
IP is the protocol responsible for addressing and routing packets (on the basis of routing algorithms) between networks. It ensures they reach the correct destination network.
ARP
The Address Resolution Protocol (ARP) is responsible for obtaining hardware addresses and matching them to their IP address when the destination computer is on the same network.
ICMP
The Internet Control Management Protocol (ICMP) is used to report errors and send messages about the delivery of a packet. It can also be used to test TCP/IP networks. Two examples of ICMP messages include:
The TTL field in a packet has a maximum value of 255 and this value is reduced by one every time the packet crosses a router. The TTL is eventually reduced to zero if the packet is looping (because of a corrupted routing table) or when congestion causes considerable delays. The router then discards the packet and a warning packet is sent back to the source host.
Transport Layer
The Transport layer provides communication between the source and destination computers, and breaks application layer information into packets. TCP/IP provides two methods of data delivery:
Application Layer
The Application layer is the layer at which many TCP/IP services (high level protocols) can be run (such as FTP, HTTP and SMTP). Two application programming interfaces (APIs) are commonly used within the TCP/IP environment:


5. In principle, the fact that IP datagram headers aren't encrypted makes it possible for someone to conduct traffi...
Q1 Error detection/correction Can these schemes correct bit errors: Internet checksums, two-dimendional parity, cyclic redundancy check (CRC) A. Yes, No, No B. No, Yes, Yes c. No, Yes, No D. No, No, Yes E. Ho, hum, ha Q2 CRC vs Internet checksums Which of these is not true? A. CRC's are commonly used at the link layer B. CRC's can detect any bit error of up to r bits with an r-bit EDC. c. CRC's are more resilient to bursty...
PART A 21 MARKS
SHORT ANSWER QUESTIONS Answer ALL questions from this part. Write
your answers in the Examination Answer Booklet. Each question is
worth 1.5 marks (14 x 1.5 = 21 marks).
Question 1
An organisation has been granted a block of addresses with the mask
/22. If the organisation creates 8 equal-sized subnets, how many
addresses (including the special addresses) are available in each
subnet? Show your calculations.
Question 2
Give an example of a valid classful address...