- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting/changing netmask HP-UX 7.03 A
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО12-16-2002 08:36 AM
тАО12-16-2002 08:36 AM
setting/changing netmask HP-UX 7.03 A
I have to change the netmask from 255.255.0.0 to 255.255.255.0 . In which file can I change the netmask permanently? (HP-UX 7 is quite different to 10.20 or 11)
Thanks, Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 08:43 AM
тАО12-16-2002 08:43 AM
Re: setting/changing netmask HP-UX 7.03 A
command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 08:50 AM
тАО12-16-2002 08:50 AM
Re: setting/changing netmask HP-UX 7.03 A
How about
# cd /etc
# find . -name netconf
edit the file if there is one and reboot.
Hope it helps.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 08:55 AM
тАО12-16-2002 08:55 AM
Re: setting/changing netmask HP-UX 7.03 A
I believe there's a startup script called /etc/rc which starts up networking daemons, among other things. Check there.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 09:08 AM
тАО12-16-2002 09:08 AM
Re: setting/changing netmask HP-UX 7.03 A
Probably SAM was already in that version. Try to do it with it.
HTH, Vicente.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 09:11 AM
тАО12-16-2002 09:11 AM
Re: setting/changing netmask HP-UX 7.03 A
If it's not in /etc/rc, try to find a script called localrc - /etc/rc calls it when it's done, I think.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 12:10 PM
тАО12-16-2002 12:10 PM
Re: setting/changing netmask HP-UX 7.03 A
something helpful in it?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 12:12 PM
тАО12-16-2002 12:12 PM
Re: setting/changing netmask HP-UX 7.03 A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 12:27 PM
тАО12-16-2002 12:27 PM
Re: setting/changing netmask HP-UX 7.03 A
Be warned - I'm guessing here, I havent touched one of these pre-10.x systems in years.
The netmask would be specified in the ifconfig command, which is showing up in your /etc/netlinkrc
case $NODENAME in
*) /etc/ifconfig lan0 `hostname` up
;;
esac
The netmask would be added after `hostname` up (see man ifconfig).
That's my best shot at it Michael, hope it helps.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 12:42 PM
тАО12-16-2002 12:42 PM
Re: setting/changing netmask HP-UX 7.03 A
It is a bit the same as Pete suggested, HPUX 9.X
Set the appropriate netmask for the subnet that this system is on by editing /etc/netlinkrc. In this example, the netmask is 255.255.255.0. If there is no ifconfig line in the file, or if the line has been commented out, add the following line to the file:
/etc/ifconfig lan0 inet `hostname` netmask 255.255.255.0 up
If there already is an ifconfig line and only the configuration is being changed, copy that version, modify it appropriately, and comment out the original version.
At a shell prompt, execute the new ifconfig command:
hpux# /etc/ifconfig lan0 inet `hostname` netmask 255.255.255.0 up
Verify the netmask:
hpux# /etc/ifconfig lan0
lan0: flags=63
inet 15.2.72.150 netmask ffffff00 broadcast 15.2.72.255
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 01:03 AM
тАО12-17-2002 01:03 AM
Re: setting/changing netmask HP-UX 7.03 A
some months ago i had my fingers on such an old monster. I found that the system settings are stored in /etc/rc and /etc/netlinkrc which you allready figured out.
But i couldnt find something like /etc/rc.config.d/netconf to set all the networking parameters like netmask and ip-adress.
So i did use ifconfig (wich is available on nearly every Unix favour).
I have been able to set netmask, ip-adress and bring the interface up with no problems.
Have a look at ifconfig. This should solve your problem.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 01:38 PM
тАО12-17-2002 01:38 PM
Re: setting/changing netmask HP-UX 7.03 A
Also, if your system is connected to a network with routers that support proxy ARP, you may not really _need_ to make the subnetmask more restrictive, the HP-UX 7 system will simply think the other boxes are "local" and will (man this is really stretching the memory DIMMs) ARP for their IP to MAC mappings, which the proxy-ARP supporting router will happily provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 01:24 AM
тАО05-09-2003 01:24 AM
Re: setting/changing netmask HP-UX 7.03 A
sorry, didn't have to test it, cause server was finally discarded (thanx god). So you get all 5 points. Finally I won't have more "old" questions.
Michael