- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hosts file
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
12-27-2004 02:36 AM
12-27-2004 02:36 AM
hosts file
128.1.200.80 hpnclass hpnclass
#128.1.200.90 hpnclass hpnclass
#128.1.200.91 hpnclass hpnclass
#128.1.200.92 hpnclass hpnclass
#128.1.200.93 hpnclass hpnclass
The four IP addresses that are commented out are bound to a 4port NIC that is installed on my system (but is currently disabled).
I have a service running that is configured to listen on //hpnclass:4048. This works fine when just the single IP address is running. As soon as I activate the 4 ports on the NIC and uncomment the IP addresses, I am unable to reach this service.
The additional NIC cards are for a network load balancing device. The single IP (128.1.200.80) will be disabled and commented out of /etc/hosts when this goes active.
If I were to change the hostname of the additional IPs (90 - 93), but keep the aliases the same, what would be the effect of doing this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 02:48 AM
12-27-2004 02:48 AM
Re: hosts file
The basic problem that I see is that you have *multiple* IPs in the *same* subnet in that system. This is a totally unsupported configuration due to the fact that you cannot guarantee just *which* IP the traffic will come in on. You can force it out a certain IP - BUT if that's not what the router sent it to it's liable to be rejected.
Remember IPs are only for us mortals. The network does everything be MAC addresses and there are rules that routers will enforce. Like the traffic better come back to it from the MAC to which it sent it - lest it think it's getting "spoofed" traffic.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 02:54 AM
12-27-2004 02:54 AM
Re: hosts file
Ip-adresses should be unique. What you do is specify the same hostname to multiple ipadresses all in the same subnet i assume.
I do not think i would get this working correct.
I would advice you to take a look at APA software. This way you can specify the same ipadress on multiple interfaces (channels). This product is not for free. More info can be found at:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4240AA
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 03:05 AM
12-27-2004 03:05 AM
Re: hosts file
What I do is set up a virtual server on the F5 box that every one would send their request to. Based on the type of service being requested, the F5 would then send it to the server on one of those interfaces.
If I do a ping of the virtual server and the network address associated with the F5 box,I can check my arp cache and see that the MAC address is exactly the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 05:53 AM
12-28-2004 05:53 AM
Re: hosts file
Indeed, having multiple physical NICs in the same subnet is not straightforward under HP-UX. All NICs will be used for inbound, but only one NIC will be used for outbound. If the NICs do not have equal connectivity, this will manifest as an inability to reach the system. You can establish specific host and subnet routes to route traffic out specific NICs, or you can set ip_strong_es_model, which will generally force replies out the interface on which the request arrived - it though also means that only on the NIC with the corresponding IP will traffic to that IP be accepted.
Why do you want the additional IPs and ports? do you really want additional IPs, or is that just an artifact of enabling additional ports? To put the four-port card in action with the one IP, you might consider using Auto Port Aggregation - you would bind the four ports together into an "aggregate" which would then look to the transport like a _single_ physical NIC. You could then put your IP address(es) on that aggregate. (You would still want the IP subnet for the .80 NIC to be different from the .9X four-port. Docs for APA are on docs.hp.com.
And, I've always thought that hostnames were for humans, and IPs were for routers and MAC's were for switches and NICs :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 01:47 PM
12-28-2004 01:47 PM
Re: hosts file
In order to make 4 cards load balancing, I recomend you use HP Auto Port Aggregation.
read "J4240-90018" docs for installation.
Best regard
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 11:01 PM
12-28-2004 11:01 PM
Re: hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 12:52 AM
12-29-2004 12:52 AM
Re: hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 01:02 AM
12-29-2004 01:02 AM
Re: hosts file
Yes it runs on HP-UX 11 also.
See APA Support guide for v11 below
http://docs.hp.com/en/J4240-90027/ch01.html
regards,
Syam