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





John R Cichy wrote:
On Sun, 2007-01-21 at 00:08 +0000, Bob Adams wrote:

Adding machines to a network without DHCP is _always a pain :) Is there
a special reason why you use static addresses?

Because I do not have a DHCP server and also because I want to use the
same addresses as my Windows PC's.

I hope you mean the same subnet, or that the windows machines are
powered down when the Ubuntu machines are running (though still can't be
sure why you would do this except in a dual-boot situation). Two
computers can NOT share IP's on the network. That would be like you
sharing the same phone number with your neighbor.

John
However if you have dual-boot machines and you want each OS to have the same address then that's easier to do in DHCP than in each OS separately. 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 irrespective of what OS it booted under. If you use bind or distribute your 'hosts' file around you can then use the same name for each PC and will all just 'work'.

Running a DHCP server has virtually no overhead other than learning the config file. So if you have a machine that is always on and it runs Ubuntu then you can put DHCP on this fairly easily.

--
Kind Regards Russell
==================
www.windsorcycles.com.au
bikes.no-ip.info
Linux user #369094
==================

begin:vcard
fn:Russell Cook
n:Cook;Russell
email;internet:ruscook_oz@xxxxxxxxxxxx
x-mozilla-html:TRUE
version:2.1
end:vcard

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


Relevant Pages

  • Re: Changing corporate network addressing
    ... my DHCP server for the gateway address and then be done. ... If machines require having the same address all the time then your ... are either recreating Reservations or manually reconfiguring the TCP/IP ...
    (microsoft.public.windows.server.networking)
  • Re: DNS settings changing
    ... This "seems" to indicate that there MIGHT be still a second DHCP running? ... They all get the TCP/IP setting ... The machines not on ... We only have one DHCP server on the network. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: IPcongig details wrong
    ... so the problem is not with the DHCP server? ... Hardware upgrade? ... There are around 5000 machines spread over about 25 CIDR subnets ...
    (microsoft.public.windowsxp.network_web)
  • Re: DHCP Migration
    ... How can there be no easy way to migrate DHCP, ... the DHCP server could easily send out a message to all its 'clients' ... Anyways, glad I only have like 80 machines to deal with, the headache wont ... > subnets cannot communicate without a router even if they share the same ...
    (microsoft.public.windows.server.networking)
  • Re: Moved DHCP server to DC, now only works for domain users
    ... Machines get an IP Config before the user can even login in the first ... If a machine got a Config from the Linksys box then it will keep ... "alive" it will try the Linksys box even of the Linksys DHCP Service ...
    (microsoft.public.windows.server.networking)