03-03-2023 03:55 AM
Hello, i have done hours of research, and I'm stuck. I have a cisco 2960 and have ip routing enabled. I can set up the ip dhcp network and default router, but my computer is not being assigned an ip address that is in the subnet it should be. When I plug into vlan 1 I'm trying to make it to where I get a 10.10.1.0 ip address range. Instead I'm getting 192.168.0.0 range which is from my router. This router is not configurable. I also have a ruckus zonedirector 3000 but I'm not sure if I need it or not to do what I'm trying to do. Thank you to anyone with ideas!
03-03-2023 04:03 AM
SW-R
Router depend one
1- op82
2- default router
3- Network Pool subnet
when the router receive the DHCP request it check above three point and matching it with DHCP Pool
I think your config in router need to adjust
router receive DHCP request from SW of VLAN1 in interface with ip 192.168.0.x
03-03-2023 06:55 AM
We do not have much detail information to really understand the issue or to give good advice. We are told there is a 2960 switch with routing enabled. We are told about vlan 1. And we are told that computer connected in vlan 1 does get an IP address but it is not the desired address.
This suggests that dhcp is configured on the switch. Is that the case? Can you post the switch config so that we can understand the environment better?
The fact that a computer does get an IP address suggests that both the switch and the router have configured dhcp for that vlan/subnet. If there are 2 devices offering dhcp then the computer may receive 2 dhcp offers and will choose which one to accept. It is difficult to make good suggestions about how to solve this until we have more information about this environment.
03-03-2023 03:38 PM
Hello
Most simplistic solution would be to assign 10.10.1.0 subnet to a L3 interface other than vlan1
int vlan x (not vlan 1)
ip address 10.10.1.x y.y.y.y
ip dhcp pool vlan x
network 10.10.1.0 /x
lease 0 8
default-gateway 10.10.1.x
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