Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Implementation detail.
In cases where a ip range form a different subnet is added, we need to configure an nic with a ip form the this new subnet or add this ip to the existing nic. This is required as the ip to the guest VMs is allocated using a DHCP server. So the router should have a interface on the new subnet to listen for the DHCP request coming form VMs in the new subnet.

execution flow.
#1 validate the inputs.
#2 if the ip range is form the new subnet add the new range.
pick one of the ips form the new range and configure a interface with this ip on the VR.
configure the DHCP server to listen on this new interface.(Also need to configure the DHCP server to work with the new interface.)
#3 if not form a different subnet add them.

...