Adding virtual Interface on HP UX

Hello all,

I want to add a new virtual interface on HP-UX B.11.11 U 9000/800 box.

I know that ifconfig can be used to add the Virtual interface.

BUt i do not know the exact syntax. it some times gives plumb error if i try to add
# ifconfig vif0 10.1.10.1 up
plumb error: No such file or directory

Please let me know how to add an virtual interface.
Thanks,

Could you post the output of netstat -in ? That way we would know what your interfaces are called... and what to send in to ifconfig.

Usually it's something like this: if the first ip address went to lan0, the 2nd ip address goes to lan0:1. And lan0 and lan0:0 are the same thing.

Thanks for the suggestions,
Actually i was trying to configure a Vip on same physical interface lan0:0 , which didnt work
so i tryed

ifconfig lan0:1 <IP> up

It indeed worked.

Thanks once again