
マシン A に ssh できませんNo route to host
。と表示されます。
マシン B に ssh でき、そこにログインするとマシン A に ssh できます。
どうしてこんなことが可能なのでしょうか?
(私のマシンとマシン A は Ubuntu を実行し、マシン B は Fedora を実行し、マシン A と B はデスクトップで、私のマシンは WiFi に接続されたラップトップです)。
出力route
私のマシン:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default buffalo.setup 0.0.0.0 UG 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
192.168.11.0 * 255.255.255.0 U 2 0 0 wlan0
マシンA
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.10.145.1 0.0.0.0 UG 0 0 0 eth0
10.10.145.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
マシンB:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.10.145.1 0.0.0.0 UG 0 0 0 p5p1
10.10.145.0 * 255.255.255.0 U 0 0 0 p5p1