Re: Sharing the internet connection with XP
On 7/26/05, Björn Johansson <email@example.com> wrote:
> I can't afford to buy a router right now, so that's out of the question.
> I have made progress! Now I can transfer files
> through ftp from the pc to mac at the
> same time as the pc has access to the internet.
> To make the mac share the internet through the pc, to make that work, people
> have told me that I should use the pc as a gateway. So perhaps I need to
> create an static ip for gateway on the pc and then I tell the mac to use that
> gateway address in the network.
What IP does the network card in the PC have now?
>From your previous mail I see that the Mac is on 192.168.0.246 with
netmask 255.255.255.0. Since you can already "talk" to the PC, that
means the PC's card is on 192.168.0.???. That is the IP you want to
set as the gateway on your Mac! To test this, use "route":
route add default gw 192.168.0.??? dev eth0
Now you should be able to reach the Internet... try:
which is www.debian.org.
If it doesn't work, check the connection sharing options in Windows XP.
Once this basic connection works, you can set it all up proper in