[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33818] Re: IPv4 ping



ごきげんよう、早間です。

山本さんのテストで ping が通らない環境が判らないのですが、
ifconfig で eth0 に割り当てられているアドレスはグローバルな
IP アドレスで私の所からも ping が通ります。

$ ping -c4 111.108.29.149
PING 111.108.29.149 (111.108.29.149) 56(84) bytes of data.
64 bytes from 111.108.29.149: icmp_seq=1 ttl=53 time=24.6 ms
64 bytes from 111.108.29.149: icmp_seq=2 ttl=53 time=20.8 ms
64 bytes from 111.108.29.149: icmp_seq=3 ttl=53 time=20.0 ms
64 bytes from 111.108.29.149: icmp_seq=4 ttl=53 time=19.6 ms

--- 111.108.29.149 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 19.573/21.241/24.647/2.011 ms

(1)このホストからどこのホストに ping が通らないのでしょうか
(2)他のホストからこのホストに ping が通らないのでしょうか
いずれにしても ping が通らないと言うホスト相互間の IP アドレスと
接続関連をチェックされた方が良いように感じられます。

-- 早間

> 小島さんありがとうございます。
> 
> > 
> > こじま@暑かったり寒かったりで着るものに困る,,です.
> >
> そうですね。風邪をひいてしまって体調悪いです。
> 皆様も息をつけください。
> 
> > From: "紅屋/山本 伸一" <beniya@xxxxxxxxxxxxxx>
> > Subject: [plamo:33811] IPv4 ping
> > Date: Wed, 10 Nov 2021 17:41:11 +0900
> > 
> > > ping localhost は通る
> > > ping v4 address or name では通らない
> > > ping v6 addres だと通る
> > > 
> > > 外部からの場合
> > > ping v4 address or name は通らない
> > > ping v6 address は通る
> > > 
> > > という具合で v6だけなら良さげですが、v4通らないと不便なのです。
> > 
> > これだけでは何とも言えないので,ifconfig や ip address, route 等の
> > 情報が欲しいですね.
> > 
> > # 印象的には routing がらみな気がする.
> > 
> #ifconfig
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet 111.108.29.149  netmask 255.255.255.240  broadcast 111.108.29.159
>         inet6 240b:251:2721:ab00:6d4:c4ff:fe05:c91c  prefixlen 64  scopeid 0x0<global>
>         inet6 fe80::6d4:c4ff:fe05:c91c  prefixlen 64  scopeid 0x20<link>
>         ether 04:d4:c4:05:c9:1c  txqueuelen 1000  (Ethernet)
>         RX packets 10803426  bytes 2470821518 (2.3 GiB)
>         RX errors 0  dropped 323  overruns 0  frame 0
>         TX packets 16148673  bytes 12937376751 (12.0 GiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>         device interrupt 16  memory 0xa1100000-a1120000
> 
> lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
>         inet 127.0.0.1  netmask 255.0.0.0
>         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>         loop  txqueuelen 1000  (Local Loopback)
>         RX packets 8762672  bytes 13643571587 (12.7 GiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 8762672  bytes 13643571587 (12.7 GiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> #ip addrss
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
>     link/ether 04:d4:c4:05:c9:1c brd ff:ff:ff:ff:ff:ff
>     inet 111.108.29.149/28 brd 111.108.29.159 scope global eth0
>        valid_lft forever preferred_lft forever
>     inet6 240b:251:2721:ab00:6d4:c4ff:fe05:c91c/64 scope global dynamic mngtmpaddr
>        valid_lft 14377sec preferred_lft 12577sec
>     inet6 fe80::6d4:c4ff:fe05:c91c/64 scope link
>        valid_lft forever preferred_lft forever
> 
> #route
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> default         rtx1210.sinfoni 0.0.0.0         UG    0      0        0 eth0
> 111.108.29.144  0.0.0.0         255.255.255.240 U     0      0        0 eth0
> 
> という具合です。
> 
> よろしくお願いいたします。
> 
> ------
> 山本 伸一
> 
> 


Follow-Ups
[plamo:33819] Re: IPv4 ping, "紅屋/山本 伸一"
References
[plamo:33811] IPv4 ping, "紅屋/山本 伸一"
[plamo:33812] Re: IPv4 ping, KOJIMA Mitsuhiro
[plamo:33814] Re: IPv4 ping, 山本 伸一

[検索ページ] [メール一覧]
Plamo ML 公開システム