Re: [opensuse] what does 127.0.1.1 mean?



lynn said the following on 04/02/2012 12:26 PM:
El 02/04/12 14:29, Anton Aylward escribió:
Carlos E. R. said the following on 04/02/2012 05:18 AM:
On 2012-04-02 10:13, lynn wrote:

Every linux machine should have that. I don't know if the dhcp
server can assign it.

Yes it can; yes it should.
But lynn says that here DHCP server is only handing out IP addresses,
therefore she has not configured it correctly.

I don't want just any name. I want the name that I give to the computer.

Yes I can understand that.
By my assertions still hold.
The DHCP server should be handing out more than just IP addresses.

Have you read /etc/sysconfig/network/dhcp?

I asked for the result of running "ps -ef | grep dhcpcd" on the client
after its up and running.

*IF* and *ONLY IF* you have things set up properly then the naming of
the computers will be consistent. That has nothing to do with the other
stuff DHCP *should* be handing out and *does not* require the
additional line in /etc/hosts you keep mentioning.

Not one which the dhcp server suggests. Oterwise the computer changes
name each time it is booted. That's useless to me. Surely that's why
there is an option to have the dhcp server dish out addresses only.

If you read the man page, if you read /etc/sysconfig/network/dhcp you'd
understand what I'm talking about.

Its an EITHER/OR

Either the machine tells the DHCP server its name 0- which is the way I
have things set up on my system and use

host MainBox {
fixed-address 192.168.2.14 ;
option domain-name-servers 192.168.2.18, 192.168.2.1, 8.8.8.8 ;
}
host BigBoy {
...
}
host SmallServer {
....
}
host laptopacer {
...
}
host laptophp {
...
}
host trixbox0 {
...
}

And then there's a catch-all for other 'unnamed' hosts.

As you can see, I can control the IP that goes with a specific name if I
want to, I can control the routing and nameserver that a specific host
is given. You *should* have defaults in your server:/etc/dhcp.conf to
ensure that the values you want are supplied, *along with the IP
address*. The IP address should *not* be the *only* thing supplied.




host 192.168.1.22 Host 22.1.168.192.in-addr.arpa. not found:
3(NXDOMAIN)

If reverse assignation from the dhcp server does not happen, you
can set fixed arbitrary names, like 168.1.22.hh3.site

I've suggested that (and other) "Cheats".

OK. So why does it happen for windoes clients and not for us?

To answer that I'd have to probe a lot more and look at stuff I've asked
for but you haven't forwarded.


--
HTML has followed nature's example... bright, sometimes flashing, colors
are a sign of indigestiblility.
-- Rob Hartill
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] what does 127.0.1.1 mean?
    ... How does DNS respond when queried on their addresses? ... There must have been some communication betwen the DHCP server at 192.16.1.1, ... Kerberos: Client sent patypes: encrypted-timestamp, ... host LYNN-PC12 ...
    (SuSE)
  • Re: Blocking access to a network
    ... The DHCP server can be ... So the host is configured for DHCP for its IP ... The Linksys routers have that ability. ... the Linksys BEFSR41 doesn't have the ability to assign static IP ...
    (comp.security.firewalls)
  • Re: [opensuse] what does 127.0.1.1 mean?
    ... Can we see the DHCP logs and the DNS logs around that activity please. ... If this were Linux I could do that via the DHCP server. ... I presumem that means you ran the 'host' command ... ...
    (SuSE)
  • Re: DHCP keeping host names unique
    ... > the DHCP server to only provide addresses to hosts with unique netbios ... > So the objective is to ensure that the host names are unique. ... CONTROL panel (and that the NIC suffixes settings are not ... Accelerated MCSE ...
    (microsoft.public.windows.server.dns)
  • Re: DHCP IP range + auto hostname
    ... option domain-name-servers 192.168.0.1; ... cassiopeia# host diskless131.ronet ... The clients should be able to determine their hostnames using a reverse dns lookup, and the set their hostnames automatically. ... after the machine got its IP address from the DHCP server, it should set its hostname to 'diskless131.ronet'. ...
    (freebsd-questions)