topguy wrote:Have you enabled bridging or ICS (Internet Connections Sharing) on the PC ? Its the PC's job to route traffic to your ISP-Router. Remember also that the PC is the gateway for the PI.
So from your information I would have the following in /etc/network/interfaces.
Code: Select all
address 192.168.2.77
netmask 255.255.255.0
gateway 192.168.2.45
That's what I have in /etc/network/interfaces, however I'm still only able to ping the PC the PI is connected to. I can't ping IP's outside of my network.
RaTTuS wrote:you can use a crossover or normal cable - both will work
if you want to do it via ICS then you will need a different network for the ICS end than the normal end
i.e. PC -> router use 192.168.2.x [subnet 255.255.255.0]
PC -> RPI 192.168.1.x [subnet 255.255.255.0 ]
you cannot have the PC -> router and PC - RPi on the same network.
or plug the RPI into the router as well as the PC [or use a network Switch there]
Same deal. I can SSH into the PI, but can't ping external IP's.
Not sure if it helps, but I'm unable to ping anything in my network other than the PC with ICS. This goes for both suggestions.