- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Route delete error
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
05-14-2007 03:05 AM
05-14-2007 03:05 AM
Route delete error
I want to delete one of the fautly route entry
pls see the netstat output
netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
80.0.0.1 80.0.0.1 UH 0 lan2 4136
10.10.25.65 10.10.25.65 UH 0 lan1 4136
210.210.25.73 210.210.25.73 UH 0 lan0:1 4136
210.210.25.71 210.210.25.71 UH 0 lan0 4136
210.210.25.64 210.210.25.71 U 3 lan0 1500
210.210.25.64 210.210.25.73 U 3 lan0:1 1500
10.10.25.64 10.10.25.65 U 2 lan1 1500
80.0.0.0 80.0.0.1 U 2 lan2 1500
10.10.0.0 10.10.25.93 UG 0 lan1 0
10.10.25.0 10.10.25.93 UG 0 lan1 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 210.210.25.93 UG 0 lan0 0
#
in that i want to delete
10.10.25.0 10.10.25.93 entry ..
I removed this entry from /etc/rc.config.d/netconf file
and i restared /sbin/init.d/net server and inetd -c also .
aftere that i tried netstat command
netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
80.0.0.1 80.0.0.1 UH 0 lan2 4136
10.10.25.65 10.10.25.65 UH 0 lan1 4136
210.210.25.73 210.210.25.73 UH 0 lan0:1 4136
210.210.25.71 210.210.25.71 UH 0 lan0 4136
210.210.25.64 210.210.25.71 U 3 lan0 1500
210.210.25.64 210.210.25.73 U 3 lan0:1 1500
10.10.25.64 10.10.25.65 U 2 lan1 1500
80.0.0.0 80.0.0.1 U 2 lan2 1500
10.10.0.0 10.10.25.93 UG 0 lan1 0
10.10.25.0 10.10.25.93 UG 0 lan1 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 210.210.25.93 UG 0 lan0 0
#
the same output i got.
then i triend route delete 10.10.25.0 10.10.25.93 command
afterwards also i can see the same out that i mentioned above.
Please guide me how to delete that entry and one more query ?
How to add route entries propery ?
why because i add route entry in /etc/rc.config.d/netconf file and restarted network service.Is that the right way ?
How to add route entries through sam?
Why because i can use sam to add default route entry only i want to specify the route entry for lan too.
Pleae guide me how to do
Thanks in advance to you all
Regards,
Govindarajan R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2007 03:26 AM
05-14-2007 03:26 AM
Re: Route delete error
# route delete net 10.10.25.0 10.10.25.93 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 03:34 AM
05-15-2007 03:34 AM
Re: Route delete error
There is not a proper way to do anything in UNIX. Each user has their own method and as long as it works it's the correct way for them.
My personal method for managing routes is to manually add or delete the route from the command line with the "route add
e.g. route add net 192.168.5.0 netmask 255.255.255.0 extgateway 1
vi /etc/rc.config.d/netconf to add
ROUTE_GATEWAY[3]=extgateway
ROUTE_COUNT[3]=1
ROUTE_DESTINATION[3]="net 192.168.5.0"
ROUTE_MASK[3]=255.255.255.0
remembering to increate the [n] value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 04:02 AM
05-15-2007 04:02 AM
Re: Route delete error
>route add net 192.168.5.0 netmask 255.255.255.0 extgateway 1
should be...
route add net 192.168.5.0 netmask 255.255.255.0 gateway 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 04:56 PM
05-16-2007 04:56 PM