Subscribe Us

Thursday, May 7, 2020

NAT(Network address translation) tutorial

 NAT(Network address translation)

What is NAT?
  • To access the internet one public IP address is needed in our private IP address in our private network.
  • The idea of NAT is to allow multiple devices to access the internet through a single public address.
  • Network address translation(NAT) is a process in which one IP address is translated in to one or more global IP address and vice versa in order to provide internet access to the local hosts.
  • NAT generally operates on router or firewall.

Working of NAT?
  • Generally, the border router is configured for NAT.         i.e.- The router which has one interface in local (inside) network and one interface in the global (outside) network.
  • When a packet traverse outside the local (inside) network, then NAT converts that local (private) IP address to a global (public) IP address.
  • When a packet enters the local network, the global (public) IP address is converted to a local (private) IP address.

                Types of NAT

  1. STATIC NAT:- 
  • In this, a single unregistered (private) IP address is mapped with a legally registered (public) IP address.      i.e.- one-to-one mapping between local and global address. This is generally used for web hosting.
  • These are not used in organizations as there are many devices who will need internet access, the public IP address is needed.

  1. DYNAMIC NAT:- 
  • In this type of NAT, an unregistered IP address is translated into a registered (public) IP address from a pool of public IP address.
  • If the IP address of pool is not free, then the packet will be dropped as an only a fixed number of private IP address can be treanslated to public addresses, search the destination.

  1. PORT ADDRESS TRANSLATION (PAT):-
  • This is also known as NAT overload. In this, many local (private) IP addresses can be translated to a single registered IP address, port number are used to distinguish the traffic.

NAT INSIDE AND OUTSIDE ADDRESS
  • Inside local address:-  An IP address that is assigned to a host on tinside (local) network. The address is probablly not a IP address signedby the rvice provider.   i.e.- these are private IP address.

  • Inside global address:- IP address that represents one or more inside local IP address to the outside world. This is the inside host as seen from the outside network.

  • outside local address:- This is the actual IP address of the destination host in the local network after translation.
  • Outside global address:- This is the outside host as seen from the outside  network. It is the IP address of the outside destination host before translation.

           ADVANTAGES OF NAT
  • The main advantage of NAT is that it can prevent the depletion of IP v4 addresses.
  • NAT (network address translation) can provide an additional layer of security by making the original source and destination address hidden.
  • NAT (network address translation) provides increased flexibility when connecting to the public internet.

              DISADVANTAGES OF NAT
  • NAT (network address translation) is a proccessor and memory resource consuming technology since NAT need to translate IP v4 addresses for all incoming and outgoing IP v4 datagram and to keep the translation details in memory.
  • NAT may caause delay in IP v4 communication.
  • NAT cause loss of end-device to end-device IP traceability.

Tuesday, May 5, 2020

TESTING AND TROUBLESHOOTING NETWORK tutorial

                         TESTING AND
TROUBLESHOOTING NETWORK


Network troubleshooting tools:-

  • The various tools available for checking the networking are…….

  1. Software Tools
  2. Hardware Tools
  3. Touchy Tools


                 LOOPBACK TEAST

  • Signal is transmitted and it echos back.
  • Echo signal compared with original signal.
  • Tests are transmission pathand tools used for transmission.
  • Traces a faulty node in network.
  • Required a loopback plug.


                  NETWORK MONITOR

  • Detect and display problems present in the netwirk.
  • Provides data related to network traffic.
  • Analyze data traffic to determine various network problems that can occur.

                      LAN TESTER - |

  1. Used to test 10, 100 and 1000 base - T network.
  2. Consists of two units.

  • MAIN UNIT….

  1. Indicate LAN device type is i.e. HUB, SWITCH.
  2. Determine speed of LAN and type of link.

  • REMOTE PROBE……
Used to locate faults in cable.


                     LAN TESTER - ||

  • Functions of LAN tester……

  1. Verify PC to Hub speed and data transmission.
  2. Check Hub to Hub data transmission.
  3. Determines any speed bottlenecks present on 10 and 100 Base-T LANs.
  4. Continuously tracks LAN link.


   CABLE TEATER AND CERTIFIRES

  • Checks electrical connections.
  • Determines if a short or open circuit is present in the network.
  • Consists of a source of current, volt meter and microcontroller.

   
TIME DOMAIN REFLECTOMETERS

  • Locates fault in metallic cables.
  • Transmits a pulse through the cable.
  • At every discontinuity an echo is reflected back.
  • Used to test long cable.
  • Results are displayed on a CRT or LED.

           PROTOCOL ANALYZERS - |

  • It may be a software or hardware device.
  • Captures packets from network.
  • Analyzes captures packets.
  • Analyzes the network traffic.
  • Identifies bottlenecks in network.
  • Operate on NETWIRK LAYER.
  • Identifies active system on network.
  • Removes the faulty system from network.


               PROTOCOL ANALYZERS -||

