HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change ip in nis
Operating System - HP-UX
1832649
Members
3020
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:39 AM
10-25-2001 01:39 AM
Hello,
I'm not so familiar with nis, so i need some information.
In our network there are some hpux workstions, which are configured with nis. One of them is an nis-server, and all others are nis-clients. I have a system which is not the nis-server and not the nis-client, his ip-adres is changed. I know that his old-ip-adress is known by the nis-server, I saw it in /var/yp/nismaps/hosts.
My question is:
How can i replace the old ip with the new ip-adress ?
which command must I use ?
thanks
Marcel
I'm not so familiar with nis, so i need some information.
In our network there are some hpux workstions, which are configured with nis. One of them is an nis-server, and all others are nis-clients. I have a system which is not the nis-server and not the nis-client, his ip-adres is changed. I know that his old-ip-adress is known by the nis-server, I saw it in /var/yp/nismaps/hosts.
My question is:
How can i replace the old ip with the new ip-adress ?
which command must I use ?
thanks
Marcel
See the man pages
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:48 AM
10-25-2001 01:48 AM
Solution
This is relatively easy. Just log into the NIS server machine and update /etc/hosts with the new IP for the system that's changing IP. Once that's done, save it and run /var/yp/ypmake hosts. This should push out a new hosts file to all the NIS clients. You can check if the changes were propogated by logging onto one of the NIS clients and doing a ypcat hosts |grep newIP.
Hope this helps.
-Santosh
Hope this helps.
-Santosh
Life is what's happening while you're busy making other plans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:21 AM
10-25-2001 02:21 AM
Re: change ip in nis
Hi,
In the NIS server edit the /etc/hosts file.replace the old ip/hostname of the system with the new ip/hostname and save it.
then run #ypmake /etc/hosts( ypmake creates the new maps and pushes to slave/clients).
Now at the client end if you issue the command #ypcat hosts|grep hostname, you can see the new IP/hostname of the machine.
In the NIS server edit the /etc/hosts file.replace the old ip/hostname of the system with the new ip/hostname and save it.
then run #ypmake /etc/hosts( ypmake creates the new maps and pushes to slave/clients).
Now at the client end if you issue the command #ypcat hosts|grep hostname, you can see the new IP/hostname of the machine.
never give up
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP