Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-29-2012, 10:40 PM   #1
LQ Newbie
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
How to Config DHCP and Squid on one server whhich have two lan cards


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
Old 08-30-2012, 06:58 PM   #2
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
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.
1 members found this post helpful.
Old 08-31-2012, 06:16 AM   #3
Registered: Jun 2012
Location: India
Posts: 66

Rep: Reputation: Disabled
Hello akshayhomkar,

Click on below link



Sandeep CC

Last edited by sandeepc04; 08-31-2012 at 07:11 AM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
server with 2 lan cards. Gil@LQ Linux - Networking 2 07-09-2012 03:33 PM
Network connections cut-out but pinging IP works: two lan cards+dhcp server+www Cyberman Linux - Networking 4 02-14-2010 09:30 PM
how can i set two lan cards in ubuntu server 8.10 machinakias Linux - Server 5 01-02-2009 09:18 PM
dhcp server with two network cards kashif2131971 Linux - Newbie 3 03-31-2008 07:41 AM
DHCP server on two LAN cards V.krishna kumar Linux - Networking 3 10-24-2002 12:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration