l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Dec 10 11:12

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] dhcp vs static hosts file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] dhcp vs static hosts file

On Thu, Dec 07, 2006 at 05:09:33AM -0800, p@dirac.org wrote:
> Now that I no longer have predictable IP addresses on the home
> network, how
> do I accomplish something like:
>    satan$ ssh p@lucifer
> when there's no longer a valid /etc/hosts file?

Why don't you have a valid /etc/hosts file anymore?  Is satan inside or
outside the LAN?  The solution seems to depend on the network setup, but
why not just setup static IP on each computer on the LAN and give them
hosts file to point to the valid IPs?  If you insist on using the DHCP
server for each computer on the LAN, it's easy enough to configure the
DHCP server to give out the same IP to the same computer each time based
on the MAC address (google for instructions if you use a linux NAT box,
or if you use a gateway router it may come with such feature... or it
may not.)


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!