Re: MAC --> IP address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-01-13 at 10:57, valentin antonescu wrote:
> Awkard but doable. You need to record your MAC address
> somewhere. The script can then make a list with the
> machines in your network somehow (like broadcast
> pinging your net) and then arping each of them to find
> out which one has the desired MAC. But it is a very 
> strange solution.
> 
>  A laptop should get its ip address from a dhcp, cause
> you want to be able to connect it on different sites
> (work, home, conference, etc). Thus the ideea of
> having a static ip doesn't sound good either. Somebody
> said assign a static ip from dhcp, based on the MAC
> your laptop has. This sounds like a good solution and
> the one I'm using it actually on my laptop. However,
> you said your access point doesn't support this
> option. Are you sure? There should be a way to
> configure that, like a cli or even a http interface.
> Did you check the configuration options you have?
>   In case that as strange it may sound you don't have
> this option, then I think I'd just install a dhcp
> server on my linux box. At least this is the solution
> I can think of right now.
> 

Assuming the router does not allow assigning IP addresses by MAC address
does it allow you to specify how many addresses are in the DHCP range?

If you only have one system on your local LAN that uses DHCP just
restrict the range to the one address.  Assign other systems static
addresses, a workstation or server does not need a dynamic address.

So if you have just a single laptop just restrict the addresses DHCP
passes out to one.  Then you always know what address to use.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux