Simulátor On-Line IP směrování - IP Routing Simulation (Příklad routování tří sítí)

DŮLEŽITÁ UPOZORNĚNÍ: Tento dokument je z archivu na www.wifimorava.com (+420-776-206200) . Za obsah článků jiných autorů a správnost případných informací v nich obsažených neručíme. Pokud byl znám zdroj článku, byl vždy uveden.



... aneb jak to pochopit, jak se to naučit a jak si ověřit, že je směrovací (routovací) tabulka správná. Na této stránce si vlastně můžete OnLine nasimulovat odeslání datagramu z jednoho PC do druhého PC. V případě, že jste špatně zadali směrovací pravidlo vypíše vám simulátor chybu.

IP Routing Interactive Construction Kit z projektu RAD University

Java applet umožňující naklikat si síť se směrovači (routery) a definovat statické směrování (routování). Po vytvoření sítě si přidáte paket u kterého nastavíte zdrojovou a cílovou IP adresu. Paket odešlete a pokud jste správně nastavili směrovací tabulky, tak paket dorazí do cíle.

Kladně hodnotím:
- můžete zvolit jednu ze tří předdefinovaných topologií. Díky tomu vidíte zajímavý výsledek, aniž byste museli nastavovat směrovací tabulky a klikat jak diví.
- detailní návod s obrázky přímo na stránce s appletem
Nevýhody:
- neumožňuje uložení stavu (to vychází z principu Java appletů)
Výsledek takového:
-
Příklad směrování tří sítí a vyzkoušené OnLine simulátorem (zpracováno v Zoner Calisto)



 

IP Routing Simulation - Simulace směrování On-Line


RAD Static Routing Java AppletWeb: http://www2.rad.com/networks/2005/ipkit/main.htm

-------------------------------------------------------------------------------
Written by:
Gil Messerman
Gilad Karni
Uri Braun
Written for "Protocols and Computer Networks" course, given by Dr. Debby Koren, at Tel Aviv University.
-------------------------------------------------------------------------------

Answers: How do you...


Network


---------------------------------------------------------------------------


Router

---------------------------------------------------------------------------


Host
  • Add a host to a network

      Right clicking on a network will cause a menu to pop up.
      Choose "Add Host" and a host will be added to the network.


      FAQ - "Add Host" is disabled. Why can't I add a host to a network?
      FAQ - How does a host gets its IP address?

  • Remove a hos

      Right clicking on a host will cause a menu to pop up.
      Choose "Remove Host". The host will be removed from the main panel.



---------------------------------------------------------------------------


Datagram
  • Add a datagram

      Right clicking on the main panel will cause a menu to pop up.
      Choose "Add Datagram" and a new datagram will show up on the main panel.


  • Edit a datagram
    • Set a datagram's source & target hosts

        Right clicking on a datagram will cause a menu to pop up.
        Choose "Set Source & Target".


        A bar saying you now have to select the source host will appear
        at the head of the panel.


        You can, obviously, select only one source.
        Select the source host by clicking it.
        A successful selection will result in marking the host with a green rectangle.


        When finishing selecting the source host, click "Done" at the bar at the head of the panel.
        The bar will then instruct you to select the target host.


        Repeat the process above for the target host.

    • Set a datagram's source host

        Right clicking on a datagram will cause a menu to pop up.
        Choose "Set Source Only".


        A bar saying you now have to select the source host will appear
        at the head of the panel.


        You can, obviously, select only one source.
        Select the source host by clicking it.
        A successful selection will result in marking the host with a green rectangle.


        When finishing selecting the source host, click "Done" at the bar at the head of the panel.

    • Set a datagram's target host

      Right clicking on a datagram will cause a menu to pop up.
      Choose "Set Target Only".


      A bar saying you now have to select the target host will appear
      at the head of the panel.


      You can, obviously, select only one target.
      Select the target host by clicking it.
      A successful selection will result in marking the host with a green rectangle.


      When finishing selecting the target host, click "Done" at the bar at the head of the panel.

    • Set a datagram's length

        Right clicking on a datagram will cause a menu to pop up.
        Choose "Edit Datagram". A window with the datagram properties will be opened.


        Double-clicking on a datagram will also open the same window.

        In that window you can select the datagram's length at the appropriate field.


    • Set a datagram's TTL

        Right clicking on a datagram will cause a menu to pop up.
        Choose "Edit Datagram". A window with the datagram properties will be opened.


        Double-clicking on a datagram will also open the same window.

        In that window you can select the datagram's TTL at the appropriate field.


  • Send a datagram

      Right clicking on a datagram will cause a menu to pop up.
      Choose "Send Datagram" and the datagram will be sent.


      While sending a datagram a bar appears at the head of the main panel.
      This bar gives information concerning the datagram traveling through the network.


      The "Stop Simulation" button will stop the simulation a short time after pressing it.

      When arriving a network, the bar will show the network's MTU:


      When arriving a router, the bar will show the entry in the router routing table that was chosen:


      The bar is also used for error reporting in the sending process.
      For example:


      And more...

      Datagram Fragmentation
      In case the datagram has to be fragmented, the datagram icon will be changed from to .
      Also, the number of fragments will be shown in the brackets, next to the fragmented datagram icon:


      More information concerning the number of fragments, and the length of each fragment can be found
      in the bar at the head of the main panel:


      FAQ - "Send Datagram" is disabled. Why can't I send my datagram?

  • Remove a datagram

      Right clicking on a datagram will cause a menu to pop up.
      Choose "Remove Datagram". The datagram will be removed from the main panel.


--------------------------------------------------------------------------

FAQ

  • What is the purpose of "Place Networks"?

      "Place Networks" menu item allows you to use predefined networks.
      These networks are built-in in the applet.
      After placing them on the panel, you may edit them as you like.


      Three networks are available in the "Place Networks" menu:

      1. Star - This network is constructed of three main networks connected using
        a router to each other. Each of these main networks is connected to another two
        "sub-networks".
        Hosts are allocated only in the "sub-networks".
        All routers are already configured to transfer datagrams between the hosts.
        Determine datagram's source and target, and send it.

      2. Loop - This network simulates an error in the configuration of the routers.
        The source and the target of the datagram are already determined.
        Simply send the datagram and watch what happens.

      3. Long - This network is constructed of a list of routers and networks.
        Routers are not configured.
        You may add networks, hosts, routers, datagrams and configure them as you like.

  • Why can't I add a host to a network?
  • How can I remove all objects from main panel?

      A right click on the main panel will open a pop-up menu.
      Select "Remove All" and the main panel will be cleaned of objects.


  • Why can't I send a datagram?
  • How does a host get its IP address?

      After the user has defined an IP address for a network, the network is responsible for allocating IP
      addresses for any peripherals (hosts and routers) that are connected to it. The pool of addresses
      is defined by network address. When creating a new host or connecting a router to the network, a free
      address from the pool is allocated. When a host is being removed or a router is being disconnected
      from a network, its IP address is deallocated and returned to pool.

      Please note that allocation of addresses is not necessarily successive (e.g. for class C network
      192.168.2.0 allocation of addresses for 2 hosts might return 192.168.2.1 and 192.168.2.3).