SSH between computers on LAN
Nils Kassube
kassube at gmx.net
Sat Jan 24 17:58:41 UTC 2009
Karl F. Larsen wrote:
> karl at karl-hardy:~$ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.2.0 192.168.0.3 255.255.255.0 UG 0 0 0 eth0
> 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
> link-local * 255.255.0.0 U 1000 0 0 eth0
> default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
>
> This does not work. And I worry about routes 1, which I wrote, route 2
> conflicting since they have the same Genmask.
No, the Genmask entry is OK for all routes. You can read about it here:
<http://en.wikipedia.org/wiki/Netmask>
> Now when I try to ping the laptop 192.168.2.5 I get:
>
> karl at karl-hardy:~$ ping 192.168.2.5
> PING 192.168.2.5 (192.168.2.5) 56(84) bytes of data.
> From 192.168.0.4 icmp_seq=1 Destination Host Unreachable
>
> This makes me think it is trying to use the new route but it is not
> working.
I suppose the Belkin is using NAT, something I didn't think about
previously. Then you would have to set up a rule in the Belkin config
which opens port 22 (SSH) or whatever port you want to use. It should
then send data on that port to your laptop.
BTW: Can you ping from the laptop to the desktop?
Nils
More information about the ubuntu-users
mailing list