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.
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)
Web:
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.
-------------------------------------------------------------------------------
Right clicking on the 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?
When connecting a network to a router for the first time,
the router is automatically set to be the network's default gateway.
The default gateway of a network is denoted with a "d" on the
line
connecting the network and the default gateway.
However, if your network is connected to more than one router and you
want to change the default gateway of network, you need to perform
a right click on the selected network and choose "Set Default
Gateway"
on the menu that will pop up.
A bar indicating you are now choosing the default gateway will appear at
the head of the main panel.
Then, all possible default gateways will be marked with a
Right clicking on a network will cause a menu to pop up.
Choose "Remove Network".
The network will be removed from the main panel along with its hosts.
Network destination | Used to define destination network. This value is compared with
part of datagram's target IP address according to Netmask value. The network destination value might be either IP address of one of the defined networks or an address that aggregates several networks (supernet). For example in order to route a datagram to either network 192.168.10.0 or 192.168.11.0 using same Interface of selected router, the user may define network destination to be 192.168.0.0 with appropriate Netmask (255.255.0.0). |
Netmask | Used to differ the prefix of datagram's target IP, which should
be compared with the current entry's Network destination value. |
Next hop | Used to define a router to which a datagram will be forwarded
from current router in case Network Destination matches to defined prefix of datagram's target IP address. Two different cases of selection are available for this field:
|
Interface | Used to select router's network connection to which datagram
will be forwarded if this routing table entry will match the datagram's target IP address. |
Right clicking on a host will cause a menu to pop up.
Choose "Remove Host". The host will be removed from the
main panel.
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.
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.
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?
--------------------------------------------------------------------------
FAQ
First
define an IP address for your network.
Then, you will be able to add hosts to your network.
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).