1825897 Members
3057 Online
109689 Solutions
New Discussion

HP APA With IP Alias

 
Olivier FRANCOIS
New Member

HP APA With IP Alias

Hi,

I've two RX6600 on HP-UX 11.23.
I've configure HP APA in LAN MONITOR mode on each one.

And now, I want to use an Alias on my networks interface.

How can I configure a second IP address to this net interface.


example :

LinkAgg0 0x0017A451A3DD 900 UP lan900 snap900 7 ETHER Yes 119

lan900: flags=8000000000001843
inet 172.16.12.48 netmask ffff0000 broadcast 172.16.255.255

thanks,

5 REPLIES 5
Court Campbell
Honored Contributor

Re: HP APA With IP Alias

In netconf add something like this:

INTERFACE_NAME[1]="lan900:1"
IP_ADDRESS[1]="192.168.0.71"
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0

You can set it via ifconfig too. But make sure to put in netconf to make it static.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Torsten.
Acclaimed Contributor

Re: HP APA With IP Alias

You can use a syntax like lan0:1 to create a second IP address on a second subnet, see

http://docs.hp.com/en/B2355-60105/ifconfig.1M.html

(in your case lan900:1)

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!   
Mel Burslan
Honored Contributor

Re: HP APA With IP Alias

Not that I tried this but did you already try

ifconfig lan900:1 inet 172.16.12.X (x is whatever you choose) netmask 255.255.0.0 up

command ?
________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: HP APA With IP Alias

Remember, you need to configure another subnet:

"IP Index Number

Multiple IP addresses assigned to the same interface may be in _different_ subnets. An example of an interface name without an IP index number is lan0. An example of an interface name with a IP index number is lan0:1. Note: specifying lan0:0 is equivalent to lan0."

man ifconfig

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!   
Olivier FRANCOIS
New Member

Re: HP APA With IP Alias

Thanks to all.

Dear Court Campbell you gave me the solution.

In fact my needed is an temporary IP so i use ifconfig

I explain.

I develop on my servers a manual cluster with oracle/tuxedo and weblogic applications. with an MSA1500 SAN

And my cluster work fine without MC Service Guard.

thanks

best regards