25.04.2013 Views

Xarxes de computadors - Universitat Oberta de Catalunya

Xarxes de computadors - Universitat Oberta de Catalunya

Xarxes de computadors - Universitat Oberta de Catalunya

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Xarxes</strong> <strong>de</strong> <strong>computadors</strong><br />

10. L’ICMP (Internet control message protocol)<br />

La qüestió <strong>de</strong> si l’ICMP és un protocol, o si més aviat és una eina que<br />

utilitza el protocol IP per a notificar errors, genera molta polèmica. El<br />

cert és que l’ICMP constitueix el mecanisme bàsic per a gestionar les<br />

diferents incidències que po<strong>de</strong>n ocórrer en una xarxa IP.<br />

10.1. Missatges ICMP<br />

Els missatges ICMP viatgen dins <strong>de</strong> paquets IP (al contrari <strong>de</strong>l que<br />

succeïa amb els paquets ARP), en el camp <strong>de</strong> da<strong>de</strong>s amb el camp<br />

Protocol igual a 1. El format <strong>de</strong>l missatge presentat en la figura següent<br />

ens facilitarà l’estudi <strong>de</strong>ls diferents usos <strong>de</strong>l paquet ICMP:<br />

Figura 41.<br />

Hi ha tretze tipus <strong>de</strong> missatges ICMP en ús actualment, i al voltant<br />

d’una trentena <strong>de</strong> subtipus i<strong>de</strong>ntificats amb el camp Codi.<br />

Taula 5.<br />

Tipus Codi Descripció Classe<br />

0 0 Resposta d’eco (echo reply) Petició<br />

8 0 Petició d’eco (echo request) Petició<br />

99<br />

© FUOC • XP06/M2005/01487<br />

ANOTACIONS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!