Operating System - HP-UX
1748149 Members
3773 Online
108758 Solutions
New Discussion юеВ

Re: Two lan cards for one server

 
bijoy k
Advisor

Two lan cards for one server

Hi Gurus..

I have 2 lan cards configured in one Server , in which the interface names are lan0 and lan1.

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.214.8.67"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

DEFAULT_INTERFACE_MODULES=""
INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="10.214.8.68"
SUBNET_MASK[1]="255.255.255.0"

Can anyone tell me , how can I use this interfaces to enable for load balancing and for
redundancy ?
Pls let me know , If you need any more information on this.

Thanks in Advance...

Bijoy
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Two lan cards for one server

You should purchase and install Auto Port Aggregation:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4240AA


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: Two lan cards for one server

Shalom,

Older releases of HP-UX will not permit two NIC cards to be on the same network as you have done. This still may be the case, I've been told its possible but have not taken the time to test it.

That could be the problem.

APA, auto port aggregation would get you around that but that has to be paid for as an add in product.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
bijoy k
Advisor

Re: Two lan cards for one server

Hi..

just to update ,

The OS version of the Server is 11.23
bijoy k
Advisor

Re: Two lan cards for one server

Hi Guys..

Thanks for your quick response..

My question is , whether we can have any option to separate inbound and outbound traffic of the data to the 2 cards available in the Server without having APA installed.

Can I have redundancy for the lan cards through modifying the lan card configurations ?

Regards..

Bijoy
Maxim Yakimenko
Super Advisor

Re: Two lan cards for one server

Hi,

If you need to balance inbound and outbound traffic then you should play with routing.

If you need redundancy you should use APA as collegues said. Can you describe the task of this machine? What you exactly need? :)
Maxim Yakimenko
Super Advisor

Re: Two lan cards for one server

Also, I suppose, primitive way to made them redundant is to assign (may be temporary) alias.

For example lan0 fails and you assign its IP to lan1 as alias. You will get

lan1 x.x.x.68
lan1:1 x.x.x.67

But it is manual way. May be there is way to automaticaly check death of interface and automaticaly assign alias to alive NIC
bijoy k
Advisor

Re: Two lan cards for one server

Hi ..

In the Server , we have 2 lan cards confgired as ,

NTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.214.8.67"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

DEFAULT_INTERFACE_MODULES=""
INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="10.214.8.68"
SUBNET_MASK[1]="255.255.255.0"

My requirement is to activate the lan1 alongwith the IP of lan0 ( 10.214.8.67 ), in case the lan0 fails.

and also , In Normal case it Load sharing should happen between both cards.

Anyway to achieve this ? with built-in configuration or via changing the network routing configurations ?

Many Thanks...

Bijoy
Ganesan R
Honored Contributor

Re: Two lan cards for one server

Hi Bijoy,

>>>My requirement is to activate the lan1 alongwith the IP of lan0 ( 10.214.8.67 ), in case the lan0 fails. <<<


It is possible with APA lan monitor configuration but with one exception. Lan1 should be unused and idle. In your case lan1 is already being used with different IP. APA lan monitor is something like you can make one unused card as redundancy for other card. This unused card will monitor the primary card and will active if primary fails.

>>and also , In Normal case it Load sharing should happen between both cards.<<

How can you expect the load sharing when both the cards are having different ip's. Again you need to go far APA licensed version to achieve this. You need to aggregate multiple lan cards to have one single ip to share the load.

Hope this helps...
Best wishes,

Ganesh.