Skip to main content

TCP/IP (Transmission Control Protocol/Internet Protocol)


TCP/IP

(Transmission Control Protocol/Internet Protocol)


OSI Seven Layer Model



This will present TCP/IP communications starting from Layer 2 up to Layer 4 (TCP/IP applications cover Layers 5-7)

  • IP Addresses
  • Data Link Layer
    • Network Frames
    • Address Resolution Protocol
  • Network Layer
    • Internet Protocol
    • IP Routing
    • ICMP Error Reporting
  • Transport Layer
    • User Datagram Protocol
    • Transmission Control Protocol
  • Session through Application Layers
    • Domain Name System
  • Final example tracing DNS transaction through a router

Definitions:-

  • Physical network - a collection of computers, communications devices, wiring, etc. that communicate directly with one another (e.g., Ethernet, Token Ring)
  • Host - A computer, connected to a physical network, that exchanges information with another computer via TCP/IP
  • Gateway - A computer that interconnects two or more physical networks and that routes TCP/IP information among those networks (accurately referred to as a router)
IP Addresses
  • Are unique, 32-bit addresses
  • correspond to connections, not hosts (generally, move connection ==> change IP address)
  • are referenced by humans via dotted decimal (or dotted quad) notation, one number per 8 bits (1 octet or byte), e.g., 128.192.6.7
  • consist of three primary classes A, B, and C (class D is for multicast) of the form [Net ID, Host ID]

Class formats:-




Subnet Mask (netmask):-
  • 32-bit value
  • Generally used to subdivide (subnet) a given IP class network into smaller (sub)networks
  • Netmask determines which portion of an IP address is the network address and which is the host address
    • An IP address bit is a network address bit if the corresponding net mask bit is 1
    • An IP address bit is a host address bit if the corresponding netmask bit is 0
  • "Natural netmask" has all netid bit locations = 1 and all hostid bit locations = 0 (e.g., 255.0.0.0, 255.255.0.0, and 255.255.255.0 for class A, B, and C networks, respectively)

Net ID and host ID conventions:

  • Network addresses have hostid with all bits = 0 (e.g., 128.192.0.0 with netmask=255.255.0.0 and 128.192.6.0 with netmask=255.255.255.0)
  • Directed broadcast addresses have host ID with all bits = 1 (e.g., 128.192.255.255 with netmask=255.255.0.0 and 128.192.54.255 with netmask=255.255.255.0)
  • "Limited" broadcast has all bits = 1 (e.g. 255.255.255.255)
  • Loopback address 127.xxx.yyy.zzz used for internal testing, no traffic generated (typically 127.0.0.1)
IP network ranges by class:
  • Class A ==> 1.0.0.0 - 126.0.0.0
  • Class B ==> 128.xxx.0.0 - 191.xxx.0.0
  • Class C ==> 192.xxx.yyy.0 - 223.xxx.yyy.0
  • Class D ==> 224.xxx.yyy.zzz - 239.xxx.yyy.zzz (multicast IP)

Hosts with multiple IP addresses per interface and/or on multiple interfaces are called multi-homed hosts.





Comments

Popular posts from this blog

Digital marketing requires data.

But just having data isn’t going to change anything. Data must be accurate and have the context to be actionable... Without facts and principles, data is useless.  – Bob Hoffman

Content marketing is not a one and done. It’s a constant factor in everything you do in digital marketing.

Content marketing is a commitment, not a campaign.  – Jon Buscall

HOW 2 CONNECT RELIANCE NET CONNECT EC325 ON MAC

It’s only been with me for a couple of days but I’m already addicted to the sweet device. And as usual, set up is as Mac as can be… if you know the proper settings. 1. Start by plugging in your RELIANCE NETCONNECT EC325 device. It’s SIMPLE a blocky ugly but functional device that takes up more than its share of the USB port on my Macbook OR mac book PRO. The small light should from BLUE and then stay. 2. Open System Preferences and navigate to Network. A CDMA Technologies MSM device should already be detected. Select that and click Configure. 3. Fill up the settings as in the pic below. The number to dial is #777, the username and password are the same: your Reliance 10 digit number. Be sure to check Save Password to avoid nag screens. 4. Click on the Modem tab and from the list choose the ‘ CDMA 1x WIN W01K modem'. The default selection will not work. Navigate back to the PPP tab and click Dial Now… 5. You’ll be presented with Int...