- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- force packets to pass through a specified segment
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-28-2003 11:50 AM
07-28-2003 11:50 AM
a.b.x.3
a.b.y.5
a.b.x.1 is the the gateway for default, now if I want to ping a destination, and have ping command go through the NIC of a.b.y.5. Can I do that? and how?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 12:01 PM
07-28-2003 12:01 PM
Re: force packets to pass through a specified segment
Why ask the same question 3 times? Wont get results any better, and maybe even worse.
Second,
No, you can not force the traffic through a specific NIC as it's either address or router specific.
If your trying to ping something outside of your defined networks, all traffic will go through the default router.
The way that TCP/IP works is very well documented and established. You may want to pick up a book by O'Reilly and Associates on TCP/IP (the definitive guide).
If you are configured to go through a gateway, you can not take 1 packet type and move it to a different NIC. It's an all or nothing scenario.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 05:34 PM
07-28-2003 05:34 PM
Solutionroute add net C.D.E a.b.y.254 1
(I think that's the right format for HPUX but I'm going from memory here so check your man page for route. You need the 1 so it will know that the gateway is not itself. You might prefer to do a route to a single host then you would have the least impact on other operations) Verify that the route took by doing
netstat -rn
Now when you ping it will check the routing table and find that the route goes out through a.b.y.5 and it will take that route. You might want to do
traceroute C.D.E.F
instead of a ping. That will prove that it went the correct way.
When you are finished you will probably want to put it back the way it was with a route delete
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 05:55 AM
07-29-2003 05:55 AM
Re: force packets to pass through a specified segment
I did not purposely create 3 same messages.
The web page did not move on to next page when I first time click the "Submit" bottom, so I clicked twice. This caused 2 messages coming up.
After I submit the page, I thought that it might be better to ask the question in "networking" section, in stead of "administration" section. So, I did it again.
Sorry for the confusion, and I learnt the process of sumitting questions.
Anybody else for my question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 05:59 AM
07-29-2003 05:59 AM
Re: force packets to pass through a specified segment
route add host h.o.s.t g.a.t.e
or
route add net n.e.t.w m.a.s.k mask g.a.t.e
you'll send the packet tru the corresponding NIC.