SSH between computers on LAN
Karl F. Larsen
klarsen1 at gmail.com
Sat Jan 24 18:57:12 UTC 2009
Nils Kassube wrote:
> 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.
I know the old DVD-Router has NAT but not sure about the Belkin.
> 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.
>
OK. I will see if I can just turn clear off NAT. It's not needed anyway.
> BTW: Can you ping from the laptop to the desktop?
>
Yes that works but is not perfect. It seems to miss one or a a minute.
>
> Nils
>
>
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list