Cse405 Lab Class Notes
Cse405 Lab Class Notes
Lab-1
Required devices:
1. Computing Devices - Pc
2. NIC (Network Interface Card) - Required to connect the device to the network
3. Transmission Media -
a. Guided (Wired) -
i. Twisted pair cable - 2 types of cable. CAT5 & CAT6. CAT5 has 4 pairs of
cable which are twisted. CAT6 has a plastic cross between the 4 pairs.
The wires are twisted to repel electromagnetic interference.
ii. Coaxial cable - It is a copper wire, plastic shield, silver mesh (to repel
electromagnetic interference), rubber insulation. ( Ex: dish line )
iii. Fiber optic cable - It is like a transparent white plastic strand. Carries
light pulse. So the electrical signal has to be converted to a light pulse.
Light emitting diode, photo diode.
b. Unguided (Wireless)
4. Switch/Hub - Connecting multiple pc in a network.
5. Connectors - RJ45 (Resistor Jack 45).
Straight through cable: Straight through cable is the specific orientation of the 8 wires in the
twisted pair cable when Connecting a switch with Pc.
Solid Mixed
2 Orange
3 White Green
4 Blue
5 White Blue
6 Green
7 White Brown
Crossover cable: Crossover cable is the specific orientation of the 8 wires in the twisted pair
cable when Connecting a Pc with another Pc.
4 Blue Blue
8 Brown Brown
Auto mdix: It can detect the orientation of the wires and can set the pins befitting that
orientation. So both ends of the wire can be the same orientation.
IP address-
cmd-
Lab-3
MAC: Medium access control 48 bits. MAC address also called physical address. In the data
link layer the devices communicate using MAC addresses. The address is in hexadecimal.
ARP: Address resolution protocol. It runs in the backend. When we ping an ip address, It finds
the MAC address for the given ip address to communicate with that ips device. After finding the
MAC address it stores in an ARP table, so next time if we ping that same IP it will look for its
corresponding MAC address in the ARP table.
cmd-
[ Note: www.cnn.com. Here, www = web server host name which is under cnn.com ]
DNS(Domain Name System): Gives the ip address against the given url. When we ping a url in
the backend the DNS finds the url's corresponding IP address.
TTL: Time to leave. It is the lifespan of the packet. Ex: TTL = 10 means that after hopping on 10
devices the packet will be deleted.
Simulation programs:
1. Cisco packet tracer
2. OPNET
3. OMNET
4. NS2/NS3
5. Simulink
Lab-4
IP address/ DHCP -
Lab-5
Lab-6
Router: 2811
Multiple routers-
Router: routerPT
Wire: DCE wire for router to router connection in the serial port. One end of this wire is DCE and
the other is DTE.
DCE: Data communication equipment. It will have a clock
DTE: Data terminal equipment
Lab-8
Wildcard_mask: Max number of ip address which is 255.255.255.255 minus the subnet mask.
Example:
255.255.255.255
255.255.255.0
Wildcard mask:- 0.0.0.255
Wireshark