Cisco router and switch configuration

ciscocisco-catalystios

I want to configure a Cisco 2600 series router to be DHCP server. To the ethernet port i want to connect a Cisco Catalyst 2900XL 24 ports switch, in this switch i want to connect a computer in port X2, the 2600 series router should be in port X1 and a internet uplink in port X24. On this uplink another DHCP server is running.

Is it possible to configure these devices so that the computer will recieve a IP address from the 2600 series router and not the DHCP on the internet uplink? The router should not broadcast DHCP addresse on the uplink either.

I do not want to make manual configurations on the computer, everything should be configured in the switch and router, if it is possible.

Best Answer

It sounds like what you're trying to do should be fine. You can have either the switch or the router provide the DHCP service. You'll want to enable dhcp snooping on the uplink port (setting it to untrusted). That SHOULD drop any DHCPOFFER coming in from there.

ip dhcp snooping

ip dhcp snooping vlan number 110 (or whatever)

for each interface (not the uplink):

interface fe0/0

ip dhcp snooping trust

then you should basically be good.

Related Topic