First, you'll need to be able to compile the kernel so you need all of the
sources, compilers and so on loaded onto your box. If you didn't do this at
install time then you'll need to use rpm to get them (it's easier at install
time). There's a couple of "experiment" flags that need to be set in the
kernel so it's unlikely the kernel you're using will work. Give it a try
anyway.
There's a good web site that tells you all you nedto know about IP
Masquerading. It's http://members.home.net. Go to the
/ipmasq/ipmasq-HOWTO-1.79.html page and browse away. Section 3.3 tells you
what to set for compiling the kernel. Follow it exactly.
When setting the kernel options use "make xconfig" instead of "make config".
This brings up a GUI screen that makes it much easier to set the flags you
need (I learned this the hard way). It has help for just about every option
so you can understand what you're doing. At the end of the make process
instead of using "make" or "make zImage" I found I had to use "make bzImage"
to get a kernel small enough to load. There are plenty of HOWTOs for
building the kernel.
Use the same addresses that are used in the examples. They're not absolutely
necessary but will keep you from making a simple type-os and spending hours
trying to figure out what you did wrong. You can always change them later.
My problem is that I started with a "good" book which had one line in one of
the rc files wrong. It took two days to figure it out. When I did EVERYTHING
on this web site it worked perfectly.
This stuff's slicker than Willie. Lemme know how it works. I'm using it the
same way you'll be, with two network cards in the Linux box.
Regards,
Tom