Operating System - HP-UX
1834789 Members
2579 Online
110070 Solutions
New Discussion

Multiple IP address for a LAN card

 
SOLVED
Go to solution
Sundar_7
Honored Contributor

Multiple IP address for a LAN card

Hi all,

IS it possible for a LAN card to have

more than one IP address.

If yes,how can we do that.

can any body send the documentation for that

Thanx in anticipation

Sundar
Learn What to do ,How to do and more importantly When to do ?
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Multiple IP address for a LAN card

For HP-UX 10.x you need to install the ifalias patch for the correct version, obtainable via the patch services on this web site.
For HP-UX 11.x use ifconfig.
man ifconfig
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Insu Kim
Honored Contributor
Solution

Re: Multiple IP address for a LAN card

For HP-UX 10.20, use ifalias.
For instance,
To assign 15.10.10.10 for a adaptor lan0,

# ifalias lan0 add 15.10.10.10
Check this out using netstat!
# netstat -in -I lan0
To delete this entry in routing table,
# ifalias lan0 del 15.10.10.10

It's much more easier to implement this at HP-UX 11.0.
# ifconfig lan0:1 15.10.10.10 or
# ifconfig lan0:2 15.10.10.10
To remove this in routing table,
# ifconfig lan0:2 0.0.0.0

Best regards,
Never say "no" first.