Static Mac Addresses to Qemu Nodes

Features you'd like to see in the upcoming version of EVE-NG

Moderator: mike

Post Reply
chitiz
Posts: 6
Joined: Thu Nov 08, 2018 9:09 am

Static Mac Addresses to Qemu Nodes

Post by chitiz » Tue Oct 08, 2019 4:54 am

Dear Team,

Is it possible to provide a static mac address to a qemu-instance-interface using eve-ng?
Instead of a dynamic mac address to an interface while booting(I don't know how MAC is distributed to the interface), if it is possible to static IP, it will be great for my project.

I want to build a table which map mac to IP and use it for a DHCP server. This DHCP server will provide mgmt. IP addresses to nodes in a lab. After this, I should know which IP address is in which host.
Then I want to do some housekeeping tasks before loading a full config.

I went through the API doc but cannot find or I missed it.

Regards,
Chitiz

chitiz
Posts: 6
Joined: Thu Nov 08, 2018 9:09 am

Re: Static Mac Addresses to Qemu Nodes

Post by chitiz » Wed Oct 09, 2019 12:27 am

Dear Team,

I am looking for the facts type of thing, just like API "curl -s -c /tmp/cookie -b /tmp/cookie -X GET -H 'Content-type: application/json' http://127.0.0.1/api/status" gives you
current system status of the host. If there is some API that provides current mac to host mapping that will be great.
If it can show mac address, I can relate mac to IP using some scripts.

Regards,
Chitiz

Post Reply