- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Multiple IP address under HP-UX
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
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
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
06-02-2006 04:25 AM
06-02-2006 04:25 AM
I need to add a new IP address on my workstation ...
Another point is that I am running HP-UX 10
I hope that someone can give me a solution !
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 04:57 AM
06-02-2006 04:57 AM
Re: Multiple IP address under HP-UX
I'm not sure if this is working with this OS (maybe another command, but I don't remember), but you can use lan0:0 (this is lan0) and in addition lan0:1, lan0:2 and so on with ifconfig command or even in the netconf file.
"man ifconfig" may give you more information.
It works for sure with 11.00 and newer.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:03 AM
06-02-2006 05:03 AM
Re: Multiple IP address under HP-UX
Noe that it needs to have same network address.
i.e.
For example:
Say you want your server saturn (saturn.xyz.com) to have another ip address/DNS and known as venus.xyz.com as a VIP.
And say the IP addresses are, and saturn's IP address is bound/plumbed on lan2:
saturn: 150.234.98.5
venus: 150.234.98.20
saturn# ipconfig lan2:1 150.234.98.20
netmask 255.255.255.1 up
Your saturn server will now also have a VIP address of venus...
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:03 AM
06-02-2006 05:03 AM
Re: Multiple IP address under HP-UX
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:04 AM
06-02-2006 05:04 AM
SolutionYou need to add a patch to allow this, and the command it adds is called ifalias
Check for PHNE_12492, and remember this on 10/20 only, and this OS version is no longer supported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:06 AM
06-02-2006 05:06 AM
Re: Multiple IP address under HP-UX
http://docs.hp.com/en/B2355-90129/ifconfig.1M.html
Important: use different subnets!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:32 AM
06-02-2006 05:32 AM
Re: Multiple IP address under HP-UX
Presuming lan1 is already assigned an ip.
netstat -in -I lan0
ifalias lan0 add 192.168.0.3
ifconfig lan0:1 inet 192.168.0.2
ifconfig lan0:2 inet 192.168.0.3
To verify:
# netstat -in -I lan1
If you typo:
# ifalias lan1 del 192.168.0.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 05:36 AM
06-02-2006 05:36 AM
Re: Multiple IP address under HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 02:13 AM
06-05-2006 02:13 AM
Re: Multiple IP address under HP-UX
I think that it will do.
I hope that I will get it right on subnet definition.
The 2 addresses are not in the same segment !
I am surprised not to have a specific mask with each address (for what understand of Supernet matter in man pages)
If one of you can make it clear for me , I will appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:45 AM
06-07-2006 03:45 AM
Re: Multiple IP address under HP-UX
Do not fear about address masks and subnetting. Since 1999, I'm running 15 class C segments on a single lan card and they all have a /24 mask.
I'm using ifalias on HPUX10.20. According to my notes, PHNE-17097 provided ifalias.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 04:12 AM
06-08-2006 04:12 AM
Re: Multiple IP address under HP-UX
Thanks for help
;o)