|MAC addresses do not produce IP addresses. MAC addresses allow two pieces of network hardware, i.e. a Netwrok Interface Card and a switch to communicate with each other. |
IP addresses are either typed in by the administrator or produced by a DHCP server.
IP addresses are linked to an MAC address but that is done by the Ethernet hardware. MAC addresses can be used to deny or allow particular hardware to connect.
I think you need to read up on how networks works. How all the different protocols like TCP/IP, Ethernet, DHCP and NAT all interact with each other and produce a network.
The Internet is full of information on how networks work. A forum like this is not the place to be explaining basic principles.