Types of protocol analyzers…..
  • Packet analyzer…….

  1. Captures packets present on the wire and store the, for analyzing later.
  2. Does a statistical analysis of the data captured but it is not its primary function.

  • Statistical analyzers…..

  1. Gather quantitative data to prepare a report on the different statistical trends.
  2. Does not store the packets for later analysis.


                          TOUCHY TOOLS

  • Used to identify network problem.
  • Problems are identified using asking various questions to user.
  • Analyzes current situation and compared it with set of baselines.
  • Adequate knowledge and experience is useful to determine problems.

                          BACKUPS

  • Used to preserves a copy of original files.
  • Should be performed on regular basis.
  • Useful when a data loss occurs.
  • Restores system to previous state.

     TROUBLESHOOTING MODEL - |

steps of troubleshooting model…..
  • Establish the symptoms.
  • Isolate the cause of the problem.
  • Establish what has changed that might have caused the problem.
  • Ask isolating questions.

  TROUBLESHOOTING MODEL - ||

  • Identify the most probable cause.
  • Implement a solution.
  • Test the situation.
  • Recognize the potential effects of the solution.
  • Document the solution.

                              SNMP

  • Simple network management protocol.
  • Networking standard protocol.
  • Used with TCP/IP networks.
  • Monitors and manage the networks.
  • Helps to examine network performance.
  • Detect network faults or inappropriate access.

Potential network connectivity problem…….

  • Causes of network connectivity problem--

  1. Incorrect network adapter(NIC).
  2. Incorrect switch settings.
  3. Faulty hardware.
  4. Driver issues.
  5. Upgradation of operating system.
  6. Server relocation.
  7. The network adapter is incompatible with the motherboard.


               NETSTART COMMAND

  • Displays TCP/IP information.
  • Determines which ports are active.
  • Identifies ports that are vulnerable to attacks.
  • Provides connection details.
  • Provides data about TCP and UDP.

                  IPCONFIG COMMAND

  • Displays all network settings.
  • Identifies DHCP problems.
  • Used with WIN-2k and later versions.
  • Displays and resets DNS cache.
  • Sets and displays DHCP class IDs for an adapter.

             WinIPCONFIG COMMAND

  • Provides IP addressing details.
  • Used for WIN-98 or earlier versions.
  • Provides details such as IP address, subnet mask, default gateway, DHCP server, WINS server etc.


                        ARP COMMAND

  • Links IP address of a node with its hardware address.
  • Various ARP command option can be used to display or change the values in ARP table.

                      NbtSTAT COMMAND

  • Resolves NetBIOS name resolution problems.
  • Used when WINS server is not accessible.
  • Displays protocol information and current TCP/IP connection using NetBIOS over TCP/IP (NBT).

                    ROUTE COMMAND

  • Allows you to view and make changes in the IP routing table.
  • Used to differentiate between routes to hosts and routers to networks by reading the network address of the destination.

Thursday, April 30, 2020

Some important questions in computer networking

Some important questions

Q1. What do you mean by Network? …

A network consists of two or more computers that are linked in order to share resources (such as printers and CDs), exchange files, or allow electronic communications.

Q2. What do you mean by Node? …

A node is a basic unit of data structures. Any system or device connected to a network is also called nodes.

Q3. What do you mean by Network Topology?

A network topology is the arrangement of nodes -- usually switches, routers, or software switch/router features -- and connections in a network, often represented as a graph.

Q4. What is Routers? …

A router is a networking device that forwards data packets between computer networks.

Q5. What is the OSI model? …

OSI Model. OSI stands for Open System Interconnection is a reference model that describes how information from a software application in one computer moves through a physical medium to the software application in another computer.

Q6. Explain the Different layers of the OSI model?

  1. Physical layer:- The physical layer is the first layer of the Open System Interconnection Model (OSI Model). The physical layer deals with bit-level transmission between different devices and supports electrical or mechanical interfaces connecting to the physical medium for synchronized communication.

  1. Data link layer:- Data Link Layer. ... It makes sure the appropriate physical protocol is assigned to the data. The data link layer is the second layer in the OSI Model. The three main functions of the data link layer are to deal with transmission errors, regulate the flow of data, and provide a well-defined interface to the network layer.

  1. Network layer:- The network Layer controls the operation of the subnet. The main aim of this layer is to deliver packets from source to destination across multiple links (networks).

  1. Transport layer:- The network Layer controls the operation of the subnet. The main aim of this layer is to deliver packets from source to destination across multiple links (networks).

  1. Session layer:- the session layer is the fifth layer, which controls the connections between multiple computers. ... This layer establishes, controls and ends the sessions between local and remote applications.

  1. Presentation layer:- The presentation layer is layer 6 of the 7-layer Open Systems Interconnection (OSI) model. It is used to present data to the application layer (layer 7) in an accurate, well-defined and standardized format. The presentation layer is sometimes called the syntax layer.

  1. Application layer:- The application layer is a layer in the Open Systems Interconnection (OSI) seven-layer model and in the TCP/IP protocol suite. It consists of protocols that focus on process-to-process communication across an IP network and provides a firm communication interface and end-user services.

Q7. Describe Hub, Switch and Router?

Hub:- hub is the most basic networking device that connects multiple computers or other network devices together.

Switch:- A network switch (also called switching hub, bridging hub, officially MAC bridge) is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device.

Router:- A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet.