07-20-2005 05:27 PM - edited 03-02-2019 11:27 PM
I am setting up a training network and wanted to know if i can set up the 3550 as a dhcp server. Do i just add the ip dhcp pool? And do i need to give one of the ports a static IP so that the other switches on the network can also pool addresses from the switch? Thank for any help.
07-20-2005 06:27 PM
3550 is a L3 switch. You can define SVI interfaces for each vlan you want to route. You can define DHCP pools for each vlan (subnet)
int vlan 1
ip add 172.16.1.1 255.255.255.0
int vlan 2
ip add 172.16.2.1 255.255.255.0
ip dhcp pool VLAN1
network 172.16.1.0 /24
default-router 172.16.1.1
dns <>
lease <>
wins <>
option
ip dhcp pool VLAN2
network 172.16.2.0 /24
default-router 172.16.2.1
dns <>
lease <>
wins <>
option
On other switches (if supported) you can set the management vlan (VLAN1) as follows
int vlan 1
ip address dhcp (not all switches will support this option)
Create trunks between other switches and the 3550 and trunk the required vlans between them.
Also use VTP if required, to propagate vlans into the rest of the network rather than trying to create the same vlan in the database of each switch.3550 can be the VTP server, all others can be VTP client.
07-20-2005 06:31 PM
thank you that was exactly what i was looking for thank you again
07-20-2005 10:56 PM
Yes you need to give one of the port a static ip address and also that ip which has been assigned has to be excluded from the dhcp pool
with the command
ip dhcp-excluded address
- Karthik
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide