LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   squid for two subnets (https://www.linuxquestions.org/questions/linux-newbie-8/squid-for-two-subnets-533602/)

timdog28 03-01-2007 09:44 AM

squid for two subnets
 
i have asquid running OK for one subnet, I added a 3rd NIC on the machine with intention of having a second subnet run on the same squid. i included the subnet range on the script(just added a line)..... then restarted squid....but i still csnnot get any comp on the second subnet connect to the internet...the first subnet still runs OK....

abakali 03-02-2007 06:32 AM

Quote:

Originally Posted by timdog28
i have asquid running OK for one subnet, I added a 3rd NIC on the machine with intention of having a second subnet run on the same squid. i included the subnet range on the script(just added a line)..... then restarted squid....but i still csnnot get any comp on the second subnet connect to the internet...the first subnet still runs OK....


please check your subnet id

http://www.subnet-calculator.com/

timdog28 03-05-2007 09:03 AM

where do i get to see the subnet id?
..."acl SUBNET1 SRC 192.168.0.1-192.168.0.254/255.255.255.0
acl SUBNET2 SRC 192.168.1.1-192.168.1.254/255.255.255.0"

this are the 2 lines on the squid script that shows the two subnets..it used to work fine when i used only the first line

I can ping to both NICs.


All times are GMT -5. The time now is 02:25 PM.