[TriLUG] Dorm Networking

Andrew Perrin clists at perrin.socsci.unc.edu
Mon Jun 30 11:48:30 EDT 2003


Stupid question, but is his machine set to use 192.168.0.10 as the
gateway?

ap

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu


On Mon, 30 Jun 2003, Jeff Tickle wrote:

> Howdy everyone!
>
> My roommate and I here at Governor's School East have but one phone line
> to share for the Internet connection.  My computer remains hooked up,
> and I let him use it to check email and stuff.  But I'd like to get him
> networked to where he can access the Internet from his computer.
>
> We're connected by a crossover cable.  I'm running Linux, he has WinXP
> (although I've almost got him convinced to make the switch.)  Our
> computers are talking and on friendly terms... we play Unreal Tournament
> a lot in the free times of the day.  But for some reason, I just can't
> forward him the internet connection.  Here's what I've tried:
>
> (My computer, running Linux, connected to the internet over ppp0 is at
> 192.168.0.10.  His computer, running WinXP and soon Linux, is at
> 192.168.0.11.)
>
> # iptables -t nat -A POSTROUTING -s 192.168.0.11 -j MASQUERADE
> # iptables -A FORWARD -s 192.168.0.11 -j ACCEPT
> # iptables -A FORWARD -d 192.168.0.11 -j ACCEPT
> # echo 1 > /proc/sys/net/ipv4/ip_forward
>
> Note...  I really don't know much about iptables, but I use this basic
> snippet to forward my iPAQ's packets, and figured it would work with our
> situation here.
>
> The problem, however, is that he still can't ping outside the network.
> Tried IP addresses so it's not just a problem with name resolution or
> anything.  Any ideas?
>
> Thanks in advance!
>
> -Jeff
>
> --
> ___________________________
> Jeff Tickle
> http://www.jtsoft.net
> aim:JohnViper3695
> email:jtickle at jtsoft.net
>
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/faq/TriLUG-faq.html
>



More information about the TriLUG mailing list