- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- routing tables modified without knowing
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-21-2000 10:21 AM
тАО08-21-2000 10:21 AM
I have several UNIX servers running HP-UX 10.20 that were not able to communicate outside of our local network. After a little troubleshooting, I discovered that the routing tables contained the wrong gatways for several devices. Using netstat -nr, I immediatley noticed critical entries with the flags of UGHDM. The "M" stands for "modified : route has been modified from inital setting". (Usually this happens when the UNIX box receives an "ICMP redirect" from a router which causes the routing table entry to be re-defined.)
The problem was quickly resolved by removing the critical routes and adding them back with the correct gatways.
The gateway declared for the modified routes was the IP address of another CISCO router on our network! This router is only internal and knows nothing of the outside.
A clue here is that I know for a fact that I DID have problems with the true gatway.
But why did the 10.20 boxes just decide to plug in this other routers IP address as the gateway for these routing table entries?
I realize what had happened was normal but the question is WHY it happened. Why did the routing tables learn to use the IP address of this other router as the gatway once the system could not communicate with the only true interface that gets to the outside?
And yes I do know about the icmpinfo tool. And no lectures on static routes please.
Tony
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 10:41 AM
тАО08-21-2000 10:41 AM
Re: routing tables modified without knowing
The ICMP redirect error is sent by a router to the sender of an IP datagram when the datagram should have been sent to a different router. The only time you will see an ICMP redirect is when the host has a choice of routers to send the packet to. The "D" flag means the route was installed by an ICMP redirect.
A common use for redirects is to let a host with minimal routing knowledge built up a better routing table over time.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 11:01 AM
тАО08-21-2000 11:01 AM
Re: routing tables modified without knowing
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 01:17 PM
тАО08-21-2000 01:17 PM
Re: routing tables modified without knowing
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 01:25 PM
тАО08-21-2000 01:25 PM
Re: routing tables modified without knowing
It is the router - I suspect that it is not configured correctly. I have seen this problem before but can't remember exactly what caused it, I'm no expert on Cisco's.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 02:13 PM
тАО08-21-2000 02:13 PM
Re: routing tables modified without knowing
I have recalled some more of the problem that I saw...
The main WAN router (or its link) went down for a while and another router to a single network issued ICMP redirects for networks which it couldn't actually route to.
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2000 05:28 AM
тАО08-22-2000 05:28 AM
Re: routing tables modified without knowing
There were telecommunication failures on a T1 that the main router provided access to. Devices which required this gateway have detected undeliverable packets. The packets were automatically sent to the only other router available even though it did not go to the outside. At this point the routing tables were changed to reflect the new gateway. The new router sent ICMP events to the OS indicating that it was not possible to deliver the packets. OS decided to keep the routing tables incorrect instead of removing the bad gatways. I was left with a complete mess even after the T1 was repaired.
So far this is just a theory but I am still not satisfied. I need to understand the relationship between the routing tables and the routers and exactly what sequence of events led up to the change in the tables.
Thanks for your input.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2000 11:33 AM
тАО08-24-2000 11:33 AM
Solutionwas received. If this happens, the router sends an ICMP Redirect message to the packet's originator telling it that it is on a subnet directly connected to the router,
and that it must forward the packet to another system on the same subnet. It does so because the originating host presumably could have sent that packet to the next
hop without involving the router at all. The Redirect message instructs the sender to remove the router from the route and substitute a specified device representing a
more direct path.
You can disable ICMP Redirect Messages in the router, with "no ip redirects" command, or use this little awk script, scheduled every 15 minutes whit cron:
netstat -rn | awk '$3=/UGHD/ {system ("route delete "$1" "$2" ")}' > /dev/null
Best regards,
Sandor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2000 11:46 AM
тАО08-24-2000 11:46 AM
Re: routing tables modified without knowing
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2001 03:20 AM
тАО03-12-2001 03:20 AM
Re: routing tables modified without knowing
How can hpux be configured to avoid its routing table is updated by hackers/routers/... ?