1833665 Members
3730 Online
110062 Solutions
New Discussion

two ip address

 
hongjing_zhang
Trusted Contributor

two ip address

how can I config two ip address on one network card? and if it affect that MC/serviceguard
4 REPLIES 4
Clemens van Everdingen
Honored Contributor

Re: two ip address

Hi,

See forum discussion:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd84068c57f64d4118fee0090279cd0f9,00.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Ravi_8
Honored Contributor

Re: two ip address

Hi,

You can 2 IP address for one interface,
sam-->networking and communications-->network interface cards-->select the interface
select ACTIONS
Add IP Logical Interface
never give up
U.SivaKumar_2
Honored Contributor

Re: two ip address

Hi,
In HP-UX 11.X
Original interface
#ifconfig lan0
Virtual interface
#ifconfig lan0:1
MC service guard will not have problems as far as the heartbeat LAN ip address is
reachable. For example if lan0
is transmiting heartbeat , adding a virtual interface lan0:1 will not stop lan0 operations.

regards,
U.SivaKumar

Innovations are made when conventions are broken
Peter Klausner_1
Frequent Advisor

Re: two ip address

Hi,

edit the /etc/rc.config.d/netconf two configure 2 ip-addresses permanently

Example:

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.122.13.65
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=10.122.13.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0

IP_ADDRESS[1]=10.104.1.66
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan0:1
BROADCAST_ADDRESS[1]=10.104.1.255
INTERFACE_STATE[1]=up

for configuring it temporarly you have to use ifconfig.


Peter