- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 ip on same network & machine
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
06-02-2003 04:21 AM
06-02-2003 04:21 AM
2 ip on same network & machine
For example:
lan0 = 172.21.115.10
lan1 = 172.21.115.11 (new)
How will I know when I telnet to another machine that I use lan0 for the connection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 04:36 AM
06-02-2003 04:36 AM
Re: 2 ip on same network & machine
netstat -a
to check this out.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:01 AM
06-02-2003 05:01 AM
Re: 2 ip on same network & machine
#netstat -rn
shows you used one is lan0 or lan1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:15 AM
06-02-2003 05:15 AM
Re: 2 ip on same network & machine
The interface used for outbound packets to that subnet will be the first one listed in the netstat -rn command.
See the routing man page (man 7 routing).
This is assuming hp-ux 11.0 or higher.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:24 AM
06-02-2003 05:24 AM
Re: 2 ip on same network & machine
netstat -rn will show you corresponding IP address for lan0 or lan1
As per your example if you use 172.21.115.10 to telnet then you are using lan0 and if 115.11 that means lan1
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 12:13 PM
06-02-2003 12:13 PM
Re: 2 ip on same network & machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 09:05 AM
06-03-2003 09:05 AM
Re: 2 ip on same network & machine
otherwise, if you want HA or load balancing across the two NICs configured into the same subnet, you should consider getting the Auto Port Aggregation software - it can trunk the two NICs together and present a single virtual NIC to the transport.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 12:07 PM
06-03-2003 12:07 PM
Re: 2 ip on same network & machine
While this can be kind of made to work, understand that all outbound traffic will be on the same NIC.
While you can force the system to use the same NIC to send on which it received, there is another huge flaw.
Most applications will not use multi-home lookups, so however you resolve the host it will not happen 99% of the time in a round robyn fashion. DNS and sendmail are to exceptions from the top of my head. Most applications however will only take the first entry from DNS, NIS, and /etc/hosts.
You may be wasting money by simply adding a NIC, depending on what you are trying to accomplish.
Sincerely,
Shannon