お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2017-03-11 13:32:00

Ueda_Katuhiko
メンバ
登録日: 2013-04-20

自PCにpingが取らない

以下環境で利用してるのですが
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

$ iptables -L
modprobe: ERROR: could not insert 'ip_tables': Operation not permitted
iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
ueda@Server:~$ sudo iptables -L
[sudo] password for ueda:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

自PC(192.168.1.102)にpingが通りません どう切り分けるべきか
アドバイス頂ければ幸いです
$ ping 192.168.1.102

--- 192.168.1.102 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 4.252/4.313/4.515/0.092 ms
ueda@Server:~$ ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.


同じモバイルルータに継っているPCにはpingが通ります
(プライバシーセパレータは解除されています)
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=4.31 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=4.51 ms
64 bytes from 192.168.1.102: icmp_seq=4 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=5 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=6 ttl=64 time=4.25 ms
^

オフライン

 

#2 2017-03-11 17:04:15

Ueda_Katuhiko
メンバ
登録日: 2013-04-20

Re: 自PCにpingが取らない

Ueda_Katuhiko による投稿:

以下環境で利用してるのですが
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
同じモバイルルータに継っているPCにはpingが通ります
(プライバシーセパレータは解除されています)
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=4.31 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=4.51 ms
64 bytes from 192.168.1.102: icmp_seq=4 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=5 ttl=64 time=4.26 ms
64 bytes from 192.168.1.102: icmp_seq=6 ttl=64 time=4.25 ms
^

そのpingが通るPCは、自PCにpingが通ります

オフライン

 

#3 2017-03-11 18:22:26

ry
メンバ
登録日: 2008-07-30

Re: 自PCにpingが取らない

まずは ip -4 addr show コマンドを実行して、自身の IP アドレスについて勘違いしていないかを調べるところから。

オフライン

 

#4 2017-03-12 07:27:14

Ueda_Katuhiko
メンバ
登録日: 2013-04-20

Re: 自PCにpingが取らない

アドバイスありがとうございます

記載が漏れていて申し訳ありませんが、事前に/sbin/ifconfigを

実行して自PCのipアドレスは確認して、そのアドレスにpingを実行しています

オフライン

 

#5 2017-03-12 19:08:43

Ueda_Katuhiko
メンバ
登録日: 2013-04-20

Re: 自PCにpingが取らない

ry による投稿:

まずは ip -4 addr show コマンドを実行して、自身の IP アドレスについて勘違いしていないかを調べるところから。

/sbin/ifconfigで確認するのは ip -4 addr showに比べて不確実なのでしょうか??

オフライン

 

Board footer

Powered by FluxBB