How to run DHCP (for internal) with static IP (external) with single IP?

Discussion in 'Installation/Configuration' started by zenny, Dec 6, 2007.

  1. zenny

    zenny Member

    How to run DHCP (for internal) with static IP (external) with single NIC?

    I could not figure out how to configure a DHCP for internal network to work together with a single static public IP for the external network.

    To make clear, I have a centos server with a single NIC. I would like to use the same server (web and others) with static public IP (xxx.yyy.zzz.aaa) while using the DHCP server of the same machine to broadcast local dynamic IPs for the local network in the range of like 192.168.1.2 to 192.168.1.253.

    Also I am not sure is that secure to use like that the way SME-server has both DHCP and gateway configured?

    Thanks
     
    Last edited: Dec 6, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    You need two network interfaces for what you want to achieve. Your CentOS system must act as a router.
     

Share This Page