<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Bind MAC with IP in SQUID</title>
	<atom:link href="http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/</link>
	<description>Sohail Riaz, Linux and Open Source Blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:26:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kashif</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2282</link>
		<dc:creator>Kashif</dc:creator>
		<pubDate>Mon, 23 Jan 2012 12:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2282</guid>
		<description>Perfect automation Mr. Sohail. Keep up the good work. May Allah Bless You.</description>
		<content:encoded><![CDATA[<p>Perfect automation Mr. Sohail. Keep up the good work. May Allah Bless You.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Amir</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2261</link>
		<dc:creator>Muhammad Amir</dc:creator>
		<pubDate>Sat, 14 Jan 2012 11:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2261</guid>
		<description>Yes you are right , we have two subnets they are connected through L3 switch. 22 and 21 subntes we are using means /22 is server subnet and /21 is our clients subnet. is there is any possibility that we can achive the results without touching L3 router. 

As L3 have only echo ping is allowed.... 

regard
MAJ</description>
		<content:encoded><![CDATA[<p>Yes you are right , we have two subnets they are connected through L3 switch. 22 and 21 subntes we are using means /22 is server subnet and /21 is our clients subnet. is there is any possibility that we can achive the results without touching L3 router. </p>
<p>As L3 have only echo ping is allowed&#8230;. </p>
<p>regard<br />
MAJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sohail Riaz</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2260</link>
		<dc:creator>Sohail Riaz</dc:creator>
		<pubDate>Sat, 14 Jan 2012 11:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2260</guid>
		<description>@Amir: Now there is a question regarding 2 subnet. If your both subnets are differentiated using router means there is a router between your both routers then MAC address will change when it going from one subnet to another as MAC address always comes in play when host to host connection is seeing.
or if your subnets are not differentiated using router then you need to provide more details regarding your network.

-------
Regards,</description>
		<content:encoded><![CDATA[<p>@Amir: Now there is a question regarding 2 subnet. If your both subnets are differentiated using router means there is a router between your both routers then MAC address will change when it going from one subnet to another as MAC address always comes in play when host to host connection is seeing.<br />
or if your subnets are not differentiated using router then you need to provide more details regarding your network.</p>
<p>&#8212;&#8212;-<br />
Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Amir</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2259</link>
		<dc:creator>Muhammad Amir</dc:creator>
		<pubDate>Sat, 14 Jan 2012 11:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2259</guid>
		<description>Sorry riaz

Its working fine actually my network have 2 subnet one for servers and othe for clients and my poxy is on servers subnet , now i am able to filter mac address on server subnet but not on clients subnet machines.


Is there is any solutions regarding different subnet mac address filtering. Plz let me know 

Many thnx for replying.

JazakALLAH</description>
		<content:encoded><![CDATA[<p>Sorry riaz</p>
<p>Its working fine actually my network have 2 subnet one for servers and othe for clients and my poxy is on servers subnet , now i am able to filter mac address on server subnet but not on clients subnet machines.</p>
<p>Is there is any solutions regarding different subnet mac address filtering. Plz let me know </p>
<p>Many thnx for replying.</p>
<p>JazakALLAH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sohail Riaz</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2258</link>
		<dc:creator>Sohail Riaz</dc:creator>
		<pubDate>Sat, 14 Jan 2012 09:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2258</guid>
		<description>@Amir: Not working is very small two words. Give us more detail on it. 
1) Whats not working a) all PC&#039;s are getting access b) all PC&#039;s are getting denied?
2) Whats your access.log file says when you access any website using the allow PC etc.
3) It might not make any sense but can you change your MAC address from small alpha to capital alpha like this.
acl mymac arp 70:71:BC:AD:92:25
and test it again.

-------------
Regards,</description>
		<content:encoded><![CDATA[<p>@Amir: Not working is very small two words. Give us more detail on it.<br />
1) Whats not working a) all PC&#8217;s are getting access b) all PC&#8217;s are getting denied?<br />
2) Whats your access.log file says when you access any website using the allow PC etc.<br />
3) It might not make any sense but can you change your MAC address from small alpha to capital alpha like this.<br />
acl mymac arp 70:71:BC:AD:92:25<br />
and test it again.</p>
<p>&#8212;&#8212;&#8212;&#8212;-<br />
Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Amir</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2257</link>
		<dc:creator>Muhammad Amir</dc:creator>
		<pubDate>Sat, 14 Jan 2012 09:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2257</guid>
		<description>I am binding my mac with IP but its not working bellow are my configuration of squid.conf on RHEL 5

http_port 10.132.0.162:8080

cache_dir ufs /cache 10240 16 256

visible_hostname srv-proxy1

cache_access_log /var/log/access.log

acl all src 0.0.0.0/0.0.0.0

acl mymac arp 	70:71:bc:ad:92:25 
acl myip   src 10.132.0.10

http_access allow mymac myip
http_access deny all
-------------------
Squid version
 2.6.STABLE21


plz helpme out</description>
		<content:encoded><![CDATA[<p>I am binding my mac with IP but its not working bellow are my configuration of squid.conf on RHEL 5</p>
<p>http_port 10.132.0.162:8080</p>
<p>cache_dir ufs /cache 10240 16 256</p>
<p>visible_hostname srv-proxy1</p>
<p>cache_access_log /var/log/access.log</p>
<p>acl all src 0.0.0.0/0.0.0.0</p>
<p>acl mymac arp 	70:71:bc:ad:92:25<br />
acl myip   src 10.132.0.10</p>
<p>http_access allow mymac myip<br />
http_access deny all<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Squid version<br />
 2.6.STABLE21</p>
<p>plz helpme out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alam</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2151</link>
		<dc:creator>Alam</dc:creator>
		<pubDate>Sun, 20 Nov 2011 07:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2151</guid>
		<description>Copy the script into notepad or gedit text editor and then run it on command prompt. it should be all okey :-)</description>
		<content:encoded><![CDATA[<p>Copy the script into notepad or gedit text editor and then run it on command prompt. it should be all okey <img src='http://www.sohailriaz.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: red</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2150</link>
		<dc:creator>red</dc:creator>
		<pubDate>Sun, 20 Nov 2011 05:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2150</guid>
		<description>Hy and thanks for helping people :)

I&#039;m trying to use your script without success. After running the first script line to get the ip-mac.txt, i got the following:

awk: ‘{print
awk: ^ invalid char &#039;�&#039; in expression
PING 192.168.0.83 (192.168.0.83) 56(84) bytes of data.

--- 192.168.0.83 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

So what could be the error, since i just copied your script line and past it !!

Thanks a lot for helping :)

red</description>
		<content:encoded><![CDATA[<p>Hy and thanks for helping people <img src='http://www.sohailriaz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m trying to use your script without success. After running the first script line to get the ip-mac.txt, i got the following:</p>
<p>awk: ‘{print<br />
awk: ^ invalid char &#8216;�&#8217; in expression<br />
PING 192.168.0.83 (192.168.0.83) 56(84) bytes of data.</p>
<p>&#8212; 192.168.0.83 ping statistics &#8212;<br />
1 packets transmitted, 0 received, 100% packet loss, time 0ms</p>
<p>So what could be the error, since i just copied your script line and past it !!</p>
<p>Thanks a lot for helping <img src='http://www.sohailriaz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>red</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alam</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2052</link>
		<dc:creator>Alam</dc:creator>
		<pubDate>Mon, 26 Sep 2011 07:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2052</guid>
		<description>a small piece of script is written above, and this is one time effort which you have to do that.</description>
		<content:encoded><![CDATA[<p>a small piece of script is written above, and this is one time effort which you have to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phoenix</title>
		<link>http://www.sohailriaz.com/how-to-bind-mac-with-ip-in-squid/comment-page-2/#comment-2051</link>
		<dc:creator>phoenix</dc:creator>
		<pubDate>Mon, 26 Sep 2011 07:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=103#comment-2051</guid>
		<description>Thanks Sohail Riaz ,I want to know if it&#039;s possible to create an external acl function for acl-final.txt because I&#039;m almost managed 150 clients computer and is too long to copy any address in the squid.conf</description>
		<content:encoded><![CDATA[<p>Thanks Sohail Riaz ,I want to know if it&#8217;s possible to create an external acl function for acl-final.txt because I&#8217;m almost managed 150 clients computer and is too long to copy any address in the squid.conf</p>
]]></content:encoded>
	</item>
</channel>
</rss>

