<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking Concepts | Ukant Jadia</title><link>https://ukantjadia.github.io/tag/networking-concepts/</link><atom:link href="https://ukantjadia.github.io/tag/networking-concepts/index.xml" rel="self" type="application/rss+xml"/><description>Networking Concepts</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sat, 30 Dec 2023 14:21:26 +0530</lastBuildDate><image><url>https://ukantjadia.github.io/media/icon_hu5e29e1df12b63ca0c9252c8db4842f1b_8915_512x512_fill_lanczos_center_3.png</url><title>Networking Concepts</title><link>https://ukantjadia.github.io/tag/networking-concepts/</link></image><item><title>Network Concepts Basics</title><link>https://ukantjadia.github.io/post/network-concepts-basics/</link><pubDate>Sat, 30 Dec 2023 14:21:26 +0530</pubDate><guid>https://ukantjadia.github.io/post/network-concepts-basics/</guid><description>&lt;h1 id="networking-concept">Networking Concept&lt;/h1>
&lt;h3 id="mac-address">Mac address&lt;/h3>
&lt;ul>
&lt;li>Media control access&lt;/li>
&lt;li>It is physical address to identify the devices&lt;/li>
&lt;li>it identify the NIC of each divices (NIC&amp;ndash;&amp;gt; Network identification card)&lt;/li>
&lt;li>ex:- ether 00:0c:49:0a:43:03&lt;/li>
&lt;li>Mac work in the second and third layer of the OSI model&lt;/li>
&lt;li>Specially it is related to the switches&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h3 id="tcp---vs---udp">TCP &amp;ndash;VS&amp;ndash; UDP&lt;/h3>
&lt;h4 id="tcp">TCP&lt;/h4>
&lt;ul>
&lt;li>Transmission COntrol Protocol&lt;/li>
&lt;li>Connection oriented protocol&lt;/li>
&lt;li>used in HTTPS/SSH/TelNet/SMTP/FTP&lt;/li>
&lt;li>provide the more security and relailablity&lt;/li>
&lt;li>it form one-to-one connection and it gurantee the complete delivery of data&lt;/li>
&lt;li>Three way hand shake&lt;/li>
&lt;li>SYN -&amp;gt; SYN-ACK -&amp;gt; ACK&lt;/li>
&lt;li>it is slow due to three-way-handshake, it take time to complete and establis the connection&lt;/li>
&lt;li>Use port to establish the connection&lt;/li>
&lt;li>During hand-shake it acknowldge your machine to the requested server&lt;/li>
&lt;li>contains the 20Byte packet&lt;/li>
&lt;/ul>
&lt;h4 id="udp">UDP&lt;/h4>
&lt;ul>
&lt;li>User Datagram Protocol&lt;/li>
&lt;li>Connection less Protocol&lt;/li>
&lt;li>it provide the fast transmission&lt;/li>
&lt;li>Broadcast or multicast the message and the complete delivery of data is note guarnted&lt;/li>
&lt;li>Streamming on voice-over-io(VOIP), DHCP,DNS&lt;/li>
&lt;li>Used for streaming the data like procast, video&lt;/li>
&lt;li>contains the 8Byte packet&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h3 id="comman-ports-and-protocol">Comman Ports and Protocol&lt;/h3>
&lt;h4 id="tcp-1">TCP&lt;/h4>
&lt;pre>&lt;code> PROTOCOL/SERVICE PORT'S
FTP 21
SSH 22
TelNet 23
SMTP 25
DNS 53
HTTP/HTTPS 80/443
POP3 110
SMB 139+445
IMAP 143
&lt;/code>&lt;/pre>
&lt;h4 id="udp-1">UDP&lt;/h4>
&lt;pre>&lt;code> PROTOCOL/SERVICE PORT'S
DNS 53
DHCP 67.68
TFTP 69
SNMP 161
&lt;/code>&lt;/pre>
&lt;hr>
&lt;h3 id="the-osi-model">The OSI Model&lt;/h3>
&lt;ul>
&lt;li>
&lt;p>Open Systems Interconnection(OSI)&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Learn this mnemonic to to know the seven layer sequence&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Please Do Not Throw Sausage Pizza Away&lt;/strong>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>OSI seven layers are&lt;/p>
&lt;pre>&lt;code> 1. Physical (P)Please
2. Data link (D)Do
3. Network (N)Not
4. Transport (T)Throw
5. Session (S)Sausage
6. Presentation (P)Pizza
7. Application (A)Away
&lt;/code>&lt;/pre>
&lt;/li>
&lt;li>
&lt;p>OSI Model Explain &lt;a href="https://www.imperva.com/learn/application-security/osi-model/" target="_blank" rel="noopener">REF&lt;/a>&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>
&lt;figure >
&lt;div class="d-flex justify-content-center">
&lt;div class="w-100" >&lt;img src="https://www.imperva.com/learn/wp-content/uploads/sites/13/2020/02/OSI-vs.-TCPIP-models.jpg.webp" alt="IMG" loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;pre>&lt;code> Layers For
1. Physical -- Provide the connection between computer and network, it includes physical datacable,server
2. Data Link -- Make sure the data-transfer is error-free between different node, when data packet arrive at network layer then data link layer(DLL) deliver that packet to the requested host using MAC address.
3. Network -- Transmitt the data from one host to other, in different netwroks.It also place the reciver/sender ip address in header of packet.
4. Transport -- Data packet referred as Segment, it is responsible for the end-to-end delivery of complete message without any error/packet loss.
5. Session -- Responsible for the establishing the session,maintaining and also ensure the security
6. Presentation --- Data from application layer(layer 7) is extracted here and manipulate as per the required to transmit over network.
7. Application --- Used by the end user software such as web browser and email clients.
&lt;/code>&lt;/pre>
&lt;blockquote>
&lt;p>While Receiving the data from network model work from layer 1 &amp;ndash;&amp;gt; layer 7&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>While sending the data from machine model work from layer 7 &amp;ndash;&amp;gt; layer 1&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h3 id="networks">Networks&lt;/h3>
&lt;ul>
&lt;li>
&lt;p>IP address are work with the third layer of the OSI Model&lt;/p>
&lt;/li>
&lt;li>
&lt;p>There are two types of ip address&lt;/p>
&lt;ul>
&lt;li>IPv4 : 192.168.34.123&lt;/li>
&lt;li>IPv6 : 23:s3:3w:34:dw:23:2d&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>In IPv4 each section after delimeter(.) is contain the 8 bits each (0 &amp;amp; 1)&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The total of complete ip address is 32 byte.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>the total in terms of the bits is 256 that is from 0 to 255.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>There are many network around you and your system and all are having the very specific identity number that is known as IP address.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Types of ip address in a network&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Class&lt;/th>
&lt;th>Start ip&lt;/th>
&lt;th>End ip&lt;/th>
&lt;th>Subnet Mask&lt;/th>
&lt;th>Netwroks(max)&lt;/th>
&lt;th>Hosts(max)&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>A&lt;/td>
&lt;td>0&lt;/td>
&lt;td>127&lt;/td>
&lt;td>255.0.0.0&lt;/td>
&lt;td>126&lt;/td>
&lt;td>16,646,144&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>B&lt;/td>
&lt;td>127&lt;/td>
&lt;td>191&lt;/td>
&lt;td>255.255.0.0&lt;/td>
&lt;td>16,383&lt;/td>
&lt;td>15,024&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>C&lt;/td>
&lt;td>192&lt;/td>
&lt;td>223&lt;/td>
&lt;td>255.225.255.0&lt;/td>
&lt;td>2097,151&lt;/td>
&lt;td>254&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;/li>
&lt;li>
&lt;p>IP address in the binary format&lt;/p>
&lt;ul>
&lt;li>11111111.11111111.11111111.0 == 255.255.255.0&lt;/li>
&lt;li>== 192.168.15.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>Some Standard Slash Network&lt;/p>
&lt;ul>
&lt;li>/24 Network
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>128&lt;/th>
&lt;th>64&lt;/th>
&lt;th>32&lt;/th>
&lt;th>16&lt;/th>
&lt;th>8&lt;/th>
&lt;th>4&lt;/th>
&lt;th>2&lt;/th>
&lt;th>1&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>1&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;/li>
&lt;li>/25 Network
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>128&lt;/th>
&lt;th>64&lt;/th>
&lt;th>32&lt;/th>
&lt;th>16&lt;/th>
&lt;th>8&lt;/th>
&lt;th>4&lt;/th>
&lt;th>2&lt;/th>
&lt;th>1&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>1&lt;/td>
&lt;td>1&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;td>0&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h3 id="links">Links&lt;/h3>
&lt;p>It is getting hard for me to write and draw the ahed so i am adding some link of my document go through them, Some link to internet resources&lt;/p>
&lt;ol>
&lt;li>&lt;a href="https://www.youtube.com/watch?v=ZxAwQB8TZsM" target="_blank" rel="noopener">7_second_subnating&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://drive.google.com/file/d/1ETKH31-E7G-7ntEOlWGZcDZWuukmeHFe/view" target="_blank" rel="noopener">subnet_execl_sheet&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://drive.google.com/file/d/1tl052Kxro6GOT15H0YfHaA9-fhV8xZRa/view?usp=drivesdk" target="_blank" rel="noopener">my_hand_written_notes&lt;/a>&lt;/li>
&lt;/ol></description></item></channel></rss>