Hi,
I searched this group before posting, I did find some post regarding it, but it wasn't clear how to change the topology while the simulation is going on. Because once the Simulator::Run() is called it will execute it's run_loop and consume the events. And I did find in one post that saying Simulator::Schedule() function cannot change the topology in run time as it gives exception.
I did check the DHCP accidentally when I was upgrading to ns-3.26, but will it automatically adjust the routing?
Thank you again for your suggestion.