• Nenhum resultado encontrado

Neste apêndice são apresentados alguns tempos, em segundos, refletindo a reconfiguração de um agente passivo previamente eleito para atuar como agente ativo. Todos os experimentos foram executados durante 60 s, sendo tempo suficiente para se perceber a reconfiguração do agente passivo. Para ativar o mecanismo de reconfiguração, foi desativado o agente ativo deliberadamente para provocar uma falha no cenário contendo apenas dois nós [ver item 7.2.1]. Os dados das Figuras C.1/2/3 foram filtrados no ethereal para melhor leitura dos dados gerados pelos agentes ativo e passivo [ver apêndice A]. A título de exemplo, tem-se na figura C.1, na linha 67, em ~14,9650 s, um agente ativo (172.1.16.5) que faz Flooding do seu último agent advertisement (realçado em negrito). Na linha 68, o agente passivo (172.1.16.42) responde em ~14,9651s com uma mensagem Mnnodelect_Ack para o agente ativo. Nesse espaço de tempo, tem-se a troca de mensagens de sinalização do protocolo de roteamento AODV para garantir a manutenção da rota ativa entre os dois agentes. Em [3], define-se que um nó MIPv4 tem de esperar por pelo menos 3 agent advertisements consecutivos para decidir se perdeu a sinalização com o agente de mobilidade (neste caso deveria ter acontecido em ~14,9650+3 = ~17, 9650 s). Assim sendo, a reconfiguração ocorre como previsto na linha 77, com o agente (172.1.16.42) sendo o novo ativo na rede.

64 13.852884 172.1.16.42 172.1.16.5 MobileIP DRMIPA - MN Node Elect Ack: HA Addr=172.1.16.5, Elected Node=172.1.16.42 65 14.395494 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 66 14.433107 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000

67 14.965042 172.1.16.5 255.255.255.255 ICMP Mobile IP Advertisement

68 14.965191 172.1.16.42 172.1.16.5 MobileIP DRMIPA - MN Node Elect Ack: HA Addr=172.1.16.5, Elected Node=172.1.16.42 69 15.429446 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 70 15.457904 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 71 16.456022 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 72 16.506674 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 73 17.484375 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 74 17.553435 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 75 18.502794 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 76 18.602201 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000

77 19.105479 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

78 19.548809 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 79 19.642965 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 80 20.134042 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

Figura C.1 – Reconfiguração dinâmica do agente passivo após desativação do agente

148 46.194030 172.1.16.5 255.255.255.255 ICMP Mobile IP Advertisement

149 46.194214 172.1.16.42 172.1.16.5 MobileIP DRMIPA - MN Node Elect Ack: HA Addr=172.1.16.5, Elected Node=172.1.16.42 150 46.236642 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 151 46.310744 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 152 46.853538 drmipaGeorges.local localhost.local ARP Who has 172.1.16.5? Tell 172.1.16.42

153 46.855418 localhost.local drmipaGeorges.local ARP 172.1.16.5 is at 00:01:f4:96:60:08

154 47.286902 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 155 47.314527 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 156 48.319187 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 157 48.360294 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 158 49.336423 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 159 49.400063 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 160 50.360687 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 161 50.417838 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 162 51.361952 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 163 51.419638 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 164 52.404219 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 165 52.434398 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 166 53.431471 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 167 53.466170 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 168 54.478828 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 169 54.486922 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000

170 54.512448 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

171 55.521716 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 172 55.527049 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 173 56.557486 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 174 56.575596 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

Figura C.2 – Reconfiguração dinâmica do agente passivo após desativação do agente

ativo, com agent advertisements enviados a cada 2s.

71 22.615301 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000

72 22.728748 172.1.16.5 255.255.255.255 ICMP Mobile IP Advertisement

73 22.728948 172.1.16.42 172.1.16.5 MobileIP DRMIPA - MN Node Elect Ack: HA Addr=172.1.16.5, Elected Node=172.1.16.42 74 23.509585 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 75 23.626555 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 76 24.555357 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 77 24.654850 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 78 25.583128 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 79 25.704093 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 80 26.589915 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 81 26.719366 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 82 27.607675 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 83 27.766616 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 84 28.616453 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 85 28.768890 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 86 29.629245 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 87 29.781145 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 88 30.665016 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 89 30.818396 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 90 31.670782 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 91 31.868675 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 92 32.705566 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 93 32.871930 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 94 33.732333 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 95 33.889183 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 96 34.745108 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 97 34.906451 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 98 35.787881 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 99 35.945833 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 100 36.796663 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 101 36.948975 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 102 37.834432 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 103 37.981233 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 104 38.857207 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 105 38.994486 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 106 39.894973 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 107 40.004758 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 108 40.943745 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 109 41.030021 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 110 41.987518 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 111 42.050256 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 112 42.994289 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 113 43.091537 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 114 44.016059 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 115 44.130799 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000

116 44.999405 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

117 45.051862 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 118 45.182077 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 119 46.099611 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 120 46.216332 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 121 47.144382 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 122 47.226605 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 123 48.146161 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 124 48.271870 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 125 49.149932 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 126 49.286100 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 127 50.169772 172.1.16.42 255.255.255.255 AODV Route Reply, D: 172.1.16.42, O: 172.1.16.42 Hcnt=0 DSN=3 Lifetime=2000 128 50.327405 172.1.16.5 255.255.255.255 AODV Route Reply, D: 172.1.16.5, O: 172.1.16.5 Hcnt=0 DSN=3 Lifetime=2000 129 51.082641 172.1.16.42 255.255.255.255 ICMP Mobile IP Advertisement

Figura C.3 – Reconfiguração dinâmica do agente passivo após desativação do agente