• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Configure HPUX 11.11 interface with 2 ip addresses

How do I configure a single HPUX 11.11 interface with 2 ip address?
0
changysc
Asked:
changysc
  • 2
1 Solution
 
wesly_chenCommented:
Hi,

As root, type
# ifconfig IF:0 ip-address up
# ifconfig IF:1 <another ip> up

Where IF is the InterFace name, use "ifconfig -a" to see.

Wesly
0
 
wesly_chenCommented:
Or edit /etc/rc.config.d/netconf
----------------
INTERFACE_NAME[0]=LAN0  <====
IP_ADDRESS[0]=1.2.3.99
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0

INTERFACE_NAME[1]=LAN0:1 <=====
IP_ADDRESS[1]=1.2.3.88
SUBNET_MASK[1]=255.255.255.0  
BROADCAST_ADDRESS[1]=""
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0
-------------
Wesly
0
 
changyscAuthor Commented:
Thanks wesly, it worked.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now