1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
bureau:/home/sylvain# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/lo/<null>
Sending on LPF/lo/<null>
Listening on LPF/eth0/04:ff:ff:ff:ff:ff
Sending on LPF/eth0/04:ff:ff:ff:ff:ff
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.147.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.147.1
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.147.1
SIOCSIFMTU: Invalid argument
SIOCADDRT: File exists
bound to 192.168.147.4 -- renewal in 129600 seconds.
bureau:/home/sylvain# ifconfig
eth0 Lien encap:Ethernet HWaddr 04:FF:FF:FF:FF:FF
inet adr:192.168.147.4 Bcast:192.168.147.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:7029 (6.8 KiB) TX bytes:2744 (2.6 KiB)
Interruption:9 Adresse de base:0x1100
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:183 errors:0 dropped:0 overruns:0 frame:0
TX packets:183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:9984 (9.7 KiB) TX bytes:9984 (9.7 KiB)
bureau:/home/sylvain# route
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.147.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.147.1 0.0.0.0 UG 0 0 0 eth0
bureau:/home/sylvain# ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.166 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.131 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.127 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.127/0.141/0.166/0.020 ms
bureau:/home/sylvain# ping 192.168.147.1
PING 192.168.147.1 (192.168.147.1) 56(84) bytes of data.
64 bytes from 192.168.147.1: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 192.168.147.1: icmp_seq=2 ttl=64 time=0.875 ms
64 bytes from 192.168.147.1: icmp_seq=3 ttl=64 time=0.891 ms
--- 192.168.147.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2016ms
rtt min/avg/max/mdev = 0.875/1.045/1.371/0.233 ms
bureau:/home/sylvain# ping google.fr /nb: la résolution dns marche donc/
PING google.fr (66.102.9.104) 56(84) bytes of data.
64 bytes from 66.102.9.104: icmp_seq=1 ttl=242 time=27.3 ms
64 bytes from 66.102.9.104: icmp_seq=2 ttl=242 time=27.2 ms
64 bytes from 66.102.9.104: icmp_seq=3 ttl=242 time=27.1 ms
--- google.fr ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2020ms
rtt min/avg/max/mdev = 27.166/27.231/27.300/0.145 ms
bureau:/home/sylvain# telnet 192.168.147.2 80 /nb: serveur web du réseau/
Trying 192.168.147.2...
Connected to 192.168.147.2.
Escape character is '^]'.
^]
Connection closed by foreign host.
bureau:/home/sylvain# telnet google.fr 80
Trying 72.14.221.104... /nb : pas de connexion même à long terme/ |
Partager