SSH between computers on LAN

Geff Lampshire glampshir at verizon.net
Sun Jan 25 17:04:48 UTC 2009


Haven't been paying real close attention to this - but suggest you stop 
putting "0" in the third octet - you may be running afoul of an 
inability of one (or both) of your routers to handle the 
classful/classless and zero address issues.  You did set "classless" 
right?  And enable zero address?

Unless you really need that "0" in the third octet , use something else.

--Geff

Karl F. Larsen wrote:
> 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
>>
>>   
>>     
>
>
>   




More information about the ubuntu-users mailing list