1834798 Members
2937 Online
110070 Solutions
New Discussion

Re: ip on NIC

 
rudy_4
Advisor

ip on NIC

i have stratus 429 system with hpux 11
i installed 2 network cards with the same ip range and subnet 193.215.15.2 lan1
193.215.15.3 lan2 when i enable the second lan with thta ip the system disable the network cards but when i change it to a different subnet it work the question is can i have two network card in the same subnet if yes how thanks
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: ip on NIC

try looking at the replies to the same question you asked at:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xeac70bce6f33d6118fff0090279cd0f9,00.html

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Johan Gjestvang
Frequent Advisor

Re: ip on NIC

Hi,
No you can't. Every nic on your machine must point to
different subnets.

:-)
Johan Gjestvang
rick jones
Honored Contributor

Re: ip on NIC

by default if you configure two NICs in the same IP subnet, both will be used for inbound, but only one will be used for output.

you can alter that with some combination of:

1) explicit host routes for each destintation pointing at one or the other NIC

2) enable the strong end system model with ndd - ip_strong_es_model to one

strong es model will cause the source IP to be included in the route lookup - this will mean that if a packet comes-in on one interface, it will likely go out that same interface.

it also means that if a packet arrives on the "wrong" interface (packet with IP of other interface) it will be discarded.

if you want some sort of HA, you should get Auto Port Aggregation. That will combine the interfaces into one interface aggregate which looks like one interface to the transport. you can then put both IPs on that aggregate. if one link fails, everything will still flow through the other interface
there is no rest for the wicked yet the virtuous have no pillows