![]() While this is probably the most simple method to implement, it has theĭisadvantage that it only works if the VM is in the ARP cache. Querying ARP TableĪnother approach that works even without a DHCP server is querying theĪRP table on the host machine. Since the leases file contains both the MAC address and the IP address weĬan easily find out IP addresses of QEMU guests by just parsing the leaseįile into a lookup dictionary. The router correctly receives different MAC addresses,īut Ubuntu 18.04 does not seem to use the MAC address for calculation of theĭuring the creation of guest VMs we always set a randomly generated MAC I mentioned that all Ubuntu VMs receive the same IP address. ![]() Side Note: You might remember that during the second tutorial
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |