Networking Basics
Networking Basics
Networking
Increased manageability
Security
Efficiency
Cost-effectiveness
Categorizing
Computer Networks
• Client - Server
• Peer To Peer (P2P)
Local Area Network
Properties of a server:
Passive (Slave)
Waiting for requests
On requests serves them and send a reply
Properties of a client:
Active (Master)
Sending requests
Waits until reply arrives
Client - Server
Client - Server
An example of Peer-to-peer
networking is the implementation of
a workgroup consisting of computers
running Microsoft Windows or any
other network operating system.
Comparison
Difference between
“SERVER”
&
“DESKTOP PC OR CLIENT”
HTTP
FTP
SMTP
TCP/IP
UDP
ARP
ICMP
Checkpoint
00000C (Cisco)
00001D (Cabletron)
0004AC (IBM [PCMCIA Ethernet adapter])
0020AF (3Com)
00C0A8 (GVC)
080007 (Apple)
080009 (Hewlett-Packard)
MAC Address
Some NICs come with a software utility that you can use to change
the MAC address of the card. Changing the address is not a good idea!
If you accidentally configure two network cards on your network to
have the same MAC address, address conflict problems will result and
the computers will not be able to communicate on the network.
The four numbers in an IP address are called octets, because they each
have eight positions when viewed in binary form. If you add all the
positions together, you get 32, which is why IP addresses are considered
32-bit numbers. Since each of the eight positions can have two different
states (1 or 0) the total number of possible combinations per octet is 28 or
256. So each octet can contain any value between 0 and 255. Combine the
four octets and you get 232 or a possible 4,294,967,296 unique values!
Address Resolution Protocol (ARP)
• A TCP/IP network layer protocol responsible for
resolving IP addresses into MAC addresses.
• When a TCP/IP-aware application tries to access another
TCP/IP host using its IP address, the destination host’s
IP address must first be resolved into a MAC address so
that the frame can be addressed and placed on the wire
and then be recognized by the destination host’s
network interface card (NIC). This is because network
interface cards operate at the physical layer (layer 1) and
data-link layer (layer 2) of the Open Systems
Interconnection (OSI) reference model and must use
physical addresses (such as MAC addresses) instead of
logical addresses (such as IP addresses) for network
communication.
IP Address
Networks that are directly connected to the Internet must have their
IP addresses assigned by the Internet Network Information Center
(InterNIC) or some other authority. Businesses usually obtain these
addresses through their local Internet service provider (ISP).
However, firewall and proxy server combinations, which are
popular on today’s networks, hide a network’s IP addresses from
other hosts on the Internet. These private networks can use any IP
addresses they choose, although InterNIC recommends the
following IP address blocks for private networks:
Class A networks: 10.x.y.z
Class B networks:
172.16.y.z through 172.31.y.z
Class C networks:
192.168.0.z through 192.168.254.z
APIPA
Gateway Address
The default gateway IP address identifies the gateway (for example, a router) that
receives and forwards those packets whose addresses are unknown to the local
network. The agent uses the default gateway address when sending alert packets to the
management workstation on a network other than the local network. Assign the gateway
address on each device
Subnet Mask
The subnet mask is a 32-bit number in the same format and representation as IP
addresses. The subnet mask determines which bits in the IP address are interpreted as
the network number, which as the sub-network number, and which as the host number.
Each IP address bit that corresponds to a 1 in the subnet mask is in the network / sub-
network part of the address. This group of numbers is also called the Network ID. Each
IP address bit that corresponds to a 0 is in the host part of the IP address.
The subnet mask is specific to each type of Internet class. The subnet mask must match
the subnet mask that you used when you configured your TCP/IP software.
IP Address
PING
IPCONFIG
NBTSTAT
REPAIR
TRACERT
ping
Parameters:
/all : Displays the full TCP/IP configuration for all adapters.
Without this parameter, ipconfig displays only the IP address,
subnet mask, and default gateway values for each adapter.
Adapters can represent physical interfaces, such as installed
network adapters, or logical interfaces, such as dial-up
connections.
/renew [Adapter] : Renews DHCP configuration for all adapters
(if an adapter is not specified) or for a specific adapter if the
Adapter parameter is included. This parameter is available only
on computers with adapters that are configured to obtain an IP
address automatically.
/release [Adapter] : Sends a DHCPRELEASE message to the
DHCP server to release the current DHCP configuration and
discard the IP address configuration for either all adapters (if an
adapter is not specified) or for a specific adapter
ipconfig