I am urgently in need of your help. I am running a linux server with
registered IP address (202.141.133.30). I want to connect my local lan
(which has 200+ nodes and the nodes are assigned private class C IP
addresess - 192.168.1.0 to 192.168.1.254). I want to connect the nodes
connected on the local lan with private IP addresses to access the
internet. I believe IP masquerading on linux box does that. I have done
the following:
I have enabled the IP masquerading feature on my kernel. (I am running
RedHat 5.1 with 2.0.35 kernel) with other related features like ip
forwarding etc.
>From the IP Masquerade - DOCS, i found that the linux box connected on the
internet should be assigned one of the private IP addresses (192.168.1.1)
and make that as a gateway for the local network.
My question is the linux box already has a registered IP address for
connecting the internet (202.141.133.30). How will i give one more
private ip address to the same linux box so that i can make it as a
gateway for my local lan.
I hope i expressed my problems. But, if there is any ambiguity, please do
email me and help me out in this problems.
Thank you in advance.
M. Paul Pandian
IIM, Indore, India