- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SO_DONTROUTE, ping -r
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
10-30-2001 09:52 AM
10-30-2001 09:52 AM
SO_DONTROUTE, ping -r
The situation is I have 2 seperate networks (phsical and logical). When one failed, I added an alternate route to it's host via the other network (all hosts are multi-homed).
So now I can ping it via this route, the question is how can I test it via the other 'direct' path, without removing my alternate route?
I'd thought ping -r meant bypass routing table, but when I specified this it still succeeded, while traceroute -s did what I wanted i.e. failed.
I've attached the details, any guidance appreciated.
Regards, John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 10:05 AM
10-30-2001 10:05 AM
Re: SO_DONTROUTE, ping -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 02:50 AM
10-31-2001 02:50 AM
Re: SO_DONTROUTE, ping -r
The problem with linkloop level testing is this is all supposed to be done in a program, and I'm a lazy soul.
To test the physical layer I'd need the MAC address. I don't want to statically configure this, so I'd have to look in the arp cache for it. But if all outgoing traffic to that IP is currently routed via an alternate interface, I'd guess an explicit arp broadcast would be required to obtain the MAC.
All in all, a lot of work.
My current implementation is using ICMP sockets to do the testing, so my ideal solution would be to somehow test the direct route at ICMP level. Which is where I seem to have come unstuck.
I'm also curious as to the semantics of SO_DONTROUTE, as I can't discern any change in behaviour when it is set.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:12 AM
10-31-2001 03:12 AM
Re: SO_DONTROUTE, ping -r
ping -r will bypass the routing table and it will try to ping a host that is on the same network. So if ping -r
Being on two separate hubs (ie cascaded from one to another) don't mean that they are on different network. Different network segments should be splitted by network cards.
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 06:20 AM
10-31-2001 06:20 AM
Re: SO_DONTROUTE, ping -r
Thanks for the help,
John