Re: Setting up routing to share a modem
A long time ago, in a galaxy far, far way, someone said...
> Hi,
>
> I'm looking to set up my debian box as a router to share the modem
> between itself and another machine which is dual-boot (debian/win98).
> Since I work at an ISP I can get a static IP for the second box as well
> as the first (when I dial up the radius server at my ISP recognizes my
> username and assigns the right IP). I would like to be able to share the
> modem when both computers are on, but have the dual-boot box able to
> dial up by itself also.
Fair enough.
> I know that to do this I have to recompile my kernel to enable IP
> forwarding, but beyond that I have no idea how to make this work. Do I
> need to turn on any other features in the kernel?
You also need to turn on IP masquerading, and possibly others if you're
using a 2.0 kernel.
> How do I configure the dual-boot box to enable it to recognize this
> route, but still be able to work through dialup?
Just configure the Linux system normally; you don't need to change
anything outside of IP masquerading. The Windows only machine needs to be
set so that the default route is the Linux box.
> And what do I need to ask the networking guy at my ISP to configure,
> routewise?
Nothing at all.
--
----------------------------------------------------------------------
Phil Brutsche pbrutsch@creighton.edu
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein
Reply to: