DHCP and Routes
When you are creating a test VM to test the DHCP servers on your VMs, you should keep in mind which network you’re expecting connections to work on. For example, if you have an interface that’s connected to a 172.30.10.0/24 network and another interface that’s connected to a 172.30.20.0/24, one of the two will become the default route. To reduce confusion, you should either use only one of the interfaces at a time (ifdown the other) or specify which interface you want to use. So, if you want to ping from the interface on the 172.30.10.0/24 network, you can run: