これで 終わった事情では 有りませんが 取り敢えず ping 試験をします 最 低限 各々の 疎通が 計られている事を 確認します。これを 前提に 試験をする
^^ISP--internet--adsl modem:192.168.0.1----|*** ***|-------PC1;eth0:192.168.0.5 .. eth1:192.168.2.1-------PC2:192.168.2.8 |------ wc:192.168.0.6 |------ mc:192.168.0.7
192.168.0.5 関連
$ ping -c3 192.168.0.5 PING 192.168.0.5 (192.168.0.5): 56 octets data 64 octets from 192.168.0.5: icmp_seq=0 ttl=64 time=0.1 ms 64 octets from 192.168.0.5: icmp_seq=1 ttl=64 time=0.0 ms 64 octets from 192.168.0.5: icmp_seq=2 ttl=64 time=0.0 ms --- 192.168.0.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.1 ms $ ping -c3 192.168.2.1 PING 192.168.2.1 (192.168.2.1): 56 octets data 64 octets from 192.168.2.1: icmp_seq=0 ttl=64 time=0.1 ms 64 octets from 192.168.2.1: icmp_seq=1 ttl=64 time=0.0 ms 64 octets from 192.168.2.1: icmp_seq=2 ttl=64 time=0.0 ms --- 192.168.2.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.1 ms $ ping -c3 192.168.2.8 PING 192.168.2.8 (192.168.2.8): 56 octets data 64 octets from 192.168.2.8: icmp_seq=0 ttl=64 time=0.2 ms 64 octets from 192.168.2.8: icmp_seq=1 ttl=64 time=0.1 ms 64 octets from 192.168.2.8: icmp_seq=2 ttl=64 time=0.1 ms --- 192.168.2.8 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.1/0.2 ms $ ping -c3 192.168.0.1 PING 192.168.0.1 (192.168.0.1): 56 octets data 64 octets from 192.168.0.1: icmp_seq=0 ttl=255 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=1 ttl=255 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=2 ttl=255 time=0.7 ms --- 192.168.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.7/0.7/0.7 ms $ ping -c3 999.888.777.666 PING 999.888.777.666 (999.888.777.666): 56 octets data 64 octets from 999.888.777.666: icmp_seq=0 ttl=247 time=53.7 ms 64 octets from 999.888.777.666: icmp_seq=1 ttl=247 time=52.7 ms 64 octets from 999.888.777.666: icmp_seq=2 ttl=247 time=53.9 ms --- 999.888.777.666 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 52.7/53.4/53.9 ms $ ping -c3 nyanta.no-ip.info PING nyanta.no-ip.info (192.168.2.8): 56 octets data 64 octets from 192.168.2.8: icmp_seq=0 ttl=64 time=0.2 ms 64 octets from 192.168.2.8: icmp_seq=1 ttl=64 time=0.1 ms 64 octets from 192.168.2.8: icmp_seq=2 ttl=64 time=0.1 ms --- nyanta.no-ip.info ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.1/0.2 ms $ ping -c3 adsl.bcnet.ne.jp PING adsl.bcnet.ne.jp (192.168.0.1): 56 octets data 64 octets from 192.168.0.1: icmp_seq=0 ttl=255 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=1 ttl=255 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=2 ttl=255 time=0.7 ms --- adsl.bcnet.ne.jp ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.7/0.7/0.7 ms $ ping -c3 lx.bcnet.ne.jp PING lx.bcnet.ne.jp (192.168.0.5): 56 octets data 64 octets from 192.168.0.5: icmp_seq=0 ttl=64 time=0.0 ms 64 octets from 192.168.0.5: icmp_seq=1 ttl=64 time=0.0 ms 64 octets from 192.168.0.5: icmp_seq=2 ttl=64 time=0.0 ms --- lx.bcnet.ne.jp ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms
192.168.2.8 関連
$ ssh -l mm 192.168.2.8 Password: $ ping -c3 192.168.0.5 PING 192.168.0.5 (192.168.0.5): 56 octets data 64 octets from 192.168.0.5: icmp_seq=0 ttl=64 time=0.4 ms 64 octets from 192.168.0.5: icmp_seq=1 ttl=64 time=0.1 ms 64 octets from 192.168.0.5: icmp_seq=2 ttl=64 time=0.1 ms --- 192.168.0.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.2/0.4 ms $ ping -c3 192.168.0.1 PING 192.168.0.1 (192.168.0.1): 56 octets data 64 octets from 192.168.0.1: icmp_seq=0 ttl=254 time=0.8 ms 64 octets from 192.168.0.1: icmp_seq=1 ttl=254 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=2 ttl=254 time=0.7 ms --- 192.168.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.7/0.7/0.8 ms $ ping -c3 777.555.666.333 PING 777.555.666.333 (777.555.666.333): 56 octets data 64 octets from 777.555.666.333: icmp_seq=0 ttl=246 time=53.0 ms 64 octets from 777.555.666.333: icmp_seq=1 ttl=246 time=54.2 ms 64 octets from 777.555.666.333: icmp_seq=2 ttl=246 time=53.5 ms --- 777.555.666.333 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 53.0/53.5/54.2 ms $ ping -c3 nyanta.no-ip.info PING nyanta.no-ip.info (192.168.2.8): 56 octets data 64 octets from 192.168.2.8: icmp_seq=0 ttl=64 time=0.1 ms 64 octets from 192.168.2.8: icmp_seq=1 ttl=64 time=0.0 ms 64 octets from 192.168.2.8: icmp_seq=2 ttl=64 time=0.0 ms --- nyanta.no-ip.info ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.1 ms $ ping -c3 www.bcnet.ne.jp PING lx.bcnet.ne.jp (192.168.0.5): 56 octets data 64 octets from 192.168.0.5: icmp_seq=0 ttl=64 time=0.3 ms 64 octets from 192.168.0.5: icmp_seq=1 ttl=64 time=0.1 ms 64 octets from 192.168.0.5: icmp_seq=2 ttl=64 time=0.1 ms --- lx.bcnet.ne.jp ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.1/0.3 ms $ ping -c3 lx.bcnet.ne.jp PING lx.bcnet.ne.jp (192.168.0.5): 56 octets data 64 octets from 192.168.0.5: icmp_seq=0 ttl=64 time=0.4 ms 64 octets from 192.168.0.5: icmp_seq=1 ttl=64 time=0.1 ms 64 octets from 192.168.0.5: icmp_seq=2 ttl=64 time=0.1 ms --- lx.bcnet.ne.jp ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.2/0.4 ms $ ping -c3 adsl.bcnet.ne.jp PING adsl.bcnet.ne.jp (192.168.0.1): 56 octets data 64 octets from 192.168.0.1: icmp_seq=0 ttl=254 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=1 ttl=254 time=0.7 ms 64 octets from 192.168.0.1: icmp_seq=2 ttl=254 time=0.7 ms --- adsl.bcnet.ne.jp ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.7/0.7/0.7 ms
192.168.0.1 関連
ブラウザにて ”http://192.168.0.1”を 入力 そうして ”管理”を 選択 ”PING 試験”を 選択すると
これは 192.168.0.5 を 入力した例ですが そうして 送信を クリックすると
メッセージ PING 192.168.0.5 (192.168.0.5): 56 data bytes 64 bytes from 192.168.0.5: icmp_seq=0 ttl=64 time<10 ms 64 bytes from 192.168.0.5: icmp_seq=1 ttl=64 time<10 ms 64 bytes from 192.168.0.5: icmp_seq=2 ttl=64 time<10 ms --- 192.168.0.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0/0/0 ms
同様にして 192.168.2.1 に対して 試験をする。
メッセージ PING 192.168.2.1 (192.168.2.1): 56 data bytes 64 bytes from 192.168.2.1: icmp_seq=0 ttl=64 time<10 ms 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time<10 ms 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time<10 ms --- 192.168.2.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0/0/0 ms
同様にして 192.168.2.8 に対して 試験をする。
メッセージ PING 192.168.2.8 (192.168.2.8): 56 data bytes 64 bytes from 192.168.2.8: icmp_seq=0 ttl=63 time<10 ms 64 bytes from 192.168.2.8: icmp_seq=1 ttl=63 time<10 ms 64 bytes from 192.168.2.8: icmp_seq=2 ttl=63 time<10 ms --- 192.168.2.8 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0/0/0 ms
adsl modem の場合 は IP address のみの 試験が 可能で有るので 一応 local network の 関連は 完了 してると 考えられます。さて この状態で はた して 外部から web の 提供が 出来ているかですが このままでは 不味いのが にゃんたろうにも 想像が 出来ます。
そうです ”ポートマッピング設定一覧” において
インターフェース プロトコル ポート番号 IP アドレス MAC アドレス poa0 TCP 80 〜 80 192.168.0.8 指定しない poa0 TCP 25 〜 25 192.168.0.8 指定しない
これを 変更せなば なんねいということです。
にゃんたろう 拝!
2005年11月19日 (土) 21:55:23 JST 作成
✈