Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP disabled after implementing ACL need to know how to restrict vlan 1

Status
Not open for further replies.

natenate

IS-IT--Management
Joined
Jan 16, 2004
Messages
3
Location
US
Need to know how to restrict vlans, but enable DHCP.

Currently my office has a 6513 as the Core switch and all other switches are 3550s. I have successfully configured the core to hand out DHCP addresses to the users on all of our Vlans. We need a Vlan for internet access only so I have an ACL as follows:

permit tcp x.x.x.x 0.0.0.255 host x.x.x.x eq 8080
permit udp any any eq 67

the first permit is used to only connect to the proxy server and the second is used for the bootps (server) protocol needed for dhcp, but still no dhcp once the inbound access list is applied to the vlan.

Do I need to enable other udp ports besides port 67 in order to enable DHCP?

Can someone help me out finding a solution to our internet-only vlan?
 
The DHCP server has to come back, try adding port 68

 
yep, I tried that too.
 
go to the gateway router towards the DHCP server and use interface XX
Ip Helper-address <dhcp ip addres>

router wont' forward broadcasts, the IP Helper address converts broadcasts received on it to IP-directed Broadcast, this packet will then be routed to the ip address assigned as the helper

If you are using more than one DHCP server, and have an implicit server subnet, you can point the helper address to the subnets broadcast address (i.e. 10.0.0.255) and all DHCP servers will hear the request, all will offer, client will accept the first received.

The source address of the packet sent to the helper addres will be used to determine which address pool to pull the IP from so it matches the subnet it resides on.


 
Ok, bear with me, I just want to be clear.
Would I get into the core switch and go to the interface vlan and add ip-helper address <dhcp address>
Like this:
Core#conf t
Core(conf-t)#interface vlan 53
Core(config-if)#ip helper-address 10.2.1.1

I am confused as to what ip address to enter in and to what interface to add it to.

I am not using more than one DHCP server, just the core switch. The core’s ip address is 10.2.1.1 and vlan 53’s ip address are 10.2.53.1 – 10.2.53.255

Thanks again
 
Yes.

Core#conf t
Core(config)#interface vlan 53
Core(config-if)#ip helper-address 10.2.1.1



 
Whatever subnet that is not on the same subnet as the dhcp server will need helper addresses added to them pointing to the address of the dhcp on each subnet (vlan) interfaCE.
 
Verify with cisco that your IOS version has DHCP support for unnumbered interfaces.

Just noticed that there are some that are not.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top