Bonjour,
j'apprends le fonctionnement de dhcp, j'ai fais quelque manipulation sous machine virtuelle ubuntu. J'ai désactiver le service network-manage, j'ai changé mon adresse mac et fait un dhclient pour obtenir une nouvelle adresse ip et je n'arrive plus a ping par exemple google.fr, j'obtiens ceci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 $ ping -c 1 google.fr PING google.fr (216.58.211.99) 56(84) bytes of data. --- google.fr ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
j'arrive a ping mon routeur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 $ ping -c 1 192.168.132.1 PING 192.168.132.1 (192.168.132.1) 56(84) bytes of data. 64 bytes from 192.168.132.1: icmp_seq=1 ttl=128 time=0.621 ms --- 192.168.132.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.621/0.621/0.621/0.000 ms
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 $ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.132.2 0.0.0.0 UG 0 0 0 eth0 192.168.132.0 * 255.255.255.0 U 1 0 0 eth0
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 $ ifconfig eth0 Link encap:Ethernet HWaddr aa:bb:bb:bb:bb:bb inet addr:192.168.132.135 Bcast:192.168.132.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe6b:c581/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:43834 errors:0 dropped:0 overruns:0 frame:0 TX packets:20080 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:34545492 (34.5 MB) TX bytes:3569095 (3.5 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1610 errors:0 dropped:0 overruns:0 frame:0 TX packets:1610 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:148349 (148.3 KB) TX bytes:148349 (148.3 KB)
Partager