networking
networking
• Pc network
Computer Networks
• What is a network?
• DNS, DHCP
• TCP/IP (protocol)
• Router, switches
• Internet
Networks (wired, wireless)
What is a Network?
Connecting two or more computers or
devices together through a media
(cable or wireless)
Network conditions
1- two or more people are willing to share
their data or resources, like printers
T connector
Terminator
2-Bus Topology Thick net
• Thick net or10 base 5 (10 baseband 5)
– Uses Thick-net coaxial cable (backbone cable)
10 Mbps at 500 meter
– Uses Ethernet standard
– 100 computers per segment
– Uses a device vampire tab
Thick net vampire connector
• Thick net
2.5 m
2-Star (10 Base T) topology
• Star or 10 Base T) (Baseband Twisted pair)
• 10 Mbps speed
• Uses Ethernet standard
• Uses RJ45 cable cat. 5 or 6
• Uses Hub or Switch
• Distance between PC and hub or switch is 100 M
• Maximum 100 computers per segment
• Troubleshooting easy
Hubs
• A common connection point for devices in a
network.
• used to connect segments of a LAN.
• Not smart
• Half duplex
• Cheap
• Causes traffics
• Works at the first layer of the OSI model
• Hub type:
– Passive: No power
– Active: has a power
Switches
• Smart
• No Traffic
• More ports
• No collision
• Expensive
• Full, half duplex
• Work at Layer 2 of the OSI model
• Uses MAC address
Star topology components
Switch:
- RJ45 cable (cat 5,6)
https://www.youtube.com/watch?v=iKn0GzF5-IU
Contention based access method CSMA/CD and CSMA/CA
• CSMA/CD vs CSMA/CA
1-CSMA/CD: Collision Detect: used Ethernet standard
cable (wired) (old-half duplex)
• 2-Client/server
LAN NETWORK
1-Network: Workgroup or peer to peer (p 2 p)
• 20 Computers
• No expansion
• User is the administrator
• Cheap for a small company or home
• Example: Windows, 3.11, 95, ME, XP, Windows NT
clients
2-Network: client/server
• Logical grouping of unlimited computers together.
• Need a server
• Need an administrator
• Expensive network
• Expansion allowed
• Example: Windows NT, 2000, 2003, 2008, Unix,
Linux
Dynamic Host Configuration Protocol (DHCP)
• It is a device (program) that provides IP addresses
to devices with Dynamic addressing, a device can
have a different IP address every time it connects to
the network
DNS: Domain Name System
• It is a program inside of a computer that resolves a
domain name such as cisco.com to an IP address
192.168.2.56
• Like a phone book: Name to telephone number
Domain Name System
• DNS
OSI model (Open Systems Interconnection)
All people seem to need Domino Pizza
Example: 192.168.2.56
What is an IP address
• A 32-bit binary or 4 octets of decimal numbers,
which is used in the TCP/IP protocol for
communication between two or more devices.
• It identifies a computer on the network.
network host
192. 168. 1. 10
• 11000000. 10101000.00000001.00001010
Street name
Woodroffe
TCP/IP Protocol
For human:
Decimal 192. 168.0.1 (4 octet or 32 bit)
IP address parts: Network ID, Host ID
For machines-
• Binary 11000000.10101000.00000000.00000001
1 2 3 4
IP address type: static, Dynamic
Windows TCP/IP commands
• ipconfig: shows the IP address of the host
• ipconfig /all: shows the mac address, gateway,
subnet mask
• ping: Connects to another computer
• hostname: shows the hostname
• tracert: show the number of hops (route)
• You do it.
• Find your IP address
• Your partner’s IP address
• Ping your partner
broadcast address
ff:ff:ff:ff:ff:ff
• Ethernet Broadcast
Routers
• Separates the networks
• Can filter traffic, either incoming or outgoing
• works with senders and receivers’ IP addresses.
• works with IP packets, meaning that it works at
level three or IP protocol. Access point
Front
Cisco Securing routers
• Console line port (local). Roll over cable
• Aux line port ( remote –modem)
Wireless network
• A wireless network works with WAP (Wireless
Access Point) through the WIFI.