Приветствую Вас, Гость! Регистрация RSS
Воскресенье, 06.07.2025


Главная » Файлы » Лабораторные работы » Лабораторные работы

Лабораторна робота №1 з дисципліни “Комп’ютерні мережі”
[ Скачать с сервера (606.0 Kb) ] 04.05.2017, 17:37
Настроювальні параметри
network = tcpsack

warnings = true
sim-time-limit = 4.0s

cmdenv-module-messages = true # for normal (non-express) mode only
cmdenv-event-banners = true # for normal (non-express) mode only

tkenv-plugin-path = ../../../etc/plugins

#
# Network specific settings
#

# set inet_addr, Mask, MTU ( = 1500), default route (=router)
**.client.routingFile = "client.mrt"
**.router.routingFile = "router.mrt"
**.server.routingFile = "server.mrt"

# ip settings
**.ip.procDelay = 0s
**.IPForward = false

# ARP settings
**.arp.retryTimeout = 1s
**.arp.retryCount = 3
**.arp.cacheTimeout = 100s

# nam trace
**.namid = -1 # auto

# NIC settings
**.ppp
  • .queueType = "DropTailQueue" # alternatively: REDQueue or DropTailQoSQueue
    **.ppp
  • .queue.frameCapacity = 100 # packets

    # tcp apps - client
    **.client.numTcpApps = 1
    **.client.tcpAppType = "TCPSessionApp"
    **.client.tcpApp
  • .sendBytes = 14MiB
    **.client.tcpApp
  • .active = true
    **.client.tcpApp
  • .address = "172.0.0.1"
    **.client.tcpApp
  • .port = 10020
    **.client.tcpApp
  • .connectAddress = "172.0.1.111" # 172.0.1.111 = server
    **.client.tcpApp
  • .connectPort = 10021
    **.client.tcpApp
  • .tOpen = 0s
    **.client.tcpApp
  • .tSend = 0s
    **.client.tcpApp
  • .tClose = 0s
    **.client.tcpApp
  • .sendScript = ""

    # tcp apps - server
    **.server.numTcpApps = 1
    **.server.tcpAppType = "TCPSinkApp"
    **.server.tcpApp
  • .address = "172.0.1.111"
    **.server.tcpApp
  • .port = 10021

    # tcp settings
    **.tcp.advertisedWindow = 65535 # in bytes, corresponds with the maximal receiver buffer capacity (Note: normally, NIC queues should be at least this size)
    **.tcp.delayedAcksEnabled = false # delayed ACK algorithm (RFC 1122) enabled/disabled
    **.tcp.nagleEnabled = true # Nagle's algorithm (RFC 896) enabled/disabled
    **.tcp.limitedTransmitEnabled = false # Limited Transmit algorithm (RFC 3042) enabled/disabled (can be used for TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl)
    **.tcp.increasedIWEnabled = false # Increased Initial Window (RFC 3390) enabled/disabled
    **.tcp.sackSupport = true # Selective Acknowledgment (RFC 2018, 2883, 3517) support (header option) (SACK will be enabled for a connection if both endpoints support it)
    **.tcp.windowScalingSupport = false # Window Scale (RFC 1323) support (header option) (WS will be enabled for a connection if both endpoints support it)
    **.tcp.timestampSupport = false # Timestamps (RFC 1323) support (header option) (TS will be enabled for a connection if both endpoints support it)
    **.tcp.mss = 500 # Maximum Segment Size (RFC 793) (header option)
    **.tcp.tcpAlgorithmClass = "TCPReno" #
    **.tcp.sendQueueClass = "TCPVirtualDataSendQueue" #
    **.tcp.receiveQueueClass = "TCPVirtualDataRcvQueue" #
    **.tcp.recordStats = true
    [Config One]
    description = "RFC_2018_Case_1"
    **.client.tcpdump.dumpFile="RFC_2018_Case_1_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2018_Case_1_Server_Log.pcap"
    **.client.ppp
  • .dropsGenerator.dropsVector = "17;18;19;20;"
    [Config Two]
    description = "RFC_2018_Case_2"
    **.client.tcpdump.dumpFile="RFC_2018_Case_2_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2018_Case_2_Server_Log.pcap"
    **.client.ppp
  • .dropsGenerator.dropsVector = "13;"
    [Config Three]
    description = "RFC_2018_Case_3"
    **.client.tcpdump.dumpFile="RFC_2018_Case_3_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2018_Case_3_Server_Log.pcap"
    **.client.ppp
  • .dropsGenerator.dropsVector = "14;16;18;20;"
    [Config Four]
    description = "RFC_2883_Example_1"
    **.client.tcpdump.dumpFile="RFC_2883_Example_1_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2883_Example_1_Server_Log.pcap"
    **.tcp.advertisedWindow = 1000
    **.server.ppp
  • .dropsGenerator.dropsVector = "8;9;"
    [Config Five]
    description = "RFC_2883_Example_2"
    **.client.tcpdump.dumpFile="RFC_2883_Example_2_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2883_Example_2_Server_Log.pcap"
    **.tcp.advertisedWindow = 2000
    **.client.ppp
  • .dropsGenerator.dropsVector = "11;"
    **.server.ppp
  • .dropsGenerator.dropsVector = "8;9;10;"
    [Config Six]
    description = "RFC_2883_Example_3"
    **.client.tcpdump.dumpFile="RFC_2883_Example_3_Client_Log.pcap"
    **.server.tcpdump.dumpFile="RFC_2883_Example_3_Server_Log.pcap"
    **.client.ppp
  • .dropsGenerator.dropsVector = "11;"
    **.server.ppp
  • .duplicatesGenerator.duplicatesVector = "12;"

    Встановлення з’єднання
  • Категория: Лабораторные работы | Добавил: opteuropa | Теги: ІТ, скачать лабораторную, НУХТ, інформаційні системи
    Просмотров: 563 | Загрузок: 22 | Рейтинг: 0.0/0
    Всего комментариев: 0
    Имя *:
    Email *:
    Код *:
    Украина онлайн

    Рейтинг@Mail.ru

    подать объявление бесплатно