how to configure Gateway func between 2 ifaces, one with static IP, other with DHCP



Hi,

I have a private network on 10.0.2.x network on one hand (all linux
boxes running CentOS4.6) -- all of these hosts have a single LAN card,
barring 1, called "gatekeeper" which has 2. On "gatekeeper" one of the
interfaces has the IP=10.0.2.254 (gateway for all other hosts on the
private network), and the other interface is configured for DHCP.
Also, I've setup DynDNS on this machine s.t. I could reach this
machine over the Dynamic IP from anywhere. The interface with DHCP IP,
allows it to connect to the Internet via a firewall (& http proxy
etc.). I also have a network which is also assigned a dynamic IP via
DHCP, which can connect to the internet, and also to "gatekeeper". I'd
like to know, how I could configure "gatekeeper" to act as a Gateway
for the 10.0.2.x private LAN machines, s.t. they can also be reached
from the internet (via a middle-hope on "gatekeeper") and vice-versa ?

The intended topology is available in this image-link here (http://
c.imagehost.org/0781/topo.gif)

thanks & regards,
bani
.



Relevant Pages

  • Re: Kernel-PPP and PF Questions
    ... > In other words you are speaking of your network as a private network ... > natted to one public IP managed by the router. ... no PPPoE on any of the hosts. ... Once I get the domain working the hosts will run 24/7 anyway to accept ...
    (comp.unix.bsd.freebsd.misc)
  • Re: NAT external/Public IP
    ... than private addresses. ... using public addresses for hosts in your LAN does ... While a firewall will allow _return_ traffic across a PAT'ed ... new connections inbound to the private network host are ...
    (Security-Basics)
  • static ARP
    ... BSD router that serves a private network. ... Is it possible to disable ARP on that interface and make static ARP ...
    (freebsd-isp)
  • Re: [fw-wiz] Odd Cisco ASA question. . .
    ... back out through the same interface? ... Glass ... with new Cisco ASA 5500's. ... It doesn't help that we're on an entirely private network, ...
    (Firewall-Wizards)
  • Re: Zones/Containers and routing
    ... > Of course my question is why would you want to use a private network ... > space if you want to communicate with other hosts? ... which are running in a non-global zone, ...
    (comp.unix.solaris)