- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to flush routing table
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
тАО05-01-2002 12:25 AM
тАО05-01-2002 12:25 AM
# netstat -rn
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
172.xx.xx.xx 172.xx.xx.xx UH 0 2281 lan4:2 4136
172.xx.xx.xx 172.xx.xx.xx UH 0 170 lan4:3 4136
172.xx.xx.xx 172.xx.xx.xx UH 0 170 lan4:1 4136
172.xx.xx.xx 172.xx.xx.xx UH 0 198 lan4 4136
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:31 AM
тАО05-01-2002 12:31 AM
Re: How to flush routing table
Use the route command:
route -f delete .....
See: # man route
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:36 AM
тАО05-01-2002 12:36 AM
Re: How to flush routing table
# route -f delete net 172.xx.xx.233 172.xx.xx.233
delete net 172.xx.xx.233: gateway 172.xx.xx.233: No such file or directory
any explenation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:36 AM
тАО05-01-2002 12:36 AM
Re: How to flush routing table
From man page :-
-f Delete all route table entries that secify a remote host for a gateway. If this is used with one of the subcommands, the entries are deleted before the subcommand is processed.
Also route delete will delete individual routes.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:42 AM
тАО05-01-2002 12:42 AM
Re: How to flush routing table
Try using:
route delete net 172.xx.xx.233 172.xx.xx.233
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:42 AM
тАО05-01-2002 12:42 AM
Re: How to flush routing table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:46 AM
тАО05-01-2002 12:46 AM
Re: How to flush routing table
lan4:2
lan4:3
lan4:1
lan4
These are additional IP adresses bound to the same card - If you have more than one IP address on the card it is entirely correct to have a routing entry for each one. As to why you have more than one... well it could be because this system is running serviceguard, or it could be simply that another admin has configured it that way.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:46 AM
тАО05-01-2002 12:46 AM
Re: How to flush routing table
where 192.100.100.5 is the destination
and 192.100.100.1 is the gateway.
Take a look at
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe2b979bffde7d4118fef0090279cd0f9,00.html
HTH
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 12:49 AM
тАО05-01-2002 12:49 AM
Re: How to flush routing table
route delete net xxx.xxx.xxx.xxx netmask
If gated is running you might want to do this :
/sbin/init.d/gated stop
/sbin/init.d/net start
route delete ...
/sbin/init.d/gated start
look at this one as well:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4f731cc6003bd6118fff0090279cd0f9,00.html
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 05:36 AM
тАО05-06-2002 05:36 AM
Re: How to flush routing table
Looks like there are 3 additional IP Addressed being brought up on the same interface.
So as Duncan rightly pointed out, you need to consider whether you need to have the interfaces up and available.
Try this:
# ifconfig lan4:1 down
# ifconfig lan4:2 down
# ifconfig lan4:3 down
This will bring the lan interface down and then try the route delete command.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 06:00 AM
тАО05-06-2002 06:00 AM
Re: How to flush routing table
Did you try deleteing it one by one like
route delete
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 10:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 09:54 PM
тАО05-06-2002 09:54 PM
Re: How to flush routing table
I deleted them now and it's OK.
Regards,
Abdullah