LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-01-2007, 10:11 AM   #1
mukeshrathod15
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Question How many NIC requier for Squid


Dear sir

Please tell me that how many NIC required for configure
squid server

I have Install redhat ES 4 and I want to configure squid proxy but I don,t know how to configure NIC
for Intranet and Internet.

thanks
Mukesh Rathod

thank you very much for reply but I am new in linux so,

I have install two NIC
1,eth0 internal network ip:192.168.1.5
2,eth1 connect to internet ip:192.168.1.179

but I am confused that what is gw for eth0 ?

is it 192.168.1.197 or else any ?

I have already configure Squid.conf

Last edited by mukeshrathod15; 02-01-2007 at 11:54 PM.
 
Old 02-01-2007, 04:41 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

It depends. In some cases 0: when you don't have NICs, but ppp interfaces or similar things. In the normal case, however, you need two: internal and external.

Please be more specific about the problem you have. What fails: NIC configuration (module, IP) or the squid configuration (you can't tell it which interface to use as internal or external)?
 
Old 02-01-2007, 11:59 PM   #3
mukeshrathod15
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Red face squid-networking

edite massage for squid
Quote:
Originally Posted by mukeshrathod15
Dear sir

Please tell me that how many NIC required for configure
squid server

I have Install redhat ES 4 and I want to configure squid proxy but I don,t know how to configure NIC
for Intranet and Internet.

thanks
Mukesh Rathod

thank you very much for reply but I am new in linux so,

I have install two NIC
1,eth0 internal network ip:192.168.1.5
2,eth1 connect to internet ip:192.168.1.179

but I am confused that what is gw for eth0 ?

is it 192.168.1.197 or else any ?

I have already configure Squid.conf
 
Old 02-03-2007, 04:07 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Your gateway is eth1 (for the servers), when clients should have 192.168.1.5. If you really have IPs in the same class, be very careful when defining netmasks, it may cause problems.
 
  


Reply

Tags
linux, networking


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
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
How vsftpd anon can r one directory other direcories requier authorization marisdembovskis Linux - Software 2 12-13-2006 01:32 AM
Configure 2 NIC in squid addipolli Linux - Networking 2 04-20-2006 08:45 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM


All times are GMT -5. The time now is 07:53 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