- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to force hpux to send packets out a partic...
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-17-2004 05:34 PM
06-17-2004 05:34 PM
Was wondering how we can make hp-ux send data out a particular interface, when there are more than one interface on the machine and when both those interfaces are on the same subnet and neither of them are the default route (which exists on yet another interface).
ie there are 3 interfaces, one has the default route on subnet A, and the other two have two unique IP addresses on subnet B, but we only want packets to leave the box on one of those interfaces, and not the other?
How can we force HP-UX to do this? Is it to do with the way the lan cards/routes are listed in netstat -rn? how can we "bump up" in the list the entry for the particular lan card we want packets to leave on? Is it determined by the PPA number of the lan card? Or what?
Much appreciate any advice on this, and in general, how the internal routing on HP-UX works.
Thank you,
- Andrew Gray
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 06:02 PM
06-17-2004 06:02 PM
Re: how to force hpux to send packets out a particular interface
Two lan cards on the same subnet is not a supported configuration by HP though you can make it to work.
I believe the last interface configured on the system will be used to send the packets out. Receiving can be done on any interface based on how the packets were addressed to.
So if you want this setting to be retained after the reboot, make sure the interface from which you want to send the packets out got a higher index number in /etc/rc.config.d/netconf file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 06:04 PM
06-17-2004 06:04 PM
Re: how to force hpux to send packets out a particular interface
If your idea is to aggregate teh bandwidth, I suggest you use APA spending some $$ - Auto Port Aggregation which is meant for that purpose.
docs.hp.com has documents on it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 06:15 PM
06-17-2004 06:15 PM
Re: how to force hpux to send packets out a particular interface
Thanks for that info.
What about if it was the same lan card, but different aliased IP addresses? For example MC/ServiceGuard does this with packages. This way, you would have different IP addresses configured, but you wanted packets to that network to only go out one from one ip address?
I wasn't thinking of bandwidth aggregation. Was more thinking about how to modify the way the packets are sent out.
I didn't know that multiple interfaces on the same subnet were not supported on HP-UX. Is that really the case? Surely it's not that hard to implement? What is the limitation?
Thanks again!
- Andrew Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:03 PM
06-18-2004 05:03 PM
Re: how to force hpux to send packets out a particular interface
Two interfaces on the same subnet is not supported in HP-UX, though it is very easy to configure, as you said.
When you configure 2 interfaces on the same subnet, I found that the CDE does not work properly, rlogin will not work and I do not know what other problems can come.
Serviceguard has the inbuilt feature to handle this same subnet IP configuration. However, outside serviceguard it is not supported.
Hope this helps.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 08:28 PM
06-18-2004 08:28 PM
SolutionI'm not sure that multiple _physical_ interfaces in the same subnet is "unsupported" but it is something that may not always provide the behaviour one first expects.
As for the order of routes and such, one cannot rely on that, and if you do, you will only be asking for trouble later. The only "ordering" on which one can rely is that routes will be selected based on the closest match first (host, net, default) taking source IP address into consideration if ip_strong_es_model is set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 05:11 AM
06-20-2004 05:11 AM
Re: how to force hpux to send packets out a particular interface
The fact that HP doesn't support this configuration is from the following document - LAN administrator's guide.
http://docs.hp.com/hpux/onlinedocs/B2355-90796/B2355-90796.html
Look at the Troubleshooting Q&A.
You can configure logical interfaces (like lanx:1 etc) even outside serviceguard which is different from your configuration where the physical interface is different.
The outbound IP address/interface is determined by the order the subnet route appears in the systems' routing table.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 10:59 AM
06-20-2004 10:59 AM
Re: how to force hpux to send packets out a particular interface
Thank you for your input. There is some very informative stuff there. Although there are a few conflicting opinions too, which it would be nice if they were resolved. But I get the general idea.
ip_strong_es_model
I would love to know what "ip_strong_es_model" is and what it means.
Thank you once again.
- Andrew Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 09:01 AM
06-22-2004 09:01 AM
Re: how to force hpux to send packets out a particular interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 07:44 AM
06-23-2004 07:44 AM
Re: how to force hpux to send packets out a particular interface
ndd -set /dev/tcp ip_strong_es_model 1
and my window got hung. I have to caution you when using this option. I fixed the problem by getting on the Console, and reverting this to default or 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 08:02 AM
06-23-2004 08:02 AM
Re: how to force hpux to send packets out a particular interface
That probably happened because you're connection was not achieved using the proper route. You essentially hung your session because the route your traffic was using was not standard and you were set an enforcement of proper routing. Don't blame the OS for this - it was merely doing what you asked it to do.
If one is to make this change they should do it from the console during a quiescent period or from run-level 1 by manually editing the /etc/rc.config/nddconf file *before* coming up to run-level 3.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 09:22 AM
06-23-2004 09:22 AM
Re: how to force hpux to send packets out a particular interface
That is part of the "strength" of the strong ES model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 04:39 PM
06-23-2004 04:39 PM
Re: how to force hpux to send packets out a particular interface
Rick- can you clarify about "datagrams", I always think of a datagrams as an unreliable delivery or UDP if you will, rather than the tcp transport being used by Telnet. I'm sure I'm patched all the way up for these gelan cards.. thanks to the ASE Jeff working on our acct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 04:41 PM
06-23-2004 04:41 PM
Re: how to force hpux to send packets out a particular interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 04:48 PM
06-23-2004 04:48 PM
Re: how to force hpux to send packets out a particular interface
- Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 04:05 AM
06-24-2004 04:05 AM
Re: how to force hpux to send packets out a particular interface
sooo, we could in theory have a frame, which contains an IP datagram fragment which contains part of a TCP segment.
wrt the only accept datagrams (I used the term datagrams because it was an IP layer decision) on the matching interface in ip_strong_es_model... folks might go ahead and excercise the support contract(s) (everyone is getting support contracts right?-) and ask for, oh, lets call it the ip_firm_es_model, that would have the outbound charactersitics of the ip_strong_es_model = 1, but the inbound characteristics of the ip_strong_es_model = 0 (ie the weak ES model). i'd probably not add a new ndd setting, but simply a new value for ip_strong_es_model = 2 comes to mind as a possibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 10:44 AM
06-24-2004 10:44 AM
Re: how to force hpux to send packets out a particular interface
Great idea? How about a feature request??
- Andrew Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 08:27 PM
07-29-2004 08:27 PM
Re: how to force hpux to send packets out a particular interface
- MC/Service Guard
- A machine that only receives from an IP address
- Multiple lan cards.
My solution is to enable lan1:1 on /etc/rc.config.d/netconf like this
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=0.0.0.0
INTERFACE_NAME[4]=lan1:1
IP_ADDRESS[4]=192.168.1.2
(...)
You can set up lan1 on "customer_defined_run_cmds" in the control script of MC/Service Guard with:
ifconfig lan1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
(this is th IP that we need to send packets)
and disable lan1 on
"customer_defined_halt_cmds" with
ifconfig lan1 0.0.0.0
(this is to avoid duplicate IP address on your environment in case of packet switching)
Let me know if it works for you
Have a nice day ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2004 01:09 PM
08-01-2004 01:09 PM
Re: how to force hpux to send packets out a particular interface
There is a better way to do this in MC/ServiceGuard. eg in the cntl file:
IP[0]="203.12.1.10"
SUBNET[0]="203.12.1.0"
This sets the parameters for the IP address which get setup in the HP defined procedure "add_ip_address".
- Andrew