Re: deleting route from ODM

From: Bill Verzal (Bill_Verzal@BCBSIL.COM)
Date: Fri Feb 21 2003 - 13:58:39 EST


odmdelete -o CuAt -q "value=net,-hopcount,0,,0,10.15.45.1"
odmdelete -o CuAt -q "value=net,-hopcount,0,,,,0,198.254.18.1"

BV
--------------------------------------------------------------------------------------------------------
Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
billverzal@imcingular.com (Pager)
888-428-4025 (Pager)
MailStop: 27.202B

"Shawn Bierman" <BiermanS@METHODISTHEALTH.ORG>
Sent by: "IBM AIX Discussion List" <aix-l@Princeton.EDU>
02/21/2003 12:31 PM
Please respond to "IBM AIX Discussion List"

        To: aix-l@Princeton.EDU
        cc:
        Subject: deleting route from ODM

Greetings,

I need to clean up these inet0 attributes. Too many routes listed.

1. nf1n01en1: hostname nf1n01en1 Host Name
              True
2. nf1n01en1: gateway Gateway True
3. nf1n01en1: route net,-hopcount,0,,0,10.15.45.1 Route
True
4. nf1n01en1: route net,-hopcount,0,,0,198.254.18.1
5. nf1n01en1: route net,-hopcount,0,,,,0,198.254.18.1
6. nf1n01en1: route net,,0,10.15.44.254
7. nf1n01en1: bootup_option no Serial
Optical Network Interface True
8. nf1n01en1: rout6 FDDI Network Interface True
9. nf1n01en1: authm 131073,65536 Authentication Methods True

I've numbered the lines for clarity. I need to get line 3 and 5 out of
the inet0. Also, I need to add a hopcount of "1" on line 6. Right now I
do this from the command line at every boot with: route delete default
10.15.44.254 and then follow up with: route add default 10.15.44.254
-hopcount 1.

The 10.15.45.1 no longer exists on this system so I do not need it. A
netstat output looks like this:
root at nf1n01en1 in / > netstat -rn
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp
Groups

Route Tree for Protocol Family 2 (Internet):
default 198.254.18.1 UG 100 1656246 en1 - - =>
default 10.15.44.254 UG 0 0 en0 - -
10.15.43/24 10.15.43.101 U 0 0 css0 - -
10.15.43.101 127.0.0.1 UGHS 0 0 lo0 - -
10.15.44/24 10.15.44.101 U 466 307623 en0 - -
10.15.44.101 127.0.0.1 UGHS 0 33131 lo0 - -
127/8 127.0.0.1 U 66 1880724 lo0 - -
198.254.18/24 198.254.18.101 U 6 362427598 en1 - -
198.254.18.101 127.0.0.1 UGHS 103 120489553 lo0 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 16896 -

10.15.44/24 is out private SP Lan network (en0), 198.254.18/24 is the
public network (en1) and 10.15.43/24 is the SP Switch2 network.

Just having trouble with the chdev commands to make it permanent.
thanks!
-shawn

**********
The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico.
**********



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:36 EDT