Routing problem

Worik Stanton <[email protected]>
Newsgroups gmane.org.user-groups.linux.dunedin.general
Message-ID <[email protected]>
I am setting up my Raspberry Pi

I have it so I can connect it to my laptop with a loopback cable.

I gave the pi a static IP and my eth0 on my laptop a static IP 
(192.168.1.5 and 192.168.1.4 repectively).

I can ssh into my pi and back.

But from the pi I cannot reach other machines on my local network from 
the pi.

I have added a default root back through the laptop but I expect I have 
to do some routing magic

The pi's rooting table is...

pi@raspberrypi ~ $ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
default         192.168.1.4     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0

On my laptop...

worik@lemy:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth1
link-local      *               255.255.0.0     U     1000   0        0 eth1
192.168.1.0     *               255.255.255.0   U     2      0        0 eth1
192.168.1.5     *               255.255.255.255 UH    0      0        0 eth0

eth1 is wireless and eth0 is ethernet (loopback cable to pi).

I am a bit stumped at this point.

cheers
W



-- 
Overcoming poverty is not a task of charity, it is an act of justice

_______________________________________________
DunLUG mailing list
[email protected]
http://lists.ethernal.org/listinfo/dunlug
DunLUG Wiki - http://dunlug.kallisti.net.nz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.