×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NIS maps problem

NIS maps problem

NIS maps problem

(OP)
i am facing problem while updating NIS hosts maps as the following :

1- i was using IP address 192.168.1.20 for host name called test1.

2- the test1 machine have been removed and i re-used the same ip (192.168.1.20) to another machine called test2.

3- i edit the /etc/hosts then run the make to update both the NIS master and NIS slave.

the problem that when i ping -s test2 i get the below

nis01 # ping -s test2
PING test2: 56 data bytes
64 bytes from test1  (192.168.1.20): icmp_seq=0. time=0.594 ms
64 bytes from test1  (192.168.1.20): icmp_seq=1. time=0.675 ms
64 bytes from test1  (192.168.1.20): icmp_seq=2. time=0.589 ms
----test2 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max/stddev = 0.526/0.596/0.675/0.061

so i am still getting the old name .

i tried to go to /var/yp/test_domain/ and remove the hosts maps (hosts.byaddr.dir  hosts.byaddr.pag  hosts.byname.dir  hosts.byname.pag) and then run the make file again and still facing the same problem.

that problem happen in both nis master (solaris 10) , slave (solaris 10) and all solaris 10 clients while the redhat clients when i ping on test2 i get the below

nis01 # ping  test2
PING test2: 56 data bytes
64 bytes from test2  (192.168.1.20): icmp_seq=0. time=0.594 ms
64 bytes from test2  (192.168.1.20): icmp_seq=1. time=0.675 ms
64 bytes from test2  (192.168.1.20): icmp_seq=2. time=0.589 ms
----test2 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss

can you help me in that problem?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close