The aim of the bachelor´s thesis is to develop simulation tasks for modeling of data networks. The tasks will be used in the course Modern communication technique (MKPT). The networks are simulated in the environment of Network Simulator 2 (NS2). A brief description of program environment NS2, as well as basics of Tcl language is mentioned in the introduction. Described is the possibility of simulation HTTP protocol in NS2 using OTcl PagePool classes. Totally six proposed tasks form the core of the thesis. The first task uses PagePool/Math and displays the simplest communication between client, server and cache. Next task uses PagePool/CompMath and it shows the communication between client, cache, Web server, FTP server and FTP client. The ...