Unsolved
This post is more than 5 years old
3 Posts
0
50299
July 19th, 2005 16:00
3348: ACL to block DHCP
I have a 3348 with my router(10.0.0.0/22) on port 1. My customers connect on the other ports using PCs/Routers. Once in a while I will have a customer plugging their router the wrong way, ie connect the LAN(192.168.0.0/24) of their router into my switch. This results in all our customers gettting the 192.168 network address.
Is their a way I can use ACL to block DHCP offerings to come from any port other than port 1.
I guess it can be done using port 67 & 68 but what I tried hasnt worked.
Heres what I tried,
ACE 1. udp - src port 67, dest prt 68 - src ip 10.0.0.1 src mask 0.0.0.0, dst ip 0.0.0.0
dst mask 255.255.255.255 - PERMIT
ACE 2. udp - src port 67, dest prt 68 - src ip 0.0.0.0 src mask 255.255.255.255,
dst ip 0.0.0.0 dst mask 255.255.255.255 - DENY
ACE 3. any,any -PERMIT
I applied this to port 3 where I plugged in my laptop. It prevented me from getting an IP address at all.
Is their a way I can use ACL to block DHCP offerings to come from any port other than port 1.
I guess it can be done using port 67 & 68 but what I tried hasnt worked.
Heres what I tried,
ACE 1. udp - src port 67, dest prt 68 - src ip 10.0.0.1 src mask 0.0.0.0, dst ip 0.0.0.0
dst mask 255.255.255.255 - PERMIT
ACE 2. udp - src port 67, dest prt 68 - src ip 0.0.0.0 src mask 255.255.255.255,
dst ip 0.0.0.0 dst mask 255.255.255.255 - DENY
ACE 3. any,any -PERMIT
I applied this to port 3 where I plugged in my laptop. It prevented me from getting an IP address at all.
No Events found!


DELL-Randy
132 Posts
0
July 21st, 2005 14:00
Message Edited by DELL-Randy on 07-21-2005 10:50 AM
pgonza2723
2 Posts
0
October 19th, 2005 15:00
DELL-Randy
132 Posts
0
October 19th, 2005 16:00
The command structure should be the same for both revisions. Most of the ACL commands are configured from global configuration mode [ console(config)# ], however, to bind the ACL you will utilize the interface configuration mode [ console(config-if)# ], depending on which interface you bind the ACL to (physical interface, LAG, or VLAN).
From the IP interface configuration mode [ console(config-ip)# ], which is only acceptable on the PowerConnect 6024, is where you primarily configure routing commands.
From the HTTP interface, you may configure either IP or MAC based ACLs as well as bind them to an interface. Switch -> Network Security -> IP or MAC Based ACL is where you configure the ACLs. Switch -> Network Security -> ACL Bindings is where you attach the ACL to an interface after you have created it.