|
Home > Archive > Unix questions > September 2007 > network admin question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
network admin question
|
|
| keith@bytebrothers.co.uk 2007-09-18, 1:27 pm |
|
Hi,
I had a quick look through the FAQ and couldn't find this, so any
assistance gratefully received.
If I have two machines, alice and bob, connected by a router, using
static IP addresses, I can put
192.168.2.5 bob
into the /etc/hosts file on alice, and something analogous on bob.
But how do I set things up so that the two machines know where each
other are when they are obtaining IP addresses from the router via
DHCP?
Thx!
| |
| Bill Marcum 2007-09-19, 7:20 pm |
| keith@bytebrothers.co.uk wrote:
>
>
> Hi,
>
> I had a quick look through the FAQ and couldn't find this, so any
> assistance gratefully received.
>
> If I have two machines, alice and bob, connected by a router, using
> static IP addresses, I can put
>
> 192.168.2.5 bob
>
> into the /etc/hosts file on alice, and something analogous on bob.
> But how do I set things up so that the two machines know where each
> other are when they are obtaining IP addresses from the router via
> DHCP?
> c
> Thx!
>
The DHCP server should have a DNS server which assigns a name to each
client. If that is not the case, bob and alice could email each other or
post their ip addresses on a web page.
|
|
|
|
|