LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Config DHCP and Squid on one server whhich have two lan cards (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-config-dhcp-and-squid-on-one-server-whhich-have-two-lan-cards-4175424683/)

akshayhomkar 08-29-2012 10:40 PM

How to Config DHCP and Squid on one server whhich have two lan cards
 
Hello

I have server which have two lan cards, the problem is that when i am going to configure dhcp it starts it serves ip address but not gives or share internet,also i want to use squid server on same server

i am configuring eth0 for dhcp having gateway of eth1
and eth1 is connnected to internet

KinnowGrower 08-30-2012 06:58 PM

It seems you are trying to run DHCP server and squid on a GNU/Linux 'router'. If you want DHCP server to share/serve internet to the machines connected behind it. You have to configure the machine as router (NAT). It wont automatically starts sharing internet.

sandeepc04 08-31-2012 06:16 AM

Hello akshayhomkar,


Click on below link

FOR DHCP

http://ccsandeep.blogspot.in/2011/10...on-rhel-5.html

FOR SQUID

http://ccsandeep.blogspot.in/2011/08...-on-rhel5.html


Regards,
Sandeep CC


All times are GMT -5. The time now is 08:53 PM.