Re: Why is adding a new Ubuntu PC to an existing LAN such a pain?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Garry Knight wrote:

Which leads me to something I've never understood. I tell my router to do
this so that I can put the name and IP of each machine in /etc/hosts.
Otherwise, how can you access another machine by name? My machines know
their hostname and so does the router. My machines also know their own
domainname but the router doesn't as there's nowhere to configure it in the
router setup. So, if I don't put the machine names and IPs in /etc/hosts,
when I try to ping one of my machines by name, some machine out on the
Internet gets pinged instead.

How do other people set up DHCP yet still manage to ping machines on the LAN
by name? Am I overlooking something?

There's a tactic I used to help in this exact situation. Consider
the ".local" domain. Hand it to the machine doing DNS for the entire
site, and make aliases for "www", "dns", "time", and other handy ones.
Ya do this, because you're not at "mydomain.com"- that's on the outside.
Using "mydomain.local" solves some problems.

DHCP becomes easier. You don't have to use IP addresses, and you can
set <MAC ADDRESS> to "ws01" and be done with it.

Firewalling is easier. With a proper name, you can reverse-check a
machine's IP address.

NFS is easier; with a proper name, you can use a wildcard ending in
.local.

It's just a really simple addition that makes things easier. I have
no idea why people don't do it...though it's just the same thing you'd
do for the _outside_...

...and maybe it'll help.


- --
------------------------------------------------------------------------
Brian Fahrländer Christian, Conservative, and Technomad
Evansville, IN http://Fahrlander.net/brian
ICQ: 5119262 AOL/Yahoo/GoogleTalk: WheelDweller
------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtCXk6PLtRzZbdhYRApPrAKCBM7zMHLE304+q88zYvw8pzSeXZwCeM4k8
B4QTCe2Dpm2fbHCDV321naM=
=gQIR
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... DHCP running on the router. ... Set the DHCP on the router, to make a exclusion of IP range. ... you can set the SBS use fix IP by run the CEICW. ... all gust wireless clients will get IP address from DHCP on the ...
    (microsoft.public.windows.server.sbs)
  • help
    ... Network, routers, DHCP and PXE ... wget vs fetch ... It's a Thomson SpeedTouch 585 router. ...
    (freebsd-questions)
  • Re: How do I configure SBS 2003 as a DHCP server?
    ... To disable the private "LAN" side DHCP service (not the DHCP service on the ... of the PPPoE adapter and enable your Speedstream as a DSL modem and router. ... For the Vista computer to interact with SBS, ... Windows Small Business Server 2003: ...
    (microsoft.public.windows.server.sbs)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... DHCP running on the router. ... Set the DHCP on the router, to make a exclusion of IP range. ... you can set the SBS use fix IP by run the CEICW. ... all gust wireless clients will get IP address from DHCP on the ...
    (microsoft.public.windows.server.sbs)
  • Re: DHCP addresses on LAN
    ... The router acts as a DHCP server. ... the addresses are rotated as lease time expires and my lease time was 0 ... You really shouldn't have the router IP in the DHCP lease pool. ... have space for items which require fixed IPs, such as the router, a printer, ...
    (comp.sys.mac.comm)