Re: Routing problem
Keith Duthie <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <CAFPheEMBFsO93Q7YojMP0aW6+qYHX1wP0m9M0HbEPCsNkEas+w@mail.gmail.com> |
Is your laptop running as an access point, or have you added a static route on the access point to the pi through the laptop? It doesn't matter if the pi can send packets to machines on the network if they don't know how to send packets back. -- Sent from my phone. On Feb 26, 2013 8:07 PM, "Worik Stanton" <[email protected]> wrote: > 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<http://lists.ethernal.org/listinfo/dunlug> > DunLUG Wiki - http://dunlug.kallisti.net.nz/ > _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/