HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 1 interface 2 ip?
Operating System - HP-UX
1833059
Members
2483
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:22 PM
05-19-2004 07:22 PM
How can i bind 2 ipaddress to 1 interface?
Have anyone done this before?
what are the steps needed to do for it to work
Have anyone done this before?
what are the steps needed to do for it to work
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:30 PM
05-19-2004 07:30 PM
Solution
multiplexing. that's the way.
# vi /etc/rc.config.d/netconf:
INTERFACE_NAME[3]=lan0:0
IP_ADDRESS[3]=128.4.1.1
SUBNET_MASK[3]=255.255.0.0
INTERFACE_NAME[3]=lan0:1
IP_ADDRESS[3]=128.4.1.2
SUBNET_MASK[3]=255.255.0.0
# /sbin/init.d/net stop
# /sbin/init.d/net start
take note that the above is an example. do let me know the result.
regards.
# vi /etc/rc.config.d/netconf:
INTERFACE_NAME[3]=lan0:0
IP_ADDRESS[3]=128.4.1.1
SUBNET_MASK[3]=255.255.0.0
INTERFACE_NAME[3]=lan0:1
IP_ADDRESS[3]=128.4.1.2
SUBNET_MASK[3]=255.255.0.0
# /sbin/init.d/net stop
# /sbin/init.d/net start
take note that the above is an example. do let me know the result.
regards.
what you do not see does not mean you should not believe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:35 PM
05-19-2004 07:35 PM
Re: 1 interface 2 ip?
hi
for 11i use the ifconfig commands
ifconfig lan0:1 192.168.100.1 netmask 255.255.255.0 up
will make the interface running....
to make the changes permanent, put the following entries in /etc/rc.config.d/netconf
IP_ADDRESS[1]=192.168.100.1
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan0:1
BROADCAST_ADDRESS[1]=192.168.100.255
INTERFACE_STATE[1]=up
U can do it through sam also...
sam --> networking and communications -->Network interface cards -->select lan0 --> actions --> add ip logical interface.
In 10.x you need to install a patch for the same. as far as i remember it is PHCO12492 and it adds a command ifalias...
with best wishes
Naveej
for 11i use the ifconfig commands
ifconfig lan0:1 192.168.100.1 netmask 255.255.255.0 up
will make the interface running....
to make the changes permanent, put the following entries in /etc/rc.config.d/netconf
IP_ADDRESS[1]=192.168.100.1
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan0:1
BROADCAST_ADDRESS[1]=192.168.100.255
INTERFACE_STATE[1]=up
U can do it through sam also...
sam --> networking and communications -->Network interface cards -->select lan0 --> actions --> add ip logical interface.
In 10.x you need to install a patch for the same. as far as i remember it is PHCO12492 and it adds a command ifalias...
with best wishes
Naveej
practice makes a man perfect!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:36 PM
05-19-2004 07:36 PM
Re: 1 interface 2 ip?
You can do it with ifconfig also:
# ifconfig lan0:1 UP
Check whether it is working fine and ofcourse to make the changes permanent follow Loo's method.
Hope that helps.
Regards,
# ifconfig lan0:1
Check whether it is working fine and ofcourse to make the changes permanent follow Loo's method.
Hope that helps.
Regards,
You need to know a lot to actually know how little you know
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP