HP-UX - how to create virtual interface

OS - HP-UX B.10.20 A 9000/777

Anyone know how to set up a virtual interface on HP-UX?

I've looked quickly through docs.hp.com and searched this site. No luck. And my HP Guru is sleeping today.

Virtual interface? What is that?

Okay - you may know it as a logical interface.

Solaris TCP/IP allows multiple logical interfaces to be associated with a physical network interface. This allows a single machine to be assigned multiple IP addresses, even though it may have only one network interface. (see the {Solaris} ifconfig man page)

Can this be done in HP?

Example of ifconfig output with virtual interface:

# ifconfig -a
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 1 inet 10.140.64.62 netmask fffffc00 broadcast 10.140.67.255 ether 8:0:20:8e:87:4d
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 1 inet 162.47.1.58 netmask ffffff00 broadcast 162.47.1.255

Oh, starting with HP-UX 11.00 the ifconfig command can do that. As delivered 10.20 cannot. I have heard that HP has a patch for 10.20 that adds an ifalias command that adds this ability in. If you have the patch you will have an ifalias command. If not you will need to ask HP for the patch. I have never assigned multiple ip address to one interface, so this is the limit of my knowledge on this. Poking around HP's fora, I found:

It looks like my system needs a patch.

Thank you for the information.