Re: [opensuse] what does 127.0.1.1 mean?
- From: Anton Aylward <opensuse@xxxxxxxxxxxxxxxx>
- Date: Mon, 02 Apr 2012 14:21:53 -0400
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:
I don't want just any name. I want the name that I give to the computer.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.
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
- Follow-Ups:
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- References:
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- From: Carlos E. R.
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- From: Carlos E. R.
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- From: Anton Aylward
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- From: Carlos E. R.
- Re: [opensuse] what does 127.0.1.1 mean?
- From: Anton Aylward
- Re: [opensuse] what does 127.0.1.1 mean?
- From: lynn
- Re: [opensuse] what does 127.0.1.1 mean?
- Prev by Date: Re: [opensuse] LXDE how to set default browser
- Next by Date: Re: [opensuse] what does 127.0.1.1 mean?
- Previous by thread: Re: [opensuse] what does 127.0.1.1 mean?
- Next by thread: Re: [opensuse] what does 127.0.1.1 mean?
- Index(es):
Relevant Pages
|