- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 ethernet address, two different ip
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
Forums
Discussions
Discussions
Discussions
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
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
07-16-2003 06:05 AM
07-16-2003 06:05 AM
I need help in configuring two separate ethernet interface with two different ip address. This won't be done until later but need to make sure is right before implementing the changes. The lan0 has ip address 10.X.X.X
and the lan1 has ip address of 10.X.X.Z.
I changed the /etc/rc.config.d/netconf and looks like the following:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.X.X.X
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=10.X.X.Y
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=10.X.X.Z
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=10.X.X.Y
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0
Do I need to configure any more files in order for two interface to work? Thanks.
H
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 06:42 AM
07-16-2003 06:42 AM
Re: 2 ethernet address, two different ip
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 06:45 AM
07-16-2003 06:45 AM
Re: 2 ethernet address, two different ip
In this example, because your subnet is 255.255.255.0 the network is the first three octets of the IP address
both networks are 10.X.X
That is a good way to lock up your machine or drop it right off the network. Trust me, I've got the tee-shirt on this one, tried it myself.
If you are attempting to team the NIC cards or create a failover situation, you need to purchase APA, Auto Port Agregation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 07:03 AM
07-16-2003 07:03 AM
Re: 2 ethernet address, two different ip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 09:25 PM
07-16-2003 09:25 PM
Re: 2 ethernet address, two different ip
Above configuration is OK
After editing /etc/rc.config.d/netconf file i wll suggest u to reboot the system for proper binding the lan interfaces.
And also put the entry in /etc/hosts file
Check the interfaces after rebooting use the command ifconfig,lanscan,netstat,lanadmin