Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-13-2010, 01:44 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Bind IP address with MAC address in squid 3 ( Source baced)

Dear all,


i have followed web site for MAC to IP bind but it dont work on my system plz check my squid file and comment plz
acl manager proto cache_object
acl localhost src
acl to_localhost dst
acl SSL_ports port 443
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl mac1 arp 00:1C:23:0B:70:8E
acl ip1 src

http_access allow ip1 mac1

http_access allow localnet
http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_mem 1024 MB
cache_dir ufs /var/spool/squid 10280 16 256
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
icp_port 3130
coredump_dir /var/spool/squid

Last edited by GrapefruiTgirl; 01-13-2010 at 01:52 AM. Reason: Added code tags
Old 01-13-2010, 01:54 AM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Can you tell folks what exactly doesn't work? Are there any error messages you can provide, or describe how you determined that it's not working? Have you checked the squid log files for anything relevant?
Old 01-13-2010, 10:52 PM   #3
LQ Newbie
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
dear GrapefruiTgirl

There is no error but the Mac and iP dont work at a time. if i change ip of client computer it works but i want to bind ip with mac if sone one change ip its pc dont access Net through proxy.
Old 01-14-2010, 01:25 AM   #4
Registered: Jul 2008
Posts: 57

Rep: Reputation: 15
Try ip-sentinel, it's work good.


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
binding of IP address to its mac address in squid proxy ramamalempati Linux - Server 5 06-05-2009 02:51 AM
Bind IP address using MAC shipon_97 Linux - Newbie 7 08-03-2008 01:45 PM
Bind Mac with Ip address shipon_97 Linux - Newbie 5 11-23-2007 12:14 AM
Bind ip with mac address sunlinux Linux - Networking 5 08-10-2007 01:23 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration