- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Route Issue
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
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
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
11-08-2011 06:50 AM
11-08-2011 06:50 AM
Customer has requested to add the following route on xyz houst:
Route to System add/delete Netmask Gateway
195.233.141.105 xyz add 255.255.255.255 195.233.141.1
xyz:/root#netstat -nr|grep 195.233.141.105
195.233.141.105 195.233.141.105 UH 0 lan5 4136
195.233.141.0 195.233.141.105 U 2 lan5 1500
xyz:/root#netstat -nr|grep 195.233.141.1
195.233.141.105 195.233.141.105 UH 0 lan5 4136
195.233.120.144 195.233.141.1 UGH 0 lan5 1500
195.233.120.146 195.233.141.1 UGH 0 lan5 1500
195.233.120.187 195.233.141.1 UGH 0 lan5 1500
195.233.120.170 195.233.141.1 UGH 0 lan5 1500
195.233.236.182 195.233.141.1 UGH 0 lan5 1500
195.233.236.213 195.233.141.1 UGH 0 lan5 1500
195.233.141.0 195.233.141.105 U 2 lan5 1500
195.233.120.142 195.233.141.1 UGH 0 lan5 1500
195.233.120.143 195.233.141.1 UGH 0 lan5 1500
default 195.233.141.1 UG 0 lan5 1500
While Adding the route, I am getting the following error:
anldeabh:/root#route add host 195.233.141.105 195.233.141.1 1
add host 195.233.141.105: gateway 195.233.141.1: entry in use
Please suggest where is the mistake
Solved! Go to Solution.
- Tags:
- route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 07:03 AM
11-08-2011 07:03 AM
Re: Route Issue
Look at the first line of your netstat output. The host 195.233.141.105 is already there.
195.233.141.105 195.233.141.105 UH 0 lan5 4136
This probably needs to be removed before you try to add it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 07:06 AM
11-08-2011 07:06 AM
Re: Route Issue
Hi Patrick
Would there be any issue in removing the route:
195.233.141.105 195.233.141.105 UH 0 lan5 4136
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 07:08 AM
11-08-2011 07:08 AM
Re: Route Issue
Is 195.233.141.105 the IP address of the local host? If so, you don't really need a route to 195.233.141.1 to get to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 07:16 AM
11-08-2011 07:16 AM
Re: Route Issue
Hi Patrick
The Ip address 195.233.141.105 belongs to lan5
anldeabh:/etc# ifconfig lan5
lan5: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 195.233.141.105 netmask ffffff00 broadcast 195.233.141.255
Also I tried to delete this route, but not able to delete it
anldeabh:/etc#route delete 195.233.141.105 195.233.141.105
delete host 195.233.141.105: gateway 195.233.141.105: no such route
anldeabh:/etc#route delete host 195.233.141.105 netmask 255.255.255.255 195.233.141.105
netmask: bad value
anldeabh:/etc#route delete net 195.233.141.105 netmask 255.255.255.255 195.233.141.105
delete net 195.233.141.105: gateway 195.233.141.105: no such route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 07:46 AM
11-08-2011 07:46 AM
SolutionOK, I am now confused. What exactly are you trying to accomplish?
You said:
Customer has requested to add the following route on xyz houst: Route to System add/delete Netmask Gateway 195.233.141.105 xyz add 255.255.255.255 195.233.141.1
If 195.233.141.105 is on lan5, why do you need to get to it via 195.233.141.1?