Hi guys, I have a question about DHCP.What rules do a DHCP use when it assigns IPs to clients? Are they based on the vlan the attached port configured in?
I was troubleshooting yesterday. I found at our distribution layer switch where Inter-vlan occurs was trying to assign an IP from a different Vlan to the PC attached to port that was configured in a different vlan.
certianly, the PC wont work. but I dont understand why the server trying to give a different IP?
DHCP does (or should) assign addresses that are specific for the subnet (or VLAN) from which the DHCP request originated. If the origin was local then DHCP should know the VLAN and subnet and if the request was not local then DHCP looks at the gateway address in the request. If the DHCP server is serving for several sources (several VLANs) then it should have a unique set of addresses (scopes) for each origin.
Without knowing a bit more about your environment (how are the VLANs defined, what scopes are configured in the DHCP server, what address was it assigning, what range of address should it have assigned, what VLAN does the address being assigned belong to) we can not tell what caused this problem.
The port that the new pc was attached was configured as vlan 100. But at the distribution layer switch i could see the debug message say that the DHCP server replied the request from the MAC for an IP from vlan 200.
Can you just give me an imagined scenario in which the settings result this? I just couldn't imagine.
does the DHCP server sit on a different subnet than the client? if so, you may need to go into the vlan interface for the client (i.e. int vlan 100) and add the ip helper-address x.x.x.x command to point it to the DHCP server.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...