当前位置: 技术问答>linux和unix
ping的时候出现sendto: No such process
来源: 互联网 发布时间:2016-06-25
本文导语: 操作系统是FC5 我如果直接ping 10.7.3.1是成功的 / $ ping 10.7.3.1 PING 10.7.3.1 (10.7.3.1): 56 data bytes 64 bytes from 10.7.3.1: icmp_seq=0 ttl=255 time=11.3 ms 64 bytes from 10.7.3.1: icmp_seq=1 ttl=255 time=4.0 ms 但如果-I 参数加上后 / $...
操作系统是FC5
我如果直接ping 10.7.3.1是成功的
/ $ ping 10.7.3.1
PING 10.7.3.1 (10.7.3.1): 56 data bytes
64 bytes from 10.7.3.1: icmp_seq=0 ttl=255 time=11.3 ms
64 bytes from 10.7.3.1: icmp_seq=1 ttl=255 time=4.0 ms
但如果-I 参数加上后
/ $ ping 10.7.3.1 -I 10.69.1.1
PING 10.7.3.1 (10.7.3.1) from 10.69.1.1: 56 data bytes
ping: sendto: No such process
其他参数如下:请问下这可能是什么原因
/ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:11:22:33:44
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1773 errors:49 dropped:0 overruns:0 frame:49
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:132047 (128.9 KiB) TX bytes:9916 (9.6 KiB)
Interrupt:21 Base address:0x4000
eth0:1 Link encap:Ethernet HWaddr 00:0A:11:22:33:44
inet addr:10.69.1.1 Bcast:10.69.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:21 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4368 (4.2 KiB) TX bytes:4368 (4.2 KiB)
/ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.7.3.0 192.168.1.212 255.255.255.128 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10.69.1.0 * 255.255.255.0 U 0 0 0 eth0
我如果直接ping 10.7.3.1是成功的
/ $ ping 10.7.3.1
PING 10.7.3.1 (10.7.3.1): 56 data bytes
64 bytes from 10.7.3.1: icmp_seq=0 ttl=255 time=11.3 ms
64 bytes from 10.7.3.1: icmp_seq=1 ttl=255 time=4.0 ms
但如果-I 参数加上后
/ $ ping 10.7.3.1 -I 10.69.1.1
PING 10.7.3.1 (10.7.3.1) from 10.69.1.1: 56 data bytes
ping: sendto: No such process
其他参数如下:请问下这可能是什么原因
/ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:11:22:33:44
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1773 errors:49 dropped:0 overruns:0 frame:49
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:132047 (128.9 KiB) TX bytes:9916 (9.6 KiB)
Interrupt:21 Base address:0x4000
eth0:1 Link encap:Ethernet HWaddr 00:0A:11:22:33:44
inet addr:10.69.1.1 Bcast:10.69.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:21 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4368 (4.2 KiB) TX bytes:4368 (4.2 KiB)
/ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.7.3.0 192.168.1.212 255.255.255.128 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10.69.1.0 * 255.255.255.0 U 0 0 0 eth0
|
你应该漏了参数 应该
ping 10.7.3.1 -I eth0 10.69.1.1
ping 10.7.3.1 -I eth0 10.69.1.1
|
不过这个出错信息是很奇葩。。。