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



ruscook wrote:

You put the MAC address of the machine in the DHCP config file. So when it
hands out leases it ALWAYS hands the same IP to the same machine

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?

--
Garry Knight
garryknight@xxxxxxx



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



Relevant Pages

  • Re: ping question
    ... > The freebsd router is behind the cisco router. ... >> Bluescreen leads to downtime. ... >> Downtime leads to suffering. ...
    (freebsd-questions)
  • Re: Manual vs. automatic IP address
    ... See if the router has the option to either create reservations for DHCP leases ... a lan with a larger amount of computers should work fine on a network of three ...
    (microsoft.public.win2000.networking)
  • Re: "Limited Connectivity"
    ... Although many computers got plugged into the system over the course of time, ... We did a full hardware reset that should have completely purged the router ... old router that was causing it not to flush old expired leases. ... > Make sure that the router's DHCP server is enabled and that its pool ...
    (microsoft.public.windowsxp.network_web)
  • Re: If I switch to static IP
    ... I noticed that my router, ... Then I did ipconfig release and renew on each computer and it all worked. ... >>the leases expire on the old IPs and the computers logon again? ...
    (microsoft.public.windowsxp.network_web)
  • Re: ping question
    ... > I ping from redhat to cisco router and freebsd router ... FreeBSD's default ttl, I believe, is 64, Cisco's is probably 255. ... Bluescreen leads to downtime. ...
    (freebsd-questions)