Which IP address belongs to which MAC address?



Hello,
I got all my IP addresses with the function gethostbyname(hostname),
where hostname is received with gethostname. That works well.
I get the MAC addresses with some netbios functions: NCBENUM, NCBASTAT
But is not the order of the received IP addresses identical to the
order of the MAC addresses?
Or is there another way to the my local values and which belongs to
which?

Regards
Erwin

.



Relevant Pages

  • Re: Network Connections Dropping
    ... my local DNS in addition to my router as a DNS for getting to my ISP, ... defined hostname and what is their assigned hostname. ... IP address that my Mac now had and vice versa. ... the mac users seem to lose partial network connection. ...
    (comp.sys.mac.system)
  • Re: Sharing Linux printer with Mac
    ... On my Mac I see the printer EpsonSPR300@debian1 but my Mac can't ... > actually print to it because my Mac (via my router) can't resolve the ... > hostname with its local address on my Belkin router, ... > Debian to post its hostname on the router like my Mac does. ...
    (Debian-User)
  • Re: [SLE] Comcast and NAT
    ... Subject: Comcast and NAT ... > customer that were derived from the MAC address. ... > that to determine my MAC-based hostname. ... uses DNS so unless you set up your own DNS server it most likely will not ...
    (SuSE)
  • Re: Mac and Windows 2003 DNS Resolution?
    ... Is the firewall active on the mac ... > perfectly, but if I try to PING the 2003 server by hostname, ping cannot ... > resolve the hostname, but I can PING by IP number! ... > I want to use the Active Directory on the windows server, ...
    (microsoft.public.macintosh.general)
  • Re: Sharing Linux printer with Mac
    ... On my Mac I see the printer EpsonSPR300@debian1 but my Mac can't ... > actually print to it because my Mac (via my router) can't resolve the ... > hostname with its local address on my Belkin router, ... > Linux box represented as an address, ...
    (Debian-User)