LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: Disabled
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
 
Old 08-30-2012, 07:58 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 344

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, 07:16 AM   #3
sandeepc04
Member
 
Registered: Jun 2012
Location: India
Posts: 66

Rep: Reputation: Disabled
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

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


Reply


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 04:33 PM
Network connections cut-out but pinging IP works: two lan cards+dhcp server+www Cyberman Linux - Networking 4 02-14-2010 10:30 PM
how can i set two lan cards in ubuntu server 8.10 machinakias Linux - Server 5 01-02-2009 10:18 PM
dhcp server with two network cards kashif2131971 Linux - Newbie 3 03-31-2008 08:41 AM
DHCP server on two LAN cards V.krishna kumar Linux - Networking 3 10-24-2002 01:57 PM


All times are GMT -5. The time now is 08:35 AM.

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