Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.
/ mac2ip Public archive

Service to generate an IP address from a MAC address

Notifications You must be signed in to change notification settings

nbycomp/mac2ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAC to IP service

Quickstart

  1. Check environment variables defined in docker-compose and mount point for Postgres
  2. Run docker-compose up
  3. The service is accessible on http://localhost:8081

API

The following endpoints expect a request body of the form { "mac": "11:22:33:44:55:66" }

POST /ip

returns JSON { "ip": "1.2.3.4" }

POST /ipxe

returns iPXE string:

#!ipxe
chain http://drp-hostname/0.0.0.1.ipxe

About

Service to generate an IP address from a MAC address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published