I can't really speak to the DNS part of this issue, but at the very least you can keep the IP address of each machine static using DHCP...

Install DHCP, and then edit the /etc/dhcpd.conf file. Give global parameters (subnet info, nameserver addresses, etc) -- it's all in the dhcpd.conf man page.

Then for each machine do this:
---
host whatever {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.x;
}
----
Replace the "whatever" with any host name. Replace the xx:xx:... with the hardware address of the ethernet card in each machine, in 2-digit format. And replace the 192.168.0.x with whatever you're using for IP addresses.

<speculation>
Assuming that you have a static IP address for the connection (DSL or whatever it might be) you can probably do specific-hostnames that are accessible from outside by registering a bunch of CNAMEs for the various machines (all pointing to the IP address of the Debian box). Then have the forwarding setup on the debian box send the packets on to the correct machine based on the name it is being fed, rather than the numerical address.

I don't know if this is actually possible, though, or if the IP-masq stuff only sees numbers. I'm also not sure how to go about registering CNAMEs through commerical registries, since I've only done it through a University that does it's own addressing.

Other than that, I think the only way you can make this work is by buying a top-level domain.
</speculation>

Hope this helps,

Ian


At 11:07 PM -0700 9/30/01, Joe Barnett wrote:
Hi there,

I've currently got my debian box plugged into the wall, which serves as
the router for an apple airport wireless hub through NAT.  the airport
then goes to connect through my laptop.  right now, the airport acts as
a tranparent bridge (i.e. performs NO NAT), and also acts as a DHCP
server for the laptop(s) connected to it.

What I would like to do is set up a DNS server that would allow me to
give hostnames to the IP addresses the airport hands out.  I don't care
if these are accessible from the outside world (it would be nice if this
is do-able, but if not, that's ok too), but I would like to be able to
connect to the laptop without having to use the IP (which , of course,
does change from time to time due to the DHCP server and which laptops
are connected to the airport at a given time).

Is there any way to set up a DNS server to assign a hostname to the IP's
that the airport gives out (i'd like to match names to wireless card
hardware addresses, or some other identifying feature of the other
computers that is not the IP).  Or would I have to set up both a DNS and
DHCP server on my debian box?  if so, what is the easiest/best way to go
about this?

Again: desired goal is simply this (well, maybe implementation details
won't be so simple =D):  my laptops connected to the airport are
automatically assigned IP's and hostnames.  the hostname for each laptop
should remain the same, regardless of any change in IP, etc.

Thanks,
Joe


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--

[EMAIL PROTECTED]
773 667 9763 (home)
773 844 0105 (cell)

Eventually all things merge into one, and a river runs through it. The river was cut by the world's great flood and runs over rocks from the basement of time. On some of the rocks are timeless raindrops. Under the rocks are the words, and some of the words are theirs.

I am haunted by waters.

Reply via email to