Académique Documents
Professionnel Documents
Culture Documents
Précédent Suivant
a. Première partie
cvanvinc@pinson /media/usb/CPLL/JournalDeBord $ sudo arp -d 192.168.22.62
cvanvinc@pinson /media/usb/CPLL/JournalDeBord $ sudo arp -d 192.168.22.63
cvanvinc@pinson /media/usb/CPLL/JournalDeBord $ sudo arp -av
? (192.168.22.62) at <incomplete> on eth0
annapurna.kilimandjaro.fr (192.168.22.63) at <incomplete> on eth0
Entrées: 2 Ignorées: 0 Trouvées: 2
*===============================================================
Bienvenue à Microsoft Telnet Server.
*===============================================================
C:\Documents and Settings\isidis2011>
C:\Documents and Settings\isidis2011>exit
Connection closed by foreign host.
b. Deuxième partie
Sur la machine 192.168.22.213, faites un ping sur 2 hôtes du réseau (ici .86 et .87).
cvanvinc@pinson /media/usb/CPLL/JournalDeBord $ ping 192.168.22.86 -c 5 && ping 192.168.22.87 -c 5
PING 192.168.22.86 (192.168.22.86) 56(84) bytes of data.
64 bytes from 192.168.22.86: icmp_req=1 ttl=64 time=0.276 ms
64 bytes from 192.168.22.86: icmp_req=2 ttl=64 time=0.339 ms
64 bytes from 192.168.22.86: icmp_req=3 ttl=64 time=0.330 ms
64 bytes from 192.168.22.86: icmp_req=4 ttl=64 time=0.436 ms
64 bytes from 192.168.22.86: icmp_req=5 ttl=64 time=0.285 ms
Débranchez du réseau les machines .86 et .87 puis modifiez l'adresse IP de la machine 192.168.1.86 en 192.168.1.87. Rebranchez les 2
machines, la machine dont vous avez modifié l'adresse en premier. Sur la machine d'adresse 192.168.22.213, remettez à jour les tables ARP.
Quel est le contenu après cela de la table ARP ?
Modification du fichier interfaces de la machine 192.168.22.86 (après avoir coupé la machine .87 d'origine) :
Ainsi, on peut constater que l'adresse MAC de l'ip 192.168.22.87 n'est plus la même.
eth0 192.3.2.1
eth1 130.2.0.1
Le réseau A, a une passerelle par défaut pour Internet 192.3.2.254, qui est l'interface d'un autre routeur.
On veut :
On demande :
de donner la configuration des fichiers suivants pour chaque machine (hosts , resolv.conf , fichier de configuration de carte).
Pour constituer une vue d'ensemble du réseau demandé, j'ai utilisé le logiciel Packet Tracer de CISCO. Voici une illustration de la situation :
Pour simuler la partie Internet, j'ai mis quelques postes sur la partie gauche mais ce n'est pas le plus important
ici. Concernant la configuration des masques, je n'ai pas cherché à les adapter parfaitement par rapport aux
nombres de postes utilisés.
Le fichier /etc/hosts.conf :
# Ici, on règle prioritairement la résolution de noms grâce au fichier hosts de la machine, ensuite on utilise le DNS.
order hosts,bind
multi on
Le fichier /etc/resolv.conf :
# Déclaration des serveurs de noms (DNS) utilisés par le poste.
nameserver 192.3.2.4
Le fichier etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Pour accéder au réseau local, pas de problème. Tout ce qu'il ne connait pas, on le rebalance sur le routeur.
Le fichier /etc/hosts :
Le fichier /etc/hosts.conf :
# Ici, on règle prioritairement la résolution de noms grâce au fichier hosts de la machine, ensuite on utilise le DNS.
order hosts,bind
multi on
Le fichier /etc/resolv.conf :
# Déclaration des serveurs de noms (DNS) utilisés par le poste.
nameserver 192.3.2.4
Le fichier etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Le fichier /etc/hosts :
Le fichier /etc/hosts.conf :
# Ici, on règle prioritairement la résolution de noms grâce au fichier hosts de la machine, ensuite on utilise le DNS.
order hosts,bind
multi on
Le fichier /etc/resolv.conf :
# Déclaration des serveurs de noms (DNS) utilisés par le poste.
nameserver 192.3.2.4
Le fichier etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Le fichier /etc/hosts :
Le fichier /etc/hosts.conf :
# Ici, on règle prioritairement la résolution de noms grâce au fichier hosts de la machine, ensuite on utilise le DNS.
order hosts,bind
multi on
Le fichier /etc/resolv.conf :
# Déclaration des serveurs de noms (DNS) utilisés par le poste.
nameserver 192.3.2.4
Le fichier etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Le fichier /etc/hosts :
Le fichier /etc/hosts.conf :
# Ici, on règle prioritairement la résolution de noms grâce au fichier hosts de la machine, ensuite on utilise le DNS.
order hosts,bind
multi on
Le fichier /etc/resolv.conf :
# Déclaration des serveurs de noms (DNS) utilisés par le poste.
nameserver 192.3.2.4
Le fichier etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Il s'agit de l'adresse distante sur laquelle uranus est en train de communiquer via telnet.
La première interface Lo a pour Flags BLRU. Le B signifie qu'une adresse de broadcast a été définie, le L pour indiquer qu'il s'agit de l'interface
Loopback, le R pour indiquer que l'interface fonctionne actuellement (Running) et le U pour Up (activée). Idem pour eth0 si ce n'est qu'il ne s'agit
pas de l'interface Loopback.
Quelle est la taille des paquets utilisée par la passerelle par défaut ?
La taille par défaut des paquets de la passerelle par défaut est de 1500 (1500 étant la taille maximal des datagrammes).
;; QUESTION SECTION:
;freenix.org. IN ANY
;; ANSWER SECTION:
freenix.org. 259200 IN MX 10 ns2.freenix.org.
freenix.org. 259200 IN SOA cabale.usenet-fr.net. hostmaster.freenix.org. 2012010301 21600 7200 3600000 259200
freenix.org. 259200 IN NS ns.eu.org.
freenix.org. 259200 IN NS ns.frmug.org.
freenix.org. 259200 IN NS cabale.usenet-fr.net.
freenix.org. 259200 IN NS ns2.freenix.org.
freenix.org. 259200 IN NS ns6.gandi.net.
;; AUTHORITY SECTION:
freenix.org. 259200 IN NS ns.frmug.org.
freenix.org. 259200 IN NS ns.eu.org.
freenix.org. 259200 IN NS ns6.gandi.net.
freenix.org. 259200 IN NS ns2.freenix.org.
freenix.org. 259200 IN NS cabale.usenet-fr.net.
;; ADDITIONAL SECTION:
ns6.gandi.net. 79947 IN A 217.70.177.40
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
>>> Last update of whois database: Fri, 17 Feb 2012 08:11:37 UTC <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Registrant:
RegistrantPrivacy.com
P.O. Box 81024
Burnaby, BC V5H 4K2
CA
Administrative Contact:
Registrant Privacy, distrowatch.com@RegistrantPrivacy.com
P.O. Box 81024
Burnaby, BC V5H 4K2
CA
852-3594-1708
Technical Contact:
Registrant Privacy, distrowatch.com@RegistrantPrivacy.com
P.O. Box 81024
Burnaby, BC V5H 4K2
CA
852-3594-1708
In2net makes this information available "as is," and does not guarantee
its accuracy.
By submitting a WHOIS query, you agree that you will use this data only
for lawful purposes and that, under no circumstances will you use this data
to: (a) allow, enable, or otherwise support the transmission by e-mail,
telephone, or facsimile of mass, unsolicited, commercial advertising or
solicitations to entities other than the data recipient's own existing
customers; or (b) enable high volume, automated, electronic processes
that send queries or data to the systems of any Registry Operator or
ICANN-Accredited registrar, except as reasonably necessary to register
domain names or modify existing registrations.
In2net reserves the right to terminate your access to the In2net WHOIS
database in its sole discretion, including without limitation, for excessive
querying of the WHOIS database or for failure to otherwise abide by this
policy.
20.9. La commande ip
Informations sur la passerelle par défaut :
cvanvinc@pinson ~ $ ip neigh
192.168.22.62 dev eth0 lladdr 00:25:b3:e6:5b:d6 STALE
192.168.22.63 dev eth0 lladdr d4:85:64:5b:13:b4 STAL