![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When to use static route on server? | DrivesMeCrazy | IP Networking | 4 | 07-08-2009 08:32 AM |
| permanently add static route | beaker457 | Red Hat | 1 | 04-17-2009 03:16 PM |
| Static Route | Arun.Kakarla | UNIX for Dummies Questions & Answers | 2 | 07-17-2008 09:07 AM |
| Static route for hpux 11.22 | catwomen | HP-UX | 2 | 10-10-2006 09:55 AM |
| static route ? | chaandana | IP Networking | 3 | 07-05-2005 03:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Can not remove static route from AIX 5.3
Dear all,
I Try to remove a static route with smitty, but recieve this error: Method error (/usr/lib/methods/chginet): 0514-009 Cannot delete an object from the device configuration database. 0821-216 chginet: Cannot delete route (net,192.168.30.101,192.168.30.1) from CuAt. My routing table looks like this (the route I want to remove is marked red): biete 11:40:48 root:/u01# netstat -rn Routing tables Destination Gateway Flags Refs Use If Exp Groups Route Tree for Protocol Family 2 (Internet): default 10.180.1.1 UG 102 35179371 en2 - - 10.180.0.0 10.180.1.81 UHSb 0 0 en2 - - => 10.180/21 10.180.1.81 U 131 321332968 en2 - - 10.180.1.81 127.0.0.1 UGHS 4 3786348 lo0 - - 10.180.7.255 10.180.1.81 UHSb 0 5 en2 - - 127/8 127.0.0.1 U 15 2409 lo0 - - 192.168.20.10 192.168.30.1 UGHS 5 15967231 en3 - - 192.168.30.0 192.168.30.121 UHSb 0 0 en3 - - => 192.168.30/24 192.168.30.121 U 2 272 en3 - - 192.168.30.101/32 192.168.30.1 UGS 0 54 en3 - - 192.168.30.121 127.0.0.1 UGHS 0 145 lo0 - - 192.168.30.255 192.168.30.121 UHSb 0 5 en3 - - The command with smitty looks like this: Destination TYPE host * DESTINATION Address [192.168.30.101] (dotted decimal or symbolic name) * Default GATEWAY Address [192.168.30.1] I also tried Destination TYPE net, but error the same. I tried to delete route with command line, but got some errors: biete 11:46:02 root:/u01# route delete 192.168.30.101 gw 192.168.30.1 0821-287 gw: bad value biete 11:46:20 root:/u01# route delete 192.168.30.101 0821-279 writing to routing socket: The process does not exist. biete 11:46:24 root:/u01# Can anyone please help me with some tips how to delete unwanted route? |
|
||||
|
Hi!
I have to remove route 192.168.30.101/32 192.168.30.1 biete 09:12:29 root:/u01# netstat -rn Routing tables Destination Gateway Flags Refs Use If Exp Groups Route Tree for Protocol Family 2 (Internet): default 10.180.1.1 UG 61 35988829 en2 - - 10.180.0.0 10.180.1.81 UHSb 0 0 en2 - - => 10.180/21 10.180.1.81 U 128 328179753 en2 - - 10.180.1.81 127.0.0.1 UGHS 5 3836686 lo0 - - 10.180.7.255 10.180.1.81 UHSb 0 5 en2 - - 127/8 127.0.0.1 U 15 2476 lo0 - - 192.168.20.10 192.168.30.1 UGHS 5 16290676 en3 - - 192.168.30.0 192.168.30.121 UHSb 0 0 en3 - - => 192.168.30/24 192.168.30.121 U 2 272 en3 - - 192.168.30.101/32 192.168.30.1 UGS 0 54 en3 - - 192.168.30.121 127.0.0.1 UGHS 0 145 lo0 - - 192.168.30.255 192.168.30.121 UHSb 0 5 en3 - - But lsattr -El inet0 | grep route shows only two routes, that I need and do not want to delete (one default one static to specific host)! biete 09:13:20 root:/u01# lsattr -El inet0 | grep route route host,-hopcount,0,,,,,,-static,192.168.20.10,192.168.30.1 Route True route net,-hopcount,0,,0,10.180.1.1 Route True How can I remove route 192.168.30.101/32 192.168.30.1 (please see netstat -rn output above)!? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|