VLANs
-
Hey Guys,
I got a question regarding VLANs, when moving a node from one VLAN to another VLAN DHCP hang on to that lease? only known work around is "ipconfig /release" before relocating the node.
Is there something that can be configured so I wont have to do this everytime?
-
Dan,
That is true, the machine will retain its IP for the duration of the lease when the VLAN is changed. The trick I use to get around this is I shut the port down when I change the VLAN and then turn it back on again. For example:
Switch(config)# interface fa0/24 Switch(config-if)# shutdown Switch(config-if)# switchport access vlan 400 Switch(config-if)# no shutdown Switch(config-if)# end
The PC will see the network card reset and perform a new DHCP discovery. That saves you from having to go to the individual PCs.
Hope that helps,
Don Pezet
Host, ITProTV