SSH between computers on LAN

Karl F. Larsen klarsen1 at
Sat Jan 24 17:16:31 UTC 2009

Nils Kassube wrote:
> Karl F. Larsen wrote:
>>     I did look at route and it says a route defined by ifconfig ... but
>> later shows examples of route add things. I have not figured out where
>> to put the new route definition, or, what it looks like :-)
> It could be something like this for your desktop (untested):
> sudo route add -net netmask gw eth0
> sudo route add -net netmask gw eth0
> where would be the address of your Belkin router on the DSL 
> router side. However, I'm not sure if my understanding of your network is 
> correct - please check the route man page.
> Nils
    Hi Nils, well your guess is a big help to me! I did one set of route 
add and had to use route del to destroy them. But now I again know how 
to do this. What my routes look like with just one added route by is:

karl at karl-hardy:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface   UG    0      0        0 eth0     *        U     0      0        0 eth0
link-local      *          U     1000   0        0 eth0
default         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.

    Now when I try to ping the laptop I get:

karl at karl-hardy:~$ ping
PING ( 56(84) bytes of data.
 From icmp_seq=1 Destination Host Unreachable
 From icmp_seq=2 Destination Host Unreachable
 From icmp_seq=3 Destination Host Unreachable
 From 192

This makes me think it is trying to use the new route but it is not working.

    I really can't see anything wrong. Do you? By the way the Gateway 
really is



	Karl F. Larsen, AKA K5DI
	Linux User
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7

More information about the ubuntu-users mailing list