Re: ntpq no longer working -



Tim wrote:
On Mon, 2006-05-22 at 11:52 -0400, Bob Goodwin wrote:
127.0.0.1 localhost.localdomain loacalhost box1
10.1.1.2 box2 box2
10.1.1.3 box3 box3
10.1.1.4 box4 box4
10.1.1.1 box1 127.0.0.1
192.168.1.226 box1 127.0.0.1

Try:

127.0.0.1 localhost.localdomain localhost
10.1.1.2 box2
10.1.1.3 box3
10.1.1.4 box4
10.1.1.1 box1
192.168.1.226 box10

Do not try giving the same alias or hostname to two different IP
addresses, that's bound to cause problems. Also, there's no need to put
the same name as an alias as you've got as a hostname, the aliases are
*optional* *alternatives*.
I've changed /etc/hosts pretty much as you suggested:

127.0.0.1 localhost.localdomain localhost
10.1.1.2 box2
10.1.1.3 box3
10.1.1.4 box4
10.1.1.1 box1
192.168.1.226 box1

But that leaves me with two lines aliased to box1, I'm not sure if that can cause problems?
Can I put the bridge address on the line above it?

127.0.0.1 localhost.localdomain localhost
10.1.1.2 box2
10.1.1.3 box3
10.1.1.4 box4
10.1.1.1 192.168.1.226 box1

That looks as though it should accomplish the same thing?

Bob




--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: ntpq no longer working -
    ... localhost.localdomain localhost ... Do not try giving the same alias or hostname to two different IP ... Removing the "box1" alias from the first line results in a very slow reboot of the system, it stalls on "sendmail" and "sm-client" for something on the order of a minute on each one, adding "box1" reduces the entire boot process to what seems like less than a minute on this old computer. ...
    (Fedora)
  • Re: Unusual termianl prompt?
    ... the hostname is there or not?? ... I'm used to the prompt on the terminal being something like ... # User specific aliases and functions ... # alias interactive ...
    (Fedora)
  • segmentation fault
    ... official hostname: localhost.localdomain ... alias: localhost ...
    (comp.unix.programmer)
  • Re: ntpq no longer working -
    ... localhost.localdomain localhost ... Do not try giving the same alias or hostname to two different IP ... Me thinks you need to do some homework on the format of the hosts file. ...
    (Fedora)
  • Re: ntpq no longer working -
    ... localhost.localdomain localhost ... Do not try giving the same alias or hostname to two different IP ... I read messages from the public lists. ...
    (Fedora)