Bonjour,
Je suis sous une machine virtuelle ubuntu grâce à VMWare player (la machine réelle est sous windows 7) et mon reseau est en nat , et là je n'arrive plus à ping
# ping -c 1 google.fr
PING google.fr (216.58.211.67) 56(84) bytes of data.
--- google.fr ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:6b:c5:81
inet addr:192.168.132.137 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:62310 errors:0 dropped:0 overruns:0 frame:0
TX packets:22089 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69078084 (69.0 MB) TX bytes:1815866 (1.8 MB)
# 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
/etc/resolv.conf
nameserver 127.0.1.1
search localdomain
/etc/network/interfaces
auto lo
iface lo inet loopback
Je peux ping la gateway
# ping -c 1 192.168.132.2
PING 192.168.132.2 (192.168.132.2) 56(84) bytes of data.
64 bytes from 192.168.132.2: icmp_seq=1 ttl=128 time=0.090 ms
--- 192.168.132.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.090/0.090/0.090/0.000 ms
traceroute google.fr
# traceroute google.fr
traceroute to google.fr (216.58.211.99), 30 hops max, 60 byte packets
1 192.168.132.2 (192.168.132.2) 0.121 ms 0.073 ms 0.077 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
....
30 ***
# traceroute 192.168.132.2
traceroute to 192.168.132.2 (192.168.132.2), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
...
30 ***