Operating System - HP-UX
1834391 Members
1813 Online
110066 Solutions
New Discussion

Re: How to config virtual IP address on AutoPort Aggregation logical interface?

 
hailerer
Advisor

How to config virtual IP address on AutoPort Aggregation logical interface?

Hi,we have a machine that has been deployed with autoport aggregation software,now we want to add some virtual ip address on lan900,how can we do?

pamis01#[/]lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
1/0/1/0/0/4/0 0x00306EA7FB87 2 UP lan2 snap2 1 ETHER Yes
119
1/0/4/0/0 0x00306E4A8AA0 3 UP lan3 snap3 2 ETHER Yes 119
0/0/12/0/0 0x00306E4A8A96 1 UP lan1 snap1 5 ETHER Yes 119
LinkAgg0 0x00306E4A8ADA 900 UP lan900 snap900 7 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 8 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 9 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 10 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 11 ETHER Yes 119

4 REPLIES 4
Hoefnix
Honored Contributor

Re: How to config virtual IP address on AutoPort Aggregation logical interface?

I think "ifconfig lan900 ....." should do the trick, but it did not work on our machine. We where thinking that this was caused by a problem with the switch.
I wonder if it works for you.

Regards,
Peter
hailerer
Advisor

Re: How to config virtual IP address on AutoPort Aggregation logical interface?

I did following command:
ifconfig lan900:1 10.xx.xx.xx netmask 255.255.255.0 broadcast 10.xx.xx.255 up
and then add some entries in /etc/rc.config.d/netconf file
INTERFACE_NAME[901]="lan900:1"
IP_ADDRESS[901]=10.xx.xx.xx
SUBNET_MASK[901]=255.255.255.0

Is these steps all right?
Elmar P. Kolkman
Honored Contributor

Re: How to config virtual IP address on AutoPort Aggregation logical interface?

As for virtual IP addresses, lan900:1 etc can be used, but as Peter said, this didn't seem to work if the IP addresses were not in the same subnet as the main IP address... Could be a router/switch problem, but I'm afraid it was not...
Every problem has at least one solution. Only some solutions are harder to find.
hailerer
Advisor

Re: How to config virtual IP address on AutoPort Aggregation logical interface?

Yeah,your answer is right.we will consider that all the virtual ip could be assigned in the same subnet.