- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Muliple IP's
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО10-07-2010 09:35 PM
тАО10-07-2010 09:35 PM
Muliple IP's
How can I assign multiple IP's to a single interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2010 10:20 PM
тАО10-07-2010 10:20 PM
Re: Muliple IP's
yes you can assign multiple IP'S to a single interface.To assign a second IP address,you add a logical instance number to a LAN adapter name.
The following command adds a second IP address, 192.168.3.5, to lan3.
#ifconfig lan3:1 192.168.3.5 netmask 255.255.255.0 broadcast
192.168.3.255 up
# netstat -in
Name Mtu Network Address Ipkts Opkts
lan3 1500 192.168.3.0 192.168.3.1 0 0
lan0 1500 192.168.2.0 192.168.2.11 31740 32864
lo0 4136 127.0.0.0 127.0.0.1 303 303
lan3:1 1500 192.168.3.0 192.168.3.5 0 0
#
To make it permanent, you have to add its configuration the /etc/rc.config.d/netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2010 10:51 PM
тАО10-07-2010 10:51 PM
Re: Muliple IP's
The method is IP Multiplexing that means binding more than one IP address to a single network interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2010 10:54 PM
тАО10-07-2010 10:54 PM
Re: Muliple IP's
My current entry:
DEFAULT_INTERFACE_MODULES=""
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.10.96
DHCP_ENABLE[0]=0
SUBNET_MASK[0]=255.255.255.0
ROUTE_MASK[0]=0.0.0.0
ROUTE_GATEWAY[0]=192.168.10.1
BROADCAST_ADDRESS[0]=""
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2010 11:05 PM
тАО10-07-2010 11:05 PM
Re: Muliple IP's
should be like this:
EX:-
INTERFACE_NAME[0]="lan3"
IP_ADDRESS[0]=192.168.3.1
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[1]="lan3:1"
IP_ADDRESS[1]=192.168.3.5
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2010 06:17 AM
тАО10-10-2010 06:17 AM
Re: Muliple IP's
It will be like:
NTERFACE_NAME[1]="lan3:1"
IP_ADDRESS[1]=192.168.3.5
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0
chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 01:32 AM
тАО11-10-2010 01:32 AM
Re: Muliple IP's
This is the command for logical multiplexing.
ifconfig lan1:1 172.16.20.6 netmask 255.255.255.0 up
ifconfig lan1:2 172.16.20.8 netmask () up
on and on
Just remember lan1:0 is the same as lan1.
unplumb on a logically multiplexed interface (lan1:2) will not work.
Regards