Discussion Locked

DHCP woes across multiple v-lans

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am running DHCP from a W2K server (AD, DNS on)to W2KPro and 98SE clients across 6 different gateways. Once a client has been assigned an IP address it will not change, even if the old one is inappropriate, ie. the computer has been moved to a different v-lan. ipconfig/release, renew picks up the same address as previously assigned. I have at times been able to work around this problem by uninstalling the TCP/IP protocol, deleting the lease from the server, reinstalling the protocol, new, correct address is picked up. Now I have changed a machine from NTFS W2K to FAT32 98SE and it still insists on picking up the old (wrong v-lan) address. Uninstalling and re-installing the card (through device manager), deleting and adding the protocol, with the appropriate restarts, all made no difference. I found one article in the Microsoft KB indicating that the IP address is cached in the registry for speed of re-assignment, which is what lead me to the IP protocol removal/ readddition. I have over 200 laptops that need to be more mobile in my building and this is the biggest stumbling block. Make no assuptions that I have the DHCP server set up correctly as I am quite the newbie on both the NT platform as well as using DHCP. TIA for lending me your expertise.

1 reply

by mshavrov

First: Don't make people coureoused. VLAN is term describing some kind of slitting network traffic on LAN SWITCHES. If you mean ROUTERS under GATEWAY - you should use word SUBNETWORKS.

So, if you use ROUTERS and you have different subnets (range of IP addresses), you should create separate DHCP scope for each. Then you should install DHCP Relay Agent in each subnet because by default routers does not pass DHCP requests through. Read Microsoft White Papers for DHCP. It has good description and examples how to configure DHCP scopes correctly.

Another thing: if you set lease time for few days it mean that if your workstation will be turned on and will try to refresh IP address within these few days it will receive same IP address. If it will be turned off longet than lease time probably this address will be "released" and given to someone else.

Good luck.

This discussion is closed to new replies.