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



On Jul 29, 6:56 pm, b_dutta <banibrata.du...@xxxxxxxxx> wrote:
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

Forgot to add that, I only have control over (i.e. admin-privileges)
for the machines on the Private LAN (10.0.2.x) and the "gatekeeper"
machine itself. I do not have any admin-privileges over the Firewall,
DHCP server etc., as this is in an inflexible corporate network.

thanks & regards,
bani
.



Relevant Pages

  • Re: Windows 2003 disabling/blocking public IP?
    ... private interface (LAN), no NAT, no basic firewall ... public interface (connected to the Internet through a Cable ... to DISABLE/ENABLE the Network connection on NIC 2 and this seemed to ...
    (microsoft.public.windows.server.networking)
  • Re: Help with Motorola SB5120
    ... If they work in the same office as you, and are on the same LAN that you're ... then talk to your network admin or your boss about what they're doing. ... see your modem's interface. ... If you haven't placed a router between it and your computers, ...
    (comp.dcom.modems.cable)
  • Re: start networking problem
    ... ifconfig eth0 inet up 192.168.0.222 \ ... In a Debian Sid box that I have on my lan, I have the driver listed in /etc/modules: ... #For Davicom Network card. ... # The loopback network interface ...
    (Debian-User)
  • Re: Multiple OS/2 PEERLAN help please
    ... Thus the thought was to use the Lan0 interface on DHCP to allow that looking at the NAT interface, in this case from a fixed IP address ADSL connection, but it could also be a cable connection. ... The Lan1 interface, on a fixed IP address, as are all the other machines on the LAN, are only expected to be able to look at the PEERLAN 'server' for discrete file sharing in fully working network files on that 'server', as well as handle file traffic to and from it for simple file transfer with it as needed. ... How to do this the simplest way between the dozen PEERLAN OS/2 boxes and the one box that is to be allowed to connect to the Internet is what I'm hopefully learning before a hundred mile trip that I don't want ending in disaster! ...
    (comp.os.os2.misc)
  • Re: [OT]two networks, one nic
    ... that had one interface with one assigned inet address ... be on another network. ... ifconfig lo1 alias 200.200.201.1/24 ... a public static address and a private network address. ...
    (freebsd-questions)