Quando eu abaixo a interface de loopback e tentar pingar meu próprio IP, ele está mostrando 100% de perda de pacotes, mesmo quando o meu eth0
é acima. Por que é isso?
Aqui está o que eu fiz:
root@faisal-desktop# ifconfig lo down
root@faisal-desktop# ping -I eth0 172.16.10.112 -c 2
PING 172.16.10.112 (172.16.10.112) from 172.16.10.112 eth0: 56(84) bytes of data.
--- 172.16.10.112 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms
root@faisal-desktop# ifconfig
eth0 Link encap:Ethernet HWaddr 6c:f0:49:f6:82:03
inet addr:172.16.10.112 Bcast:172.16.10.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fef6:8203/64 Scope:Link
.
.
Verifique o ifconfig Contagem de pacotes de TX
root@faisal-desktop# ifconfig
eth0 Link encap:Ethernet HWaddr 6c:f0:49:f6:82:03
inet addr:172.16.10.112 Bcast:172.16.10.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fef6:8203/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25822 errors:0 dropped:0 overruns:0 frame:0
TX packets:24825 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19581301 (19.5 MB) TX bytes:4013322 (4.0 MB)
Interrupt:26 Base address:0x6000
root@faisal-desktop# ping -c 1 -I eth0 172.16.10.112
PING 172.16.10.112 (172.16.10.112) from 172.16.10.112 eth0: 56(84) bytes of data.
--- 172.16.10.112 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@faisal-desktop# ifconfig
eth0 Link encap:Ethernet HWaddr 6c:f0:49:f6:82:03
inet addr:172.16.10.112 Bcast:172.16.10.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fef6:8203/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25840 errors:0 dropped:0 overruns:0 frame:0
TX packets:24845 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19588641 (19.5 MB) TX bytes:4017338 (4.0 MB)
Interrupt:26 Base address:0x6